add `schema_url` to `TracerProvider.get_tracer` by JamesJHPark · Pull Request #2154 · open-telemetry/opentelemetry-python

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