Last updated: May 29, 2026
About Managing as Code
Overview of managing check rules and notification channels as infrastructure as code using version control, automation, and workflows.
Manage check rules and notification channels as infrastructure as code using version control, automated deployment pipelines, and code review processes. Define check rules in YAML or HCL configuration files stored in Git and deployed through CI/CD.
Available Tools
Dash0 provides three infrastructure as code tools for managing check rules:
- Dash0 Operator for Kubernetes - Define check rules as PrometheusRule custom resources for workflows.
- 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
- Manage Check Rules as Code — PrometheusRule CRDs with the Dash0 Operator for Kubernetes, Dash0 Terraform provider resources, and Dash0 CLI commands
- Manage Notification Channels as Code — YAML channel definitions, routing rules configuration, and CLI commands