Observability as Code in OpenObserve: Terraform, OpenTofu and GitOps
Bring Infrastructure as Code to observability with Terraform, OpenTofu, and GitOps. Manage configuration as code or export existing alerts and SLOs as Terraform.
Getting Started with OpenObserve
Managing observability with Terraform and OpenTofu
Exporting existing alerts and SLOs as Terraform
Versioning and reviewing observability configuration in Git
Using GitOps workflows for observability
Observability as Code brings Infrastructure as Code practices to your observability configuration. With OpenObserve, alerts, dashboards, streams, SLOs, users, roles, service accounts, and more can be managed through Terraform or OpenTofu, with configuration stored in Git and changes reviewed through pull requests.
Existing alerts and SLOs can be exported directly from OpenObserve as ready-to-use Terraform, so teams can bring existing configuration into Git without rebuilding it by hand. Configuration can also flow the other way, with Terraform or OpenTofu used to provision and update resources in OpenObserve.
This makes observability configuration versioned, reviewable, and reproducible, with support for GitOps workflows, reusable configuration across environments, and drift detection with terraform plan.