add readme

This commit is contained in:
2026-05-21 14:38:04 +02:00
parent 48758813b9
commit 2a0b5f4ddb
+26
View File
@@ -0,0 +1,26 @@
Grafana Resources Backup
========================
Collection of scripts and main storage for all the JSON resources from
our Grafana instance.
Scripts are run on a schedule and any updates to the Grafana resourcesa
are saved locally and commited automatically.
Run Manully
-----------
Call the `./grafana-save.sh` script, this will call all other scripts
and update/add the Grafana resource JSON files. Remember you need to
set the `API_TOKEN=...` environment variable beforehand!
You can of course call the individual scripts directly.
API Token
---------
Since Grafana V11/V12 there is only way to get a API token and that is to
create a "Service Account". Within the service account there is an option
to generate token(s), this helps to better bind tokens to accounts which
themselves have specific roles (and in the backend RBAC defined permissions
and scopes).