Skip to content

Commit

Permalink
Fixing #2378
Browse files Browse the repository at this point in the history
  • Loading branch information
kvnthomas98 committed Sep 23, 2024
1 parent c43e88d commit 00dc4b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ def instrument(app, host, port):
)
)
)
trace.get_tracer_provider().get_tracer(__name__)
# trace.get_tracer_provider().get_tracer(__name__)
tracer_provider = trace.get_tracer(__name__)
FlaskInstrumentor().instrument_app(app=app.app)
RequestsInstrumentor().instrument()
AioHttpClientInstrumentor().instrument()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ def instrument(app, host, port):
)
)
)
tracer_provider = trace.get_tracer_provider()
tracer_provider.get_tracer(__name__)
# tracer_provider = trace.get_tracer_provider()
# tracer_provider.get_tracer(__name__)
tracer_provider = trace.get_tracer(__name__)

FlaskInstrumentor().instrument_app(app=app.app)
RequestsInstrumentor().instrument()
AioHttpClientInstrumentor().instrument()
Expand Down

0 comments on commit 00dc4b7

Please sign in to comment.