Update README
This commit is contained in:
19
README.md
19
README.md
@@ -10,21 +10,10 @@ This repository stores the JSON dashboards that TrueNAS Grafana loads via provis
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Modify dashboards in Grafana and export via the API or provisioning scripts.
|
||||
2. Save updates into this directory structure.
|
||||
1. Already set provisioning in Grafana dashboard, it will auto detect change and pull
|
||||
2. Modify dashboards file and then Grafana will load automatically
|
||||
3. Currently I adopt local storage repo, Grafana can also use remote git repo.
|
||||
3. Commit and push changes so Grafana provisioning always matches Git.
|
||||
|
||||
## Sync commands
|
||||
|
||||
```
|
||||
cd /mnt/RAID10/Apps/obs/grafana/provisioning
|
||||
# Pull latest changes from remote
|
||||
git pull --rebase
|
||||
# Stage and commit local updates
|
||||
git add .
|
||||
git commit -m "Update dashboards"
|
||||
# Push to Gitea remote
|
||||
git push
|
||||
```
|
||||
|
||||
Provisioning is enabled via `/usr/share/grafana/conf/custom.ini`, which is bind-mounted from `/mnt/RAID10/Apps/obs/grafana/conf/custom.ini`.
|
||||
PS: Provisioning is enabled via environment 'GF_FEATURE_TOGGLES_ENABLE=provisioning'
|
||||
|
||||
Reference in New Issue
Block a user