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 upSurprising (incorrect?) behaviour of "increase" function #2683
Comments
This comment has been minimized.
This comment has been minimized.
|
@cubranic That's intended behavior, see this timestamped part of @brian-brazil's CloudNativeCon talk: https://www.youtube.com/watch?v=67Ulrq6DxwA&t=15m02s |
juliusv
closed this
May 5, 2017
This comment has been minimized.
This comment has been minimized.
|
@cubranic That said, this is a frequent question, so we should probably mention that in the |
cubranic
pushed a commit
to cubranic/docs
that referenced
this issue
May 8, 2017
cubranic
referenced this issue
May 8, 2017
Merged
Note extrapolation done in the rate, delta, and increase #734
This comment has been minimized.
This comment has been minimized.
|
Thanks. For the record, the slides are at https://www.slideshare.net/brianbrazil/counting-with-prometheus-cloudnativeconkubecon-europe-2017. Relevant info starts at slide 27. |
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.
cubranic commentedMay 5, 2017
The description for the
increasefunction says that it "calculates the increase in the time series in the range vector." So if I have a counter that's only changed in integer increments, I take it to mean that the result ofincreaseshould also be an integer. But that's not what I'm seeing.I have the following, clearly integer, count samples:
But I get non-integer result of "sum(increase(...))":
(Just "increase" is the same value.)
Environment
System information:
Prometheus version: