1. What is the Knowledge Graph for? #
Linking signals automatically to find the cause.
The principle #
Available in: ✕ OSS ✕ Enterprise ✓ Cloud
The Knowledge Graph (from Grafana Labs' acquisition of Asserts) automatically builds a map of your environment's entities (services, pods, nodes, databases, message queues…) and their relationships, from the metrics you already send. It attaches assertions to them: known anomalies (abnormal error rate, degraded latency, saturation, restarts) that guide root cause analysis.
Where do entities come from? #
The graph is derived from metric labels: Prometheus exporters, Kubernetes (kube-state-metrics), service mesh, eBPF instrumentation (Beyla) and OpenTelemetry (span metrics and service graph). The more consistent the labels, the more accurate the graph.
2. Assertions #
Smart alerts attached to entities.
Families #
| Family | Examples |
|---|---|
| Errors | error rate above threshold or usual level (ErrorRatioBreach) |
| Latency | degraded p99 latency (LatencyBreach) |
| Saturation | CPU, memory, disk, connection pool close to the limit |
| Anomalies | unusual traffic or latency compared with history |
| Failures | restarting pods, OOMKilled, unreachable targets |
Unlike a classic alert, an assertion does not wake anyone by default: it enriches the graph for investigation. You then choose which ones trigger a notification.
3. Investigating with the RCA workbench #
One view of anomalies, dependencies and timeline.
The flow #
- Open Observability › RCA workbench from an alert, a service or “Show all Services”.
- Add the affected entity: the workbench shows its assertions and those of its dependencies on a shared timeline.
- Spot the first anomaly in time, often downstream (database saturated before the service errors).
- Jump to the entity's metrics, logs and traces directly from the graph.
- Ask Grafana Assistant to suggest hypotheses: it analyses the workbench entities and assertions.
Example #
The checkout service returns errors. The workbench shows, five minutes earlier, a connection pool saturation on payments-db, then rising latency on payments, and finally the checkout errors. The cause is the database, not the alerting service.
4. Prerequisites and best practices #
Consistent labels above all.
Prerequisites #
- Prometheus or OpenTelemetry metrics in the Grafana Cloud stack (Kubernetes Monitoring, Application Observability or your exporters).
- Standard labels:
job,namespace,pod,serviceorservice_name,cluster,env. - Span metrics or service graph to link services together.
Best practices #
- Normalize environment names (
prodeverywhere, notprod,productionandprd): the graph splits them otherwise. - Start with one scope (a cluster, an application) and check the graph before extending.
- Keep symptom alerts (SLOs, availability) to page people; use assertions to investigate.
Landmarks #
Commands to know
Observability › RCA workbench: multi-entity investigationShow all Services / Show all Nodes: browse the graphalertname=ErrorRatioBreach: filter error assertionsalertname=LatencyBreach: filter latency assertions
Your turn #
- With Kubernetes Monitoring in place, open a namespace graph and identify the detected entities.
- Cause a saturation (memory-limited pod) and follow the assertion in the RCA workbench.
Sources #
Checked in November 2026: Grafana Cloud offerings change fast, check Grafana's “What's new” page before relying on a detail.
