Create Grafana panel where line graph is dynamic, moving as new data comes into Prometheus

  • What Grafana version and what operating system are you using?
    Version 9.1.2 on MacOS 12.5.1

  • What are you trying to achieve?
    Want Grafana panel to update every one second, with Prometheus backend which gets updated by node exporter. We want the panel graph to move with the data.

  • How are you trying to achieve it?
    Tried changing min_refresh_interval to 1s, but panel still appears static.

  • What happened?
    Panel does not change until we refresh the dashboard screen manually.

  • What did you expect to happen?
    We expect Grafana panel to automatically move the new data on the right of the X-Y plane as the new data arrives in Prometheus, and is pulled by Grafana. We also expect old data to move off of the X-Y plane leftwards as new data arrives.

  • Can you copy/paste the configuration(s) that you are having problems with?
    ##################### Grafana Configuration Example #####################

Minimum dashboard refresh interval. When set, this will restrict users to set the refresh interval of a dashboard lower than given interval. Per default this is 5 seconds.

The interval string is a possibly signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s or 1m.

min_refresh_interval = 1s

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

No errors. The panel simply did not do what we expected.