How Grafana's Sqlite Database Sees A New Dashboard and Panel

submited by
Style Pass
2024-10-07 23:00:18

After learning a little about sqlite in the last part of this project, it's time to get on with understanding grafana's own sqlite database.

To start I should use apk to add sqlite to the grafana image so I can query the database there, then snapshot the state of the container to a new image so I capture the progress.

The project goal is to start responding to changes in the dashboards. Let's figure out what changes in the database as we mutate dashboards.

In the last article we figured out that triggers can work for the project, so I want to see if there are any existing triggers:

What's in the dashboard tables in this new instance of Grafana? The quickest way I can think of to find out is a little shell scripting.

Leave a Comment