According to Brian Brazil’s presentation:
Make sure your rate range is at least your steps for graphs.
When using graph panel with prometheus, there is an option
resolution, and I notice that this option affect the
step param value of actual query to prometheus.
For example, if resolution is 1/1 and if:
- time range is 24 hour, the step is 240 sec
- time range is 15 min, the step is 30 sec
If a query is
rate(x[2m]), that means if time range is 1 hour, half data will be lost.
So, is there any work around to specify fixed
step not a dynamic
step calculated by