Menu
Choose a product
Viewing: v12.4 (latest)
Find another version
Scroll for more
Documentation
Grafana documentation
As code
Infrastructure as code
Terraform
Manage Knowledge Graph in Grafana Cloud using Terraform
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.
Knowledge graph SLOs
Configure knowledge graph SLOs with entity-centric monitoring and RCA workbench integration for root cause analysis.
Related resources
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.