Menu
Manage Knowledge Graph using Terraform
Use Terraform to manage Grafana Cloud Knowledge Graph resources as code. Configure notification alerts, suppressed assertions, custom model rules, log configurations, and threshold configurations using infrastructure as code best practices.
Overview
Terraform enables you to manage Grafana Cloud Knowledge Graph resources using infrastructure as code. With Terraform, you can define, version control, and deploy Knowledge Graph configurations including alert rules, suppression policies, entity models, log correlations, and thresholds.
Explore
Get started with Terraform
Learn how to set up Terraform provider and configure your environment for managing Knowledge Graph resources.
Notification alerts
Configure notification alerts to manage how alerts are processed and routed in your Knowledge Graph.
Suppressed assertions
Define suppression rules to temporarily disable specific alerts during maintenance windows or testing.
Custom model rules
Create custom entity models and define how entities are discovered based on Prometheus queries.
Log configurations
Configure log data correlation with entities using data source mappings and filtering options.
Thresholds
Set custom thresholds for request, resource, and health assertions to monitor your services.
Knowledge graph SLOs
Configure knowledge graph SLOs with entity-centric monitoring and RCA workbench integration for root cause analysis.