Last updated: May 29, 2026
About Managing as Code
Overview of managing dashboards and views as infrastructure as code using version control, and automation.
Dashboards and views can be managed as infrastructure as code, allowing you to version control, automate deployment, and maintain consistency across environments. This approach enables code review for visualization changes, and collaborative dashboard development.
Available Tools
Dash0 provides three infrastructure as code tools for managing check rules:
- Dash0 Operator for Kubernetes - Define check rules as PrometheusRule custom resources.
- Dash0 Terraform Provider (on the Terraform and OpenTofu registries) - Manage check rules in Terraform configurations alongside other infrastructure.
- Dash0 CLI - Script check rule operations for batch deployments and automation.
All tools support creating, updating, and deleting check rules. The same approach applies to dashboards, views, and synthetic checks.
Further Reading
- Import Dashboards — Import Perses-based dashboards, such as Grafana dashboards.
- Export Dashboards — Export dashboards from Dash0 to YAML in Perses format.
- Export Views — Export views from Dash0 to YAML.
- Manage Dashboards as Code — Use the Dash0 Operator for Kubernetes, the Dash0 Terraform Provider, or the Dash0 CLI.
- Manage Views as Code — Manage saved queries as infrastructure as code.