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

Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT #3731

Closed
pellared opened this issue Feb 14, 2023 · 0 comments · Fixed by #3763
Closed

Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT #3731

pellared opened this issue Feb 14, 2023 · 0 comments · Fixed by #3763
Assignees
Labels
area:metrics Part of OpenTelemetry Metrics enhancement New feature or request pkg:SDK Related to an SDK package

Comments

@pellared
Copy link
Member

pellared commented Feb 14, 2023

Add support for the stable (according to the OTel specification) SDK environment variables: OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT.

Reference: https:/open-telemetry/opentelemetry-specification/blob/v1.18.0/specification/sdk-environment-variables.md#periodic-exporting-metricreader

For consistency, the functional options should have preference over the env vars.

@pellared pellared added enhancement New feature or request pkg:SDK Related to an SDK package area:metrics Part of OpenTelemetry Metrics labels Feb 14, 2023
@pellared pellared self-assigned this Feb 14, 2023
@pellared pellared changed the title Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT environment variables Support OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics enhancement New feature or request pkg:SDK Related to an SDK package
Projects
Development

Successfully merging a pull request may close this issue.

1 participant