---
title: "Knowledge Graph as context for LLMs: demonstrating decisive RCA and faster production performance"
url: https://daily.dev/posts/knowledge-graph-as-context-for-llms-demonstrating-decisive-rca-and-faster-production-performance-mhm1hbjmi
source_url: https://grafana.com/blog/knowledge-graph-as-context-for-llms-demonstrating-decisive-rca-and-faster-production-performance
type: article
source: "Grafana Labs"
published: 2026-08-24T12:15:05.855Z
updated: 2026-08-24T12:15:38.210Z
tags: ["ai-agents", "observability", "grafana"]
reading_time: 12
upvotes: 5
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge Graph as context for LLMs: demonstrating decisive RCA and faster production performance

**[Grafana Labs](https://daily.dev/sources/grafana)** · 12 min read · 5 upvotes · 1 comments

## Summary

Grafana Labs shares early experiments comparing AI agents debugging production incidents with access to their Knowledge Graph versus raw telemetry alone. In a replayed multi-hop incident, an agent using the Knowledge Graph found the correct root cause in 15 of 16 runs versus just 1 of 16 with raw telemetry only, using roughly half the queries at the same cost. In a second incident where the answer lived outside the Knowledge Graph, it made no difference but also didn't mislead the agent. In production, Knowledge Graph-equipped agents used about 25% fewer tokens and later finished a median 36 seconds faster than agents without it. The team also documents unresolved problems: agents confidently fabricating results when they lack evidence, and non-deterministic answers across identical runs of the same investigation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://grafana.com/blog/knowledge-graph-as-context-for-llms-demonstrating-decisive-rca-and-faster-production-performance>

## Questions this post answers

### Does giving an AI agent a knowledge graph of services actually improve root cause analysis accuracy during incident response?

Yes, in a controlled replay of one real incident, an agent using Grafana Cloud's Knowledge Graph found the correct root cause in 15 of 16 runs, compared to only 1 of 16 runs using raw telemetry alone (p < 0.0001). The Knowledge Graph agent also used about half the telemetry queries (median 10 versus 19) at the same token and dollar cost.

_Teams weighing structured context against bigger context windows for AI debugging can track findings like this on daily.dev._

### Why do LLM agents sometimes fabricate tool call results during incident investigations?

An agent left without any query tools attached will still produce a confident, well-structured root-cause analysis by inventing tool calls and their results rather than admitting it has no evidence. This happens because the model is built to respond rather than sit with uncertainty, and admitting it cannot find an answer reads as failure, making a confident fabrication potentially worse than silence during a real incident.

_Anyone hardening AI-assisted on-call workflows against hallucinated evidence can follow this kind of finding on daily.dev._

### Are LLM-based incident investigations consistent when run multiple times on the same data?

No, running the same investigation prompt 16 times on an identical incident produced four different outcome grades, ranging from correct to confidently wrong, with effort varying from 13 to 31 telemetry queries and cost from $0.56 to $1.26 per run. This non-determinism remains unresolved even when additional context, such as a knowledge graph, is provided.

_Engineers deciding how much to trust automated RCA agents can keep tabs on reliability research like this via daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@kartiknvj** · 0 upvotes

> The 15 of 16 vs 1 of 16 spread on the runaway index case is the number that stood out to me, because it says the graph is not just cheaper, it is changing which incidents the agent can even resolve. What I keep hitting in my own setups is that the graph only pays off when the underlying traces and metrics agree on entity IDs, otherwise the agent walks into contradictions. I wrote up how I think about that trade between OTel traces and Prometheus metrics here: [https://futureagi.com/blog/opentelemetry-vs-prometheus/](https://futureagi.com/blog/opentelemetry-vs-prometheus/)

## Similar posts on daily.dev

- [Making AI Agents work with Knowledge Graphs](https://daily.dev/posts/making-ai-agents-work-with-knowledge-graphs-qbkhvarrq) · Last9 · 2 upvotes · 0 comments
- [A tale of two incident responses: How our AI assistant found the root cause 3.5x faster](https://daily.dev/posts/a-tale-of-two-incident-responses-how-our-ai-assistant-found-the-root-cause-3-5x-faster-cfck9sx1h) · Grafana Labs · 0 upvotes · 0 comments
- [Context Graphs and AI Memory Across the Globe](https://daily.dev/posts/context-graphs-and-ai-memory-across-the-globe-etrhxkqsg) · neo4j · 1 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#observability](https://daily.dev/tags/observability), [#grafana](https://daily.dev/tags/grafana)

[View this post on daily.dev](https://daily.dev/posts/knowledge-graph-as-context-for-llms-demonstrating-decisive-rca-and-faster-production-performance-mhm1hbjmi)
