Hi,
First thank you for this tool.
I can’t update the timepicker with values under 5s, even though I changed the value of min_refresh_interval in the grafana.ini file to 300ms.
The new configuration seems to be correctly achivied since I can see in the settings the prescribed value of 300 ms.
My docker-compose file is the following:
If somebody could tell me what am I doing wrong, I would then be very happy^^?
Ned
The mistake was in the grafana.ini, it must be:
[dashboards]
min_refresh_interval = 300ms
and not:
min_refresh_interval = 300ms
So don’t forget to place the option into the dedicated section [dashboards].
Ned
Hello @nedelegbigi
I still got no effect after modify grafana.ini and restart garafana-server?
Did you solve it?
Edit: get it done by removed “;” infront of min_refresh_interval.
Hi @ngtrthanh,
Welcome to the community support forums !!
How exactly do you restart your docker container?
Hi @usman.ahmad
I install grafana directly, so
sudo systemctl restart grafana-server
If I run docker, it should be
docker-compose down
docker-compose up -d
Hi @ngtrthanh,
For docker-compose, you can look at these 2 reference links as they explain well how to use the configuration file.
https://localhost:3000/t/how-to-use-custom-ini-file-for-grafana-with-docker/45492
and
Once you have done it and going to restart your container then use this extra parameter in your command i.e.
docker-compose up -d --force-recreate
Now for the locally installed grafana configuration, the default location is usually /etc/grafana/grafana.ini
and once you change it (remove the “;” as it is a comment).
Then restart the service and then logout from your account and login back as an admin account.
If the changes still do not apply then clean your browser cache and cookies and then try again.
I hope this helps.