This is just a merge of the truenas forum post and the truenas-influxdb-grafana, make sure to appreciate the original authors.
- prometheus server with configured service discovery
- grafana instance configured to use the prometheus as datasource
- clone the repo:
git clone git@github.com:mazay/truenas-grafana.git && cd truenas-grafana
- deploy the
graphite-exporter
, mind theloadBalancerIP
that's where TrueNAS should push metrics to, multiple instance should be able to use that but you might need to bump theresources
:kubectl apply -f truenas-graphite-exporter.yaml
- configure TrueNAS for pushing metrics to the
graphite-exporter
endpoint - import the dashboard from
TrueNAS-dashboard.json
- profitų
- The
graphite-exporter
mappings aren't great and might need some love but they work for me as is. - Not particularly happy about the
Dataset Space Free
panel but it's minor.