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

Enable native histogram for Cortex req duration metric #6056

Conversation

yeya24
Copy link
Contributor

@yeya24 yeya24 commented Jul 2, 2024

What this PR does:

This PR changes Cortex server to always enable native histogram instrumentation for cortex_request_duration_seconds metric.

This is a change for Cortex users if their monitoring Prometheus enables native-histogram feature. cortex_request_duration_seconds_bucket, cortex_request_duration_seconds_sum and cortex_request_duration_seconds_count metric will be converted into native histogram cortex_request_duration_seconds.

If native-histogram feature is not enabled then there is no user facing changes.

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]

…tric

Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ben Ye <benye@amazon.com>
@yeya24 yeya24 merged commit 4a82d36 into cortexproject:master Jul 3, 2024
16 checks passed
@yeya24 yeya24 deleted the enable-native-histogram-cortex_request_duration_seconds-metric branch July 3, 2024 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants