Skip to content

Release notes of 0.109.0 has incorrect feature gate for spanmetrics #35766

@tbeemster

Description

@tbeemster

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

  1. 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" ]

  2. Build docker image

  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions