Search code examples
spring-bootinfluxdbgrafana

Grafana graph not moving dynamically


I am trying to create a platform which can be used for monitoring purpose of spring boot applications. I have chosen infulxdb as a choice of TSDB and grafana for data visualization.

I have created a solution with spring boot which is able to push data in influxDB in a measurement called heap.

I have configured a datasource in Grafana as well

enter image description here

Next i have created a dashboard and added a graph panel with metrics as below

enter image description here

Problem here is everytime i have to see that graph, i have to click on right arrow next to zoomout, graph should move automatically with latest time in focus. It is staying constant, can anyone please suggest what i am missing here ?


Solution

  • Do you mean the auto-refresh option in the time picker in the top right corner? This setting fetches data every x seconds.

    enter image description here

    Here is a gif of the graphs updating every 5 seconds (the gif is 15 seconds long):

    enter image description here