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

fix: initialize histogram buckets to 0 to avoid them being downsampled #4368

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

javiermolinar
Copy link
Contributor

@javiermolinar javiermolinar commented Nov 22, 2024

What this PR does:

The same fix we did for counters here:
#4236

seems to be needed for histogram buckets, so for every bucket, a first 0 series is added back to the previous minute

Checklist

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

@mdisibio mdisibio self-assigned this Nov 22, 2024
Copy link
Contributor

@mdisibio mdisibio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes and tests LGTM

@javiermolinar javiermolinar merged commit 069bd1b into grafana:main Nov 22, 2024
16 checks passed
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