Summary
Several monitoring dashboard visualizations do not honor the dashboard time range picker. Metrics that compute a running total / sum from PromQL render the same value regardless of the selected time window.
Affected visualizations (observed so far)
- Total Cost (USD)
- Total Active Time
- Cost / Active Minute
- Total Sessions
Pattern: appears to affect essentially any stat panel doing a total sum from PromQL.
Expected
Changing the dashboard time range (e.g. Last 15m → Last 24h) should rescope these totals to the selected window.
Actual
The totals stay fixed and do not respond to the time range selection.
Likely cause
PromQL for these panels is probably summing over the full series (e.g. an unbounded sum() / sum_over_time() without a $__range window, or a counter without the time filter applied), so the panel ignores the dashboard $__range / $__from/$__to variables.
Next steps
- Audit the PromQL of the affected stat panels.
- Ensure total-sum queries are scoped to the dashboard range (e.g.
sum_over_time(metric[$__range]) or equivalent), and that the panel uses the dashboard time variables.
Summary
Several monitoring dashboard visualizations do not honor the dashboard time range picker. Metrics that compute a running total / sum from PromQL render the same value regardless of the selected time window.
Affected visualizations (observed so far)
Pattern: appears to affect essentially any stat panel doing a total sum from PromQL.
Expected
Changing the dashboard time range (e.g. Last 15m → Last 24h) should rescope these totals to the selected window.
Actual
The totals stay fixed and do not respond to the time range selection.
Likely cause
PromQL for these panels is probably summing over the full series (e.g. an unbounded
sum()/sum_over_time()without a$__rangewindow, or a counter without the time filter applied), so the panel ignores the dashboard$__range/$__from/$__tovariables.Next steps
sum_over_time(metric[$__range])or equivalent), and that the panel uses the dashboard time variables.