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 upbad counter increase query result #2108
Comments
This comment has been minimized.
This comment has been minimized.
|
I suspect you have had some counter resets due to restarts. This is only of the many edge cases that |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil thanks Brian. To be clear, we're talking about restarts on the application exposing the counter and not Prometheus itself, correct? |
This comment has been minimized.
This comment has been minimized.
|
Yes |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil does prometheus expose any info to help debug? Maybe a metric for resets? |
This comment has been minimized.
This comment has been minimized.
|
There's the |
brian-brazil
added
the
kind/question
label
Oct 26, 2016
NoumanSaleem
closed this
Dec 7, 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. |
NoumanSaleem commentedOct 21, 2016
What did you do?
Ran a query to determine the increase in a counter for the last hour.
What did you expect to see?
The result to equal the
counter (now) - counter (offset 1hr)What did you see instead? Under which circumstances?
A value greater than the counter's current value.
Environment
Linux 3.13.0-93-generic x86_64
prometheus, version 1.1.1 (branch: master, revision: 24db241)
build user: root@90d3f69e2d67
build date: 20160907-09:42:10
go version: go1.6.3