This is Grafana 5.0 dashboards and datasource provisioning example
- In Grafana 5.0 anounced datasources and dashboards provisioning
- In this example they setup in
grafana/datasources/prometheus.yml
andgrafana/dashboards/prometheus_ds.yml
- You need to put your dashboars to
grafana/dashboards
- Replace in them
DS_PROMETHEUS
with your Prometheus datasource name, e.g.sed -i 's/${DS_PROMETHEUS}/Prometheus/g' *.json
P.S. It seems that in 5.1 or 5.2 will be added renaming of datasource name. Issue on GH, so the last step could be skipped