Menu
This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.
Enterprise
Open source
Manage Knowledge Graph using Terraform
Use Terraform to manage Grafana Cloud Knowledge Graph resources as code. Configure the Knowledge Graph stack, 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 stack onboarding, alert rules, suppression policies, entity models, log, trace, and profile correlations, and thresholds.
Explore
Get started with Terraform
Learn how to set up Terraform provider and configure your environment for managing Knowledge Graph resources.
Knowledge Graph stack
Configure the Knowledge Graph stack with token provisioning, dataset configuration, and stack enablement.
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.
Trace configurations
Configure trace data correlation with entities using data source mappings and filtering options.
Profile configurations
Set up profile 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.
Prometheus rules
Define custom Prometheus recording and alerting rules that are evaluated against your metrics data.


