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

Verify metric OTLP exporters compliance with metric specification #4511

Closed
MrAlias opened this issue Sep 14, 2023 · 2 comments
Closed

Verify metric OTLP exporters compliance with metric specification #4511

MrAlias opened this issue Sep 14, 2023 · 2 comments
Assignees
Labels
pkg:exporter:otlp Related to the OTLP exporter package

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Sep 14, 2023

Specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.25.0/specification/metrics/sdk_exporters/otlp.md

Create issues for anything not compliant.

@MrAlias MrAlias changed the title Verify compliance with metric specification Verify metric OTLP exporters compliance with metric specification Sep 14, 2023
@MrAlias MrAlias added the pkg:exporter:otlp Related to the OTLP exporter package label Sep 14, 2023
@MadVikingGod
Copy link
Contributor

MadVikingGod commented Sep 27, 2023

General

  • Non Normative OTLP Metrics Exporter is a Push Metric Exporter which sends metrics via the OpenTelemetry Protocol.
  • OTLP Metrics Exporter MUST support both Cumulative and Delta Aggregation Temporality.
  • The exporter MUST provide configuration according to the OpenTelemetry Protocol Exporter specification. Note This is covered by Verify metric OTLP exporters compliance with the configuration specification #4512.
  • 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:
    • The exporter MUST be paired with a periodic exporting MetricReader.
    • The exporter MUST configure the default aggregation temporality on the basis of instrument kind using the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE variable as described below.
    • The exporter MUST configure the default aggregation on the basis of instrument kind using the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION variable as described below if it is implemented.

Additional Configuration

  • env vars:
    • OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
      • Default cumulative
      • Allowed values:
        • Cumulative
        • Delta
        • LowMemory
    • OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION
      • Default explicit_bucket_histogram
      • Allowed values:
        • explicit_bucket_histogram
        • base2_exponential_bucket_histogram

@pellared pellared self-assigned this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:exporter:otlp Related to the OTLP exporter package
Projects
No open projects
Development

No branches or pull requests

3 participants