Files
poseidon/deploy/grafana-dashboard/Readme.md
Maximilian Paß 44aa5d73a2 Grafana as Code
Transfer our dashboard into a code representation via grafanalib.
2022-10-29 23:20:29 +01:00

492 B

Grafana Dashboard Deployment

Grafanalib

We use Grafanalib for the definition of our dashboard. You need to install the python package: pip install grafanalib.

Generation

Generate the Grafana dashboard by running main.py. The generated Json definition can be imported in the Grafana UI.

Deployment

You can copy the generated json into the field under the dashboards setting -> "JSON Model". The version number needs to match!