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

17 lines
492 B
Markdown

# Grafana Dashboard Deployment
## Grafanalib
We use [Grafanalib](https://github.com/weaveworks/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!