Fully reproducible Grafana dashboards with Grafonnet

As our list of Grafana dashboards was increasing, we decided to treat them as we do with other pieces of infrastructure as code.

  • February 7, 2020

Fully reproducible Grafana dashboards with Grafonnet

Grafana is an Open Source tool to generate monitoring dashboards. However, representing data is a complicated exercise. As our list of Grafana dashboards was increasing, we decided to treat them as we do with other pieces of infrastructure: as code.

Together with Malcolm Holmes (Software engineer at Grafana Labs), Julien presented Grafonnet at FOSDEM. Julien and Malcolm share a passion for Jsonnet, a language to generate JSON files, just like Grafana dashboards.

Treating dashboards like any other piece of software grants you abilities as version control, testing, reviews, and rollbacks. It also empowers multiple teams to work on the same base for their Grafana dashboards.

By creating reusable panels or shared color overrides, you get consistency across dashboards. Recognizable patterns are important if you want everyone to read the same information from a dashboard. Meaning you don’t need to study every new dashboard to understand it correctly.

This 25-minute presentation gives a tour of the challenges that Jsonnet and Grafonnet address, and ends up with practical examples and a live demo.

https://mirror.as35701.net/video.fosdem.org/2020/UD2.120/grafana_as_code.mp4

Read more articles

Blog Cloud & Operations

How do you structure Terraform / OpenTofu Codebases?

Organize Terraform codebases effectively to enhance infrastructure stability, scalability, and maintainability.

Read More Details
Blog Observability

Connecting Prometheus with PuppetDB

Puppet and Prometheus are two popular Open Source projects, and they have users in common. It does not come as a surprise then that the community already bridged the gap between both tools."

Read More Details
News Conference

Inuits at Kubecon and CloudNativeCon

This year, KubeCon and CloudNativeCon took place in Valencia from May 16th till May 20th. In this article our team share their findings of the conference.

Read More Details