aboutsummaryrefslogtreecommitdiffstats
path: root/dashboards/gen_zfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'dashboards/gen_zfs.py')
-rw-r--r--dashboards/gen_zfs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/dashboards/gen_zfs.py b/dashboards/gen_zfs.py
index 0057506..e00d03f 100644
--- a/dashboards/gen_zfs.py
+++ b/dashboards/gen_zfs.py
@@ -1,9 +1,10 @@
#!/usr/bin/env python3
"""Generate the "ZFS Pools" Grafana dashboard.
-Run this and commit the result:
+modules/dashboards.nix runs this at build time; the JSON is not committed. To see what
+it produces:
- python3 dashboards/gen_zfs.py > dashboards/zfs-pools.json
+ python3 dashboards/gen_zfs.py | jq .
Hand-writing ~2000 lines of Grafana panel JSON invites subtle inconsistencies, so
panels are built from a handful of helpers instead -- every timeseries goes through one