From 50147a2031e1723302e294bcfd190e9c3c1f9a39 Mon Sep 17 00:00:00 2001 From: Raphael Philipe Mendes da Silva Date: Mon, 25 Sep 2023 10:07:36 -0700 Subject: [PATCH] [chore]: Update documentation for prometheus translator (#27081) Update documentation to align with the current state of the pkg.translator.prometheus.NormalizeName feature gate, which was changed in this PR: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/26489 --- pkg/translator/prometheus/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/translator/prometheus/README.md b/pkg/translator/prometheus/README.md index 3f50583c5247..4e88796845ff 100644 --- a/pkg/translator/prometheus/README.md +++ b/pkg/translator/prometheus/README.md @@ -12,10 +12,11 @@ > **Warning** > -> This feature can be enabled with [feature gate](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate) `pkg.translator.prometheus.NormalizeName`. It is disabled by default (alpha stage). +> This feature can be controlled with [feature gate](https://github.com/open-telemetry/opentelemetry-collector/tree/main/featuregate) `pkg.translator.prometheus.NormalizeName`. It is currently enabled by default (beta stage). > +> Example of how to disable it: > ```shell-session -> $ otelcol --config=config.yaml --feature-gates=pkg.translator.prometheus.NormalizeName +> $ otelcol --config=config.yaml --feature-gates=-pkg.translator.prometheus.NormalizeName > ``` #### List of transformations to convert OpenTelemetry metrics to Prometheus metrics