Grafana is stored in either sqlite or mysql on the backend. I’m looking at the grafana server and trying to automate dashboard updates (since I can’t get the variables to work the way I’d like) and I am trying to understand the relationship between all of the tables in the grafana database.
I know the dashboard table has the current version of the dashboard and I believe the dashboard_snapshot or maybe it was the dashboard_provisioning that had the previous version history in it. But there are several other dashboard related tables. What do they all do?
Though I’m going to be honest I haven’t done much with REST APIs. Am I structuring this correct? I think I’m missing something because I’m getting a malformed error from curl.
Not sure how to feed through lynx. But if I save it to a .html file and try to load it, I get the grafana message:
"If you’re seeing this Grafana has failed to load its application files
This could be caused by your reverse proxy settings.
If you host grafana under subpath make sure your grafana.ini root_path setting includes subpath
If you have a local dev build make sure you build frontend using: npm run dev, npm run watch, or npm runbuild
Sometimes restarting grafana-server can help
"
It looks like the html and css for a basic dashboard. It doesn’t appear to have any specific json pertaining to my actual dashboard but it does show some javascript such as below: