AI Agents Now See Live Observability Data with Grafana's New Tools

AI coding agents now have a direct line to live observability data.

3 min readInfoQ
AI Agents Now See Live Observability Data with Grafana's New Tools

The general availability of Grafana's gcx CLI and MCP server is a quiet answer to a loud problem: AI coding agents have been building against assumptions, not evidence. For too long, the loop between writing code and understanding how it behaves in a live system required a human to pause, open a dashboard, and manually correlate a failing trace with a metric spike. Grafana is now handing that investigative work directly to the agent. When a model can query metrics, logs, traces, SLOs, and Synthetic Monitoring results from Grafana Cloud or a self-hosted stack during development, it stops guessing and starts verifying. That is a meaningful shift in how we should think about agent reliability, and it deserves more attention than a standard release note.

Our take is that this is not about making agents faster at writing boilerplate. It is about giving them a grounded sense of consequence. The gcx CLI and Grafana MCP server let a coding agent ask questions like "did my recent change increase p99 latency?" or "are any error logs tied to this new code path?" and get a factual answer mid-task. In practical terms, this means fewer confidently generated patches that fail in production and more iterative development where the agent corrects course based on live telemetry. For teams already wrestling with the observability gap, this is a direct bridge between the development environment and the operational reality. It does not replace the need for a thoughtful human review, but it does reduce the number of blind spots.

If a reader asked us whether this is worth adopting now, we would say yes, with one caveat: start small. The value here is not in wiring up every service at once. It is in picking a single, high-traffic endpoint, letting the agent query its SLOs and error rates during a sprint, and observing how much faster you can close a loop that previously required context switching. The GA status matters because it signals API stability and a supported path forward, but the real test is whether your team can trust the agent's questions as much as its answers. That trust is built incrementally, not by flipping a switch.

The specific detail we are watching is how Grafana handles access control in these agent-driven queries. Giving an AI direct read access to live observability data is powerful, but it also expands the attack surface. If your agent's prompt is compromised, it could exfiltrate sensitive trace data or manipulate a query to hide an issue. Grafana has not detailed a fine-grained permission model for agent-specific identities, and that is the first thing we would ask about before running this in production. The tooling is mature, the intention is clear, and the potential for faster, more reliable development is real. Just make sure you know exactly what your agent can see before you let it look.

From InfoQ

Grafana Labs has announced general availability for two tools that let AI coding agents query live observability data during development: the gcx CLI and the Grafana MCP server. Both allow agents to pull metrics, logs, traces, SLOs, and Synthetic Monitoring results from Grafana Cloud or a self-hosted stack

Read the original at InfoQ