Hello everyone,
I’ve noticed that grafana.db has consumed 15GB of disk space on my VM. I’m not sure what the root cause of the issue is. I found that I have ~24000 entries in version history for one of my dashboards. A new version is recorded every 3 seconds it seems.
I’m using version 5.2.0 (commit: ad4d717)
I’m provisioning dashboards from /var/lib/grafana/dashboards/
Could someone point me in the right direction?
Probably provisioning scans your directory every updateIntervalSeconds seconds + detects that dashboard must be updated for some reason (modification time, dashboard checksum, …). Maybe you have created a dashboard in the future (or in the different timezone), maybe your FS doesn’t support modification time,…
See saveDashboard function for more details: https://github.com/grafana/grafana/blob/master/pkg/services/provisioning/dashboards/file_reader.go#L164
1 Like
Thanks @jangaraj you were correct. I had two identical dashboards in my provisioning folder with seperate file names. The only difference between the two .json’s was the version number. Grafana must have updated the dashboard every time it scanned the directory.