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

Move BaseConfigurator to SDK #2188

Merged
merged 2 commits into from
Oct 14, 2021

Conversation

owais
Copy link
Contributor

@owais owais commented Oct 9, 2021

Description

This allows the SDK to ditch dependency on opentelemetry-instrumentation. Distro authors will still be able to use BaseConfigurator class by importing it from the SDK. As part of config refactor, we could end up removing the class completely or re-work/move it to another package.

Fixes #2184

Depends on #2187 so please review after that is merged

Type of change

Please delete options that are not relevant.

  • Internal enhancement/refactor
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Existing tests

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

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

@owais owais requested a review from a team October 9, 2021 00:21
@owais owais added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Oct 9, 2021
@owais owais force-pushed the remove-private-configurator-from-sdk branch 5 times, most recently from 6e6ce67 to 57033f5 Compare October 9, 2021 00:42
@owais owais changed the title Remove private _configuration module from sdk Move BaseConfigurator to SDK Oct 9, 2021
@ocelotl ocelotl marked this pull request as draft October 12, 2021 14:44
@ocelotl
Copy link
Contributor

ocelotl commented Oct 12, 2021

Converting to draft to avoid any accidental merge 👍

This will continue to be part of the internal API but live in the API
context package.
This allows SDK to not depend on instrumentation package anymore.
@owais owais force-pushed the remove-private-configurator-from-sdk branch from 57033f5 to 2253aea Compare October 13, 2021 23:53
@owais owais marked this pull request as ready for review October 14, 2021 00:00
@owais owais enabled auto-merge (squash) October 14, 2021 00:15
@owais owais merged commit ade44b1 into open-telemetry:main Oct 14, 2021
@owais owais deleted the remove-private-configurator-from-sdk branch October 14, 2021 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove SDK's dependency on opentelemetry-instrumentation
3 participants