Brussels / 1 & 2 February 2020

schedule

Grafana-As-Code: Fully reproducible Grafana dashboards with Grafonnet


Grafana configuration can nowadays be fully done as code, which enables code review, code reuse, and in general better workflows when working with dashboards.

This talk will present Grafonnet, a Jsonnet library to generate Grafana dashboards and some tips and tricks about how to use it efficiently and how to manage fully your grafana instances from code. We will also explore how Jsonnet and Grafonnet enable collaboration on dashboards, using Mixins and explain how to push dashboards to Grafana, either using Kubernetes, or direct to the Grafana API.

  • Presentation of Grafana provisioning as code features
  • Presentation of Grafonnet
  • How to make reusable components with jsonnet
  • How to include raw json
  • How to link both (jsonnet -m to generate a folder)
  • How to make PR efficient (generate grafana snapshots on merge requests)
  • Jsonnet Mixins

Speakers

Julien Pivotto
Malcolm Holmes

Attachments

Links