Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAggregated histogram_quantile produces incorrect, unstable results #2598
Comments
This comment has been minimized.
This comment has been minimized.
|
This is #1893. |
brian-brazil
closed this
Apr 7, 2017
This comment has been minimized.
This comment has been minimized.
|
lmb
referenced this issue
Apr 11, 2017
Open
Make rule evaluation and federation consistent in time #1893
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
lock
bot
locked and limited conversation to collaborators
Mar 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
lmb commentedApr 7, 2017
What did you do?
Aggregated a set of histograms, using
What did you expect to see?
Realistic, constant results.
What did you see instead? Under which circumstances?
Every evaluation of the promql generates a different result. There are spikes which go to the max bucket, even though the underlying data shows no such behaviour.
I've tried changing the resolution, etc. parameters, but that doesn't seem to make a difference. Also happens at q = 0.99, but seems more pronounced at q = 1.
Some screenshots for demonstration:
Unaggregated:

Aggregated, first execution:

Aggregated, second execution:

Environment
Prometheus version:
Version 1.5.2
Revision 16a512fe91926e2e3d0b1d2da6e7e16ceeab5f02
client_golang version:
Prometheus configuration file:
Scrapes happen every 60s.