Starting Grafan wtith custom.ini file Issue

Hi All,

I am new to Grafan, and need to adjust dashboard refresh time to 1s or less (i.e ideally 0.5s).
I have followed the document in building a custom.ini file, and try to use as shown below:


I would appreciate if you could help, and support.
Regards,
Hesham

Depending on which version of Grafana you are using, this may not be possible.

“Dashboard: A global minimum dashboard refresh interval is now enforced and
defaults to 5 seconds.”

Regards,

Antony.

Thanks Pooh for replying.
I am using the latest version of Grafana 7.0.3.
As I understand from the document (Configuration) I can override the defaults by creating a custom configuration file and select minimum-refresh-rate to 1s.

Was this removed from the current version?
Thanks again for your support.

@helhadad
If the custom.ini file is located under the expected location for you system then you don’t need to pass--config argument to the server.

However, the error you get is because you don’t have permissions to the C:\Program Files\GrafanaLabs\grafana\data\log\grafana.log. Can you check the permissions there?

Hi @spapagian,
Thanks for your reply, I do as you suggest and still receive the same “Access is denied” message, although I am using an administrator on my personal laptop “Windows 10”.


Is there anything I need to change on Grafana folder security permission?

Hi ,
I am trying to embed Grafana Dash board in react page. So , I made changes in custom.ini file, but getting “Admin” error while saving the changes.
Thank you.