diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec89309 --- /dev/null +++ b/README.md @@ -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).