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

prometheus_collector: return cumulative values in histograms #218

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

0xAX
Copy link
Member

@0xAX 0xAX commented Nov 30, 2021

we use prometheus_histograms:values/1 API to return certain
histogram from the collector. But this API returns non-cumulative
values which is wrong in a case of prometheus histograms.

This commit fixes this behaviour.

we use prometheus_histograms:values/1 API to return certain
histogram from the collector. But this API returns non-cumulative
values which is wrong in a case of prometheus histograms.

This commit fixes this behaviour.
@0xAX 0xAX requested a review from a team as a code owner November 30, 2021 14:48
@0xAX 0xAX merged commit aad4928 into master Nov 30, 2021
@0xAX 0xAX deleted the fix-histograms branch November 30, 2021 15:20
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