Skip to content

Conversation

krajorama
Copy link
Member

@krajorama krajorama commented Nov 28, 2023

Cherry pick e399395 #13005

  • Document le and quantile label transition due to native histograms

Fixes: #12984

For full explanation see the related issue. The le and quantile labels are formatted as float with trailing .0 for whole number values when native histograms is enabled, e.g. 10.0. This changes the resulting series in Prometheus if previously we scraped the whole number itself, e.g. 10 over the text format.

krajorama and others added 2 commits November 28, 2023 13:00
* Document le and quantile label transition due to native histograms

Fixes: prometheus#12984

For full explanation see the related issue. The le and quantile labels
are formatted as float with trailing .0 for whole number values when
native histograms is enabled, e.g. 10.0. This changes the resulting series
in Prometheus if previously we scraped the whole number itself, e.g. 10
over the text format.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
Used to have a different signature.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@beorn7
Copy link
Member

beorn7 commented Nov 28, 2023

To clarify: This has been cherry-picked from #13005 . It would be good to have this documentation update in the current release as the lack of it is causing confusion. It's likely not enough to justify a bugfix release on its own, but let's merge it into the release branch so the next bugfix release that happens will have it.

@beorn7 beorn7 requested a review from LeviHarrison November 28, 2023 12:32
@beorn7
Copy link
Member

beorn7 commented Nov 28, 2023

@LeviHarrison for final call.

Copy link
Contributor

@LeviHarrison LeviHarrison left a comment

Choose a reason for hiding this comment

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

Perfectly fine by me if you want to leave this is the release branch. However, I just realized that the final release changes still haven't been merged from the release branch to main yet, so once #13227 goes through then you're good to merge here.

@LeviHarrison
Copy link
Contributor

LeviHarrison commented Dec 1, 2023

Alright #13227 is merged so this is good to go

@beorn7 beorn7 merged commit 0bd4e73 into prometheus:release-2.48 Dec 4, 2023
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.

3 participants