Add native histogram custom values by yeya24 · Pull Request #6687 · cortexproject/cortex · GitHub
Skip to content

Add native histogram custom values#6687

Closed
yeya24 wants to merge 1 commit into
cortexproject:masterfrom
yeya24:custom-values
Closed

Add native histogram custom values#6687
yeya24 wants to merge 1 commit into
cortexproject:masterfrom
yeya24:custom-values

Conversation

@yeya24

@yeya24 yeya24 commented Apr 5, 2025

Copy link
Copy Markdown
Contributor

Keeping this draft for now and will mark as ready after I finish all the tests.

What this PR does:

Add Native Histogram Custom Values (NHCB) support to Cortex.

The main change is just adding custom_values field to cortex proto. Then Cortex should be able to work out of box for NHCB as almost all NHCB handling logic is done in Prometheus.

Note that Prometheus RW v1 doesn't support NHCB yet. And there is a PR to support it. prometheus/prometheus#16354

I am able to ingest NHCB samples via RWv1 with this PR and the Prometheus PR above.

image

Which issue(s) this PR fixes:
Fixes #6094

Checklist

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

Signed-off-by: yeya24 <benye@amazon.com>
@dosubot dosubot Bot added the type/feature label Apr 5, 2025
@yeya24 yeya24 marked this pull request as draft April 5, 2025 19:41
@yeya24

yeya24 commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

@stale

stale Bot commented Jul 19, 2025

Copy link
Copy Markdown

@stale stale Bot added the stale label Jul 19, 2025
@yeya24 yeya24 closed this Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Native Histogram Custom Buckets

1 participant