-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Component(s)
connector/spanmetrics
Describe the issue you're reporting
The v0.109.0 release notes on page https://github.com/open-telemetry/opentelemetry-collector-contrib/releases talks about:
The feature flag connector.spanmetrics.legacyLatencyMetricNames
Steps to reproduce
-
Dockerfile with Otelcollector built together with spanmetrics. Final line of Dockerfile:
CMD ["/otelcol-custom", "--config=/etc/otel-collector-config.yml", "--feature-gates=connector.spanmetrics.legacyLatencyMetricNames" ] -
Build docker image
-
Run docker image
Expected result
Running instance of the otelcollector
Actual result
Error: invalid argument "connector.spanmetrics.legacyLatencyMetricNames" for "--feature-gates" flag: no such feature gate "connector.spanmetrics.legacyLatencyMetricNames". valid gates: [component.UseLocalHostAsDefaultHost connector.spanmetrics.legacyMetricNames processor.tailsamplingprocessor.metricstatcountspanssampled service.noopTracerProvider telemetry.disableHighCardinalityMetrics telemetry.useOtelWithSDKConfigurationForInternalTelemetry]
Proposed change
Since the software is already released with the feature gate connector.spanmetrics.legacyMetricNames, I propose to change the Release notes of v0.109.0 to mention the correct feature gate.