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 the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable #3343

Open
pichlermarc opened this issue Oct 17, 2022 · 1 comment
Labels
blocked:specification Waiting on clarification of the OpenTelemetry specification before progress can be made enhancement New feature or request

Comments

@pichlermarc
Copy link
Member

Problem Statement

Environment variables like OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_HEADERS are already supported. However, currently, the temporality preference cannot be configured via environment variables.

Proposed Solution

Support the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable, so that it can be configured in the same manner as the endpoint and headers. This might only be feasible to implement once #3260 is merged, as it then becomes easier to consider this a part of the exporter configuration.

Additional Context

Releveant specification

@pichlermarc pichlermarc added the enhancement New feature or request label Oct 17, 2022
@MrAlias
Copy link
Contributor

MrAlias commented Oct 17, 2022

If a language provides a mechanism to automatically configure a MetricReader to pair with the associated Exporter (e.g., using the OTEL_METRICS_EXPORTER environment variable), then by default:

This project currently does not support that, nor are their plans to support it due to the inability to limit dependencies. It may be something the autoexport package could include (see open-telemetry/opentelemetry-go-contrib#2753), but that is a ways from doing so.

There is also talk that this functionality extends beyond the scope of the exporter as well: open-telemetry/opentelemetry-specification#2810 and open-telemetry/opentelemetry-specification#2854. These will all need to be resolved before it can be included here or in the contrib repository.

@MrAlias MrAlias added the blocked:specification Waiting on clarification of the OpenTelemetry specification before progress can be made label Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked:specification Waiting on clarification of the OpenTelemetry specification before progress can be made enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants