Skip to content

OTLP handler: enable metric name normalization #6136

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

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Aug 4, 2024

What this PR does:

This PR makes the OTLP handler consistent on metric name.
AddMetricSuffixes is set to true in Prometheus OTLP handler but we don't apply the same. https://github.com/prometheus/prometheus/blob/main/storage/remote/write_handler.go#L506

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Ben Ye <[email protected]>
@yeya24 yeya24 merged commit b2ce96c into cortexproject:master Aug 5, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants