Last updated: May 29, 2026
About Managing as Code
Overview of managing spam filters as infrastructure as code using version control, and automation.
Spam filters can be managed as infrastructure as code, allowing you to version control, automate deployment, and maintain consistency across environments.
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
- Export Spam Filters — Export spam filters from the UI to YAML.
- Manage Spam Filters as Code — Deploy spam filters using the Dash0 Operator for Kubernetes, the Dash0 Terraform Provider, or the Dash0 CLI.
- Set Spam Filters — Create and manage spam filters in the Dash0 UI.