Skip to content

Commit

Permalink
[chore]: Update documentation for prometheus translator (#27081)
Browse files Browse the repository at this point in the history
Update documentation to align with the current state of
the pkg.translator.prometheus.NormalizeName feature gate, which was
changed in this PR:
#26489
  • Loading branch information
rapphil committed Sep 25, 2023
1 parent 9898c2a commit 50147a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/translator/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50147a2

Please sign in to comment.