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 upGaps with `histogram_quantile` if no count change #2662
Comments
This comment has been minimized.
This comment has been minimized.
|
When all rate buckets are 0, |
This comment has been minimized.
This comment has been minimized.
|
@juliusv You're right. It actually makes sense to have a gap if there are no requests. We just were confused as we are trained/familiar that a gap in Prometheus/Grafana meant a downtime (until we've got that little requests). But for downtime there's the How can I check the Ajax return data? |
This comment has been minimized.
This comment has been minimized.
In Chrome: open Chrome inspector -> "Network" tab -> (refresh a graph) -> click on one of the |
This comment has been minimized.
This comment has been minimized.
|
Cool, closing here then. |
juliusv
closed this
May 8, 2017
This comment has been minimized.
This comment has been minimized.
|
They are |
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. |
Dominik-K commentedApr 27, 2017
What did you do?
Our service gets only sometimes some requests via gRPC. To check the request counts, I run this query:
histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket[5m])) by (le))What did you expect to see?
A solid line at 0 were there are gaps now.
What did you see instead? Under which circumstances?

Gaps between the request. There are no 0 values pointing with the mouse over it.
I checked that the service was scraped and the counter
grpc_server_handling_seconds_bucketis in the metrics (manually "scraped"). The service was up the whole time.I got the gaps at the same timeframes by doing a division by zero:

Environment
System information:
Official latest
prom/prometheusDocker image.Prometheus version:
prometheus, version 1.6.1 (branch: master, revision: 4666df5)