Skip to content

Commit

Permalink
adding opentelemetry-api to requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
kvnthomas98 committed Jul 26, 2024
1 parent eac0628 commit 63c47a5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def receive_sigpipe(signal_number, frame):
eprint("Starting flask application in the parent process")
setproctitle.setproctitle(setproctitle.getproctitle() +
f" [port={tcp_port}]")
# if rtx_config.telemetry_enabled:
# instrument(app, rtx_config.jaeger_endpoint, rtx_config.jaeger_port)
if rtx_config.telemetry_enabled:
instrument(app, rtx_config.jaeger_endpoint, rtx_config.jaeger_port)
app.run(port=local_config['port'], threaded=True)
else:
eprint("[__main__]: fork() unsuccessful")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def receive_sigpipe(signal_number, frame):
eprint("Starting flask application in the parent process")
setproctitle.setproctitle(setproctitle.getproctitle() +
f" [port={tcp_port}]")
# if rtx_config.telemetry_enabled:
# instrument(app, rtx_config.jaeger_endpoint, rtx_config.jaeger_port)
if rtx_config.telemetry_enabled:
instrument(app, rtx_config.jaeger_endpoint, rtx_config.jaeger_port)
app.run(port=local_config['port'], threaded=True)
else:
eprint("[__main__]: fork() unsuccessful")
Expand Down
14 changes: 11 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,18 @@ pygit2==1.10.0
tabulate==0.9.0
urllib3==1.26.18
setproctitle==1.3.3
opentelemetry-api==1.17.0
opentelemetry-exporter-jaeger==1.17.0
opentelemetry-exporter-jaeger-proto-grpc==1.17.0
opentelemetry-exporter-jaeger-thrift==1.17.0
opentelemetry-exporter-otlp-proto-http==1.17.0
opentelemetry-sdk==1.17.0
opentelemetry-instrumentation==0.38b0
opentelemetry-instrumentation-aiohttp-client==0.38b0
opentelemetry-instrumentation-flask==0.38b0
opentelemetry-exporter-jaeger==1.17.0
opentelemetry-instrumentation-requests==0.38b0
opentelemetry-instrumentation-aiohttp-client==0.38b0
opentelemetry-instrumentation-wsgi==0.38b0
opentelemetry-proto==1.17.0
opentelemetry-sdk==1.17.0
opentelemetry-semantic-conventions==0.38b0
opentelemetry-util-http==0.38b0

0 comments on commit 63c47a5

Please sign in to comment.