Skip to content
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

add schema_url to TracerProvider.get_tracer #2154

Merged

Conversation

JamesJHPark
Copy link
Contributor

@JamesJHPark JamesJHPark commented Sep 24, 2021

Description

The specification of Tracing API in 1.4.0 added an optional parameter schema_url to the method, TracerProvider.get_tracer. This requires addition of schema_url field in InstrumentationInfo class and updates to API, SDK packages. Tests have been modified to implement and reflect the addition of the optional parameter.

Fixes issue #1971

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Tests have been implemented with tox tests

  • tox tests

Does This PR Require a Contrib Repo Change?

Answer the following question based on these examples of changes that would require a Contrib Repo Change:

  • The OTel specification has changed which prompted this PR to update the method interfaces of opentelemetry-api/ or opentelemetry-sdk/

  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@JamesJHPark JamesJHPark requested a review from a team September 24, 2021 22:37
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 address my comments, just one question left

opentelemetry-api/src/opentelemetry/trace/__init__.py Outdated Show resolved Hide resolved
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 addressing my comments.

@codeboten
Copy link
Contributor

@JamesJHPark please fix lint failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants