Skip to content

Prototype passing a Customizer Class to the Configurator #4469

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DylanRussell
Copy link
Contributor

Add a generic Customizer class with methods for initializing the exporters and the resource, it could be extended to customize all the initialization done by the configurator.

The lets vendors customize auto instrumentation in a way that isn't possible right now with just environment variables.

GoogleCloudPlatform/opentelemetry-operations-python#388 -- this is an example of what an implementation of the Customizer class by a vendor might look like.

See open-telemetry/opentelemetry-python-contrib#3353 for the change that'd be needed for contrib

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.

1 participant