Counter increase from start of day

I have a prometheus counter and I want to show the increase from the start of day (not rolling 24h) and I just don’t see how to do that.

Any suggestions how this can be done?

Really? Nothing?

It feels like a “per day” is a very common range.

I cannot answer specifically regarding prometheus, but I see no reason it
shouldn’t work the same as many other data sources.

You want “From = now/d” and “To = now/d”

See https://grafana.com/docs/grafana/latest/dashboards/time-range-controls for
details.

Antony.

2 Likes

Thanks, Antony! I wasn’t aware of ranges support this. Nice.

This topic was automatically closed after 365 days. New replies are no longer allowed.