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

Make the configuration object serve configuration outside the API #515

Closed
ocelotl opened this issue Mar 19, 2020 · 0 comments · Fixed by #563
Closed

Make the configuration object serve configuration outside the API #515

ocelotl opened this issue Mar 19, 2020 · 0 comments · Fixed by #563
Assignees
Labels
enhancement New feature or request

Comments

@ocelotl
Copy link
Contributor

ocelotl commented Mar 19, 2020

The configuration object only cares now for OPENTELEMETRY_PYTHON_TRACER_PROVIDER and OPENTELEMETRY_PYTHON_METER_PROVIDER. Nevertheless, some software components that integrate with this project (like the ones in the ext folder or their corresponding auto instrumentation components) may also need to access configuration.

One simple way to do this is to make the configuration object look for any OPENTELEMETRY_PYTHON-prefixed environment variable and add its suffix as an attribute. I am not implementing this right now because more needs may show up soon since more development is being done in auto instrumentation right now.

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

Successfully merging a pull request may close this issue.

1 participant