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 upIf throttled, don't `rate`, etc. with 0 values #2793
Comments
This comment has been minimized.
This comment has been minimized.
|
Nothing is ingested when throttling. You're not showing us everything here. Is there a single time series which shows the supposed problem? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Can you share the raw data for that counter? |
This comment has been minimized.
This comment has been minimized.
|
Sure. Here are the raw values, retrieved with the |
This comment has been minimized.
This comment has been minimized.
|
Can you get the values using the |
This comment has been minimized.
This comment has been minimized.
|
Where's the difference? I just checked the first and last value with the
|
This comment has been minimized.
This comment has been minimized.
|
query_range does not return the raw data. |
This comment has been minimized.
This comment has been minimized.
|
I'm presuming this is a misunderstanding of how rate() works. If you've evidence that rate() is broken, please share the raw data. |
brian-brazil
closed this
Jul 14, 2017
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 commentedJun 1, 2017
We've run into the "throttling mode" ° today. It seems that Prometheus (1.6.3) uses zero values for the throttled time and calculates wrong
rates resulting in false alerts afterwards.A threshold-underrun alert was thrown 60 minutes later because we used a
rate(...[60m])function:sum(rate(METRIC))with different rate intervals.What did you expect to see?
rate(...[60m])graph (as seen before 16:27 and after 17:45).=> No false alerts like threshold was underrun.
I propose that Prometheus skips the throttled timeframe. I.e. uses the last value before throttling for
ratescalculated after it left "rushed mode", e.g. has real data values again.° "Storage needs throttling. Scrapes and rule evaluations will be skipped." (urgencyScore=1)