-
Notifications
You must be signed in to change notification settings - Fork 711
Docs / Examples Update for get_tracer_provider()
#503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
`get_tracer_provider()` rather than `tracer_provider()`
`.get_tracer_provider()` instead of `.tracer_provider()`
`.get_tracer_provider()` instead of `.tracer_provider()`
Would you mind fixing this
|
`.get_meter_provider()` rather than `.meter_provider()`
Codecov Report
@@ Coverage Diff @@
## master #503 +/- ##
=======================================
Coverage 89.56% 89.56%
=======================================
Files 43 43
Lines 2213 2213
Branches 249 249
=======================================
Hits 1982 1982
Misses 159 159
Partials 72 72
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this on @disfluxly! There's a few more references that need updating:
from opentelemetry.trace import tracer_provider |
from opentelemetry.trace import tracer_provider |
trace_integration(tracer_provider()) |
trace_integration(tracer_provider()) |
@codeboten I updated the missing examples, @lzchen @hectorhdzg would you mind guys having a look at the changes on the DB integrations? |
@mauriciovasquezbernal - Thanks! Things got a little hectic over here so didn't see this until now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
* feat(plugin): implement redis plugin * fix: circle redis testing * fix: set span error status * fix: run the redis service * fix: linting * feat: add redis error handling statuses * fix: pr comments * fix: redis linting * refactor: move patches to utils for clarity * fix: linting
Update to the zipkin/jaeger ext READMEs and also a small doc update.
0.5.0 changed
.tracer_provider()
to.get_tracer_provider()
opentelemetry-python/opentelemetry-api/src/opentelemetry/trace/__init__.py
Line 669 in f52468b