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: Always return unknown hint for first sample in non-gauge histogram chunk #764

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

fionaliao
Copy link
Contributor

@fionaliao fionaliao commented Nov 25, 2024

prometheus/prometheus#15343

This is needed to ensure correctness when querying native histograms when merging chunks from different sources. This is especially important for out-of-order native histograms as you're more likely to have to merge chunks with overlapping timestamps.

I had to fix a couple of tests specific to mimir-prometheus - updated CounterReset headers to UnknownCounterReset


fionaliao and others added 2 commits November 25, 2024 09:50
…unk (#15343)

Always return unknown hint for first sample in non-gauge histogram chunk

---------

Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
Co-authored-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@fionaliao fionaliao merged commit 978684a into main Nov 25, 2024
9 checks passed
@fionaliao fionaliao deleted the fl/ucr-fix branch November 25, 2024 12:05
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.

2 participants