Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick disabling of pkg.translator.prometheus.NormalizeName FG #3257

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

dmitryax
Copy link
Contributor

@dmitryax dmitryax commented Jun 12, 2023

Cherry-pick open-telemetry/opentelemetry-collector-contrib#23229

Set pkg.translator.prometheus.NormalizeName feature gate back to Alpha state since it was enabled prematurely. Metrics coming from Prometheus receiver will not be normalized by default, specifically _total suffix will not be removed from metric names. To maintain the current behavior (drop the _total suffix), you can enable the feature gate using the --feature-gates=pkg.translator.prometheus.NormalizeName command argument. However, note that the translation in the prometheus receiver is a subject to possible future changes. See issue #23208 for more details.

@dmitryax dmitryax requested review from a team as code owners June 12, 2023 19:12
@dmitryax dmitryax changed the title Cherry pick disabling of pkg.translator.prometheus.NormalizeName FG Cherry-pick disabling of pkg.translator.prometheus.NormalizeName FG Jun 12, 2023
Set `pkg.translator.prometheus.NormalizeName` feature gate back to Alpha state since it was enabled prematurely. Metrics coming from Prometheus receiver will not be normalized by default, specifically `_total` suffix will not be removed from metric names. To maintain the current behavior (drop the `_total` suffix), you can enable the feature gate using the `--feature-gates=pkg.translator.prometheus.NormalizeName` command argument. However, note that the translation in the prometheus receiver is a subject to possible future changes.  See [issue #23208](open-telemetry/opentelemetry-collector-contrib#23208) for more details.
@dmitryax dmitryax force-pushed the cherry-pick-prom-fg branch from 4ab24ea to f7f6d22 Compare June 13, 2023 02:16
@dmitryax dmitryax merged commit cbe3d9b into signalfx:main Jun 13, 2023
@dmitryax dmitryax deleted the cherry-pick-prom-fg branch June 13, 2023 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants