Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 7 commits into from
Mar 28, 2020

Conversation

disfluxly
Copy link
Contributor

Update to the zipkin/jaeger ext READMEs and also a small doc update.

0.5.0 changed .tracer_provider() to .get_tracer_provider()

def get_tracer_provider() -> TracerProvider:

`get_tracer_provider()` rather than `tracer_provider()`
`.get_tracer_provider()` instead of `.tracer_provider()`
`.get_tracer_provider()` instead of `.tracer_provider()`
@disfluxly disfluxly requested a review from a team March 17, 2020 17:43
@mauriciovasquezbernal
Copy link
Member

Would you mind fixing this

opentelemetry.metrics.meter_provider().get_meter
as well?

`.get_meter_provider()` rather than `.meter_provider()`
@codecov-io
Copy link

codecov-io commented Mar 17, 2020

Codecov Report

Merging #503 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           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           
Impacted Files Coverage Δ
...ts/src/opentelemetry/ext/http_requests/__init__.py 89.47% <ø> (ø)
...xt-jaeger/src/opentelemetry/ext/jaeger/__init__.py 87.57% <ø> (ø)
...xt-zipkin/src/opentelemetry/ext/zipkin/__init__.py 84.41% <ø> (ø)
...elemetry-api/src/opentelemetry/metrics/__init__.py 93.50% <ø> (ø)
...ntelemetry-api/src/opentelemetry/trace/__init__.py 83.12% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51cfe76...db8886a. Read the comment docs.

Copy link
Member

@mauriciovasquezbernal mauriciovasquezbernal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Copy link
Contributor

@codeboten codeboten left a 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())

@mauriciovasquezbernal
Copy link
Member

@codeboten I updated the missing examples, @lzchen @hectorhdzg would you mind guys having a look at the changes on the DB integrations?

@disfluxly
Copy link
Contributor Author

@mauriciovasquezbernal - Thanks! Things got a little hectic over here so didn't see this until now :)

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@codeboten codeboten added the PR:please merge This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.) label Mar 24, 2020
@toumorokoshi toumorokoshi merged commit 6afcea9 into open-telemetry:master Mar 28, 2020
srikanthccv pushed a commit to srikanthccv/opentelemetry-python that referenced this pull request Nov 1, 2020
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:please merge This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants