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 upI am missing about 10% in the _count of a prometheus.SummaryVec #1362
Comments
This comment has been minimized.
This comment has been minimized.
|
We expect some loss due to application crashes and the like, but that shouldn't happen when everything is healthy. Can you confirm the |
This comment has been minimized.
This comment has been minimized.
|
As @brian-brazil said, please confirm that the The client-side metric objects are supposed to count losslessly. So this would either be a bug in the client library or in your code (like concurrent registration of multiple summaries ore something – the way you register would allow multiple summaries, it should in principle work with a simple |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 @brian-bazil thank you for your help sorry for the noise |
markfink
closed this
Feb 2, 2016
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 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. |
markfink commentedFeb 1, 2016
thank you for prometheus, I love it!
I am very new to prometheus so probably I am doing something wrong but I am consistently loosing 10% counts in the SummaryVec I report with "github.com/prometheus/client_golang/prometheus".
a summary from my test (32.826 events over a duration of 180 sec):
Querying the prometheus graph tool I get the following _counts: 16411, 8335, 5560 (30306). This is about 10% loss in event counts. I have a logfile of the events which shows the 32.826 events. I am not exactly sure about how prometheus handles the metrics. So is a loss in count something to be expected?
As I said most likely I am doing something wrong. Any tips on how to investigate this further? Has the prometheus reporter a logger or something?
The relevant part of my code to register the SummaryVec:
I am using your docker container to run Prometheus - some build info: