opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

temporality_preference is ignore when using v0.2.0 of the configuration

Open codeboten opened this issue 5 months ago • 2 comments

Component(s)

service

What happened?

The configuration temporality_preference is ignored if the service::telemetry::metrics configuration is parsed by the v0.2.0 schema. This is because the fix to support temporality preference only exists in the v0.3.0 package

Collector version

main

OpenTelemetry Collector configuration

          - periodic:
              exporter:
                otlp:
                  endpoint: https://${MY_BACKEND}
                  headers:
                    key: value
                  protocol: http/protobuf
                  temporality_preference: delta
              interval: 10000
              timeout: 5000

codeboten avatar May 22 '25 20:05 codeboten