Section 1 · Journey overview

What this journey covers, how the hands-on work is organized, and how long it takes.

Estimated time: 2 min

Journey overview

The same request to an AI agent can take a different path, call different tools, and cost a different amount each time it runs. When an agent gives an incorrect answer, or costs more than expected, you need a record of each model call it made to find out why.

This journey gives you that record. You enable Agent Observability on your Grafana Cloud stack and connect your agent with the Agent Observability SDK. By the end, your agent’s first captured model call should appear in Agent Observability, and you check your Grafana Cloud Traces and Metrics data sources for its SDK-emitted spans and metrics.

The hands-on work is one learning path you complete in pieces. You open it once in Grafana Cloud, and the sections that follow send you back to that tab to continue it. Applications that already have OpenTelemetry instrumentation for their AI calls, and supported coding agents, each have a route of their own, and this journey does not cover them. For those routes, refer to Instrument agents with OpenTelemetry and Set up and monitor coding agents.

What you’ll learn

Here’s what this journey covers:

  • What the SDK captures: each time your agent calls an LLM provider, the SDK captures the request and response, and how Agent Observability groups those captures into one thread.
  • Enabling the product: what an administrator does to enable Agent Observability for the stack.
  • Authenticating the SDK: the three values you need to send conversation data, and the Grafana Cloud pages they come from.
  • Capturing your first model call: installing the SDK for your language and running a first capture.
  • Finding your first captured model call: it should appear in Conversations within a few seconds, and what to check when it does not.
  • Adding metrics and traces: your application sends data through two paths, and in the second the SDK emits OpenTelemetry traces and metrics via OTLP.

Journey duration

~45-60 minutes