1/1 resolution, 15s scrape_interval, and empty graphs when time range is 3h or less

8.4.3 on Linux

Hello, I have searched docs and feel I am missing some fundamental understand. I have very basic simple prometheus and grafana and for rate() queries, e.g. rate(haproxy_frontend_connections_total{}[$__interval]) . If I select time range of 3h or less, I get no data unless I set my resolution to ½ instead of 1/1. I don’t understand why. Why?

How can I get 15s granularity for smoother, higher resolution graphs? My prometheus scrape_interval is 15s.

Of course, I find the answer after asking the question.

use $__rate_interval in grafana instead of $__interval.

1 Like