<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>What Agent Observability records on Grafana Labs</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/</link><description>Recent content in What Agent Observability records on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/index.xml" rel="self" type="application/rss+xml"/><item><title>What a generation is</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/04-what-a-generation-is/</link><pubDate>Thu, 19 Nov 2026 14:12:27 -0600</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/04-what-a-generation-is/</guid><content><![CDATA[&lt;h1 id=&#34;what-a-generation-is&#34;&gt;What a generation is&lt;/h1&gt;
&lt;p&gt;A &lt;strong&gt;generation&lt;/strong&gt; is the request and response the SDK captures each time your agent calls an LLM provider. It is the core unit of data in Agent Observability.&lt;/p&gt;
&lt;h2 id=&#34;what-a-generation-includes&#34;&gt;What a generation includes&lt;/h2&gt;
&lt;p&gt;One generation holds the model that was called, the messages in and out, how many tokens the call used, and how long it took. Among the input messages is each &lt;strong&gt;tool result&lt;/strong&gt;, what a tool returned after the agent called it, passed back to the model as an input message.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Part&lt;/th&gt;
              &lt;th&gt;What it includes&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Model provider and name&lt;/td&gt;
              &lt;td&gt;For example, &lt;code&gt;openai/gpt-4o&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Input messages&lt;/td&gt;
              &lt;td&gt;System prompt, user messages, and tool results&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Output messages&lt;/td&gt;
              &lt;td&gt;Assistant responses and tool calls&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Token usage&lt;/td&gt;
              &lt;td&gt;Input, output, cache read, cache write, and reasoning&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Timing&lt;/td&gt;
              &lt;td&gt;Request start, first token, and completion&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Metadata and tags&lt;/td&gt;
              &lt;td&gt;Optional values you pass on a single generation; they apply to that generation only&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;why-these-parts-matter&#34;&gt;Why these parts matter&lt;/h2&gt;
&lt;p&gt;When you open a conversation in Agent Observability, its detail view shows these same parts for each generation: the input messages, the output messages, the token usage by type, and the timing. Because AI agents are non-deterministic, these parts are what you use to troubleshoot behavioral issues when they produce incorrect answers and to manage costs.&lt;/p&gt;
]]></content><description>&lt;h1 id="what-a-generation-is">What a generation is&lt;/h1>
&lt;p>A &lt;strong>generation&lt;/strong> is the request and response the SDK captures each time your agent calls an LLM provider. It is the core unit of data in Agent Observability.&lt;/p></description></item><item><title>How Agent Observability groups generations into conversations</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/05-how-generations-become-a-conversation/</link><pubDate>Thu, 19 Nov 2026 14:12:27 -0600</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/05-how-generations-become-a-conversation/</guid><content><![CDATA[&lt;h1 id=&#34;how-agent-observability-groups-generations-into-conversations&#34;&gt;How Agent Observability groups generations into conversations&lt;/h1&gt;
&lt;p&gt;A &lt;strong&gt;conversation&lt;/strong&gt; represents a full interaction thread between a user and one or more agents, and Agent Observability groups generations by &lt;code&gt;conversation_id&lt;/code&gt; into conversations.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Generations from the same interaction need the same &lt;code&gt;conversation_id&lt;/code&gt; to appear in one conversation.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;why-the-grouping-matters&#34;&gt;Why the grouping matters&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;conversation_id&lt;/code&gt; on each generation decides which generations appear together as one thread. In the manual-capture sample, your code sets it when it starts the generation.&lt;/p&gt;
&lt;p&gt;In Agent Observability, you browse conversations to understand what happened during an agent interaction, identify failures, and analyze performance.&lt;/p&gt;

&lt;div class=&#34;learning-hub-image&#34;&gt;
  &lt;a href=&#34;generations-to-conversations.svg&#34; title=&#34;Agent Observability groups four generations into two conversations: the two generations that share one conversation_id form one conversation, and the two that share another form a second conversation&#34;&gt;
    &lt;img
      
      
      class=&#34;d-inline-block&#34;
      src=&#34;generations-to-conversations.svg&#34;
      
      alt=&#34;Agent Observability groups four generations into two conversations: the two generations that share one conversation_id form one conversation, and the two that share another form a second conversation&#34; width=&#34;1000&#34; height=&#34;440&#34;/&gt;
    &lt;div class=&#34;learning-hub-image__zoom&#34;&gt;
      &lt;svg width=&#34;24&#34; height=&#34;24&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34; xmlns=&#34;http://www.w3.org/2000/svg&#34;&gt;
        &lt;path d=&#34;M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
        &lt;path d=&#34;M10 7V13M7 10H13&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;/&gt;
      &lt;/svg&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;

&lt;h2 id=&#34;what-one-conversation-shows&#34;&gt;What one conversation shows&lt;/h2&gt;
&lt;p&gt;Each conversation shows a timeline view with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Traces&lt;/li&gt;
&lt;li&gt;Token usage&lt;/li&gt;
&lt;li&gt;Cost breakdown&lt;/li&gt;
&lt;li&gt;Quality scores&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="how-agent-observability-groups-generations-into-conversations">How Agent Observability groups generations into conversations&lt;/h1>
&lt;p>A &lt;strong>conversation&lt;/strong> represents a full interaction thread between a user and one or more agents, and Agent Observability groups generations by &lt;code>conversation_id&lt;/code> into conversations.&lt;/p></description></item><item><title>Two paths out of your application</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/06-two-paths-out-of-your-application/</link><pubDate>Thu, 19 Nov 2026 14:12:27 -0600</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/06-two-paths-out-of-your-application/</guid><content><![CDATA[&lt;h1 id=&#34;two-paths-out-of-your-application&#34;&gt;Two paths out of your application&lt;/h1&gt;
&lt;p&gt;With the default SDK setup, your application sends data through two paths. The spans and metrics the SDK emits are separate from generation data and require their own setup. The setup screen in Agent Observability lists the values for both paths. &lt;strong&gt;API URL&lt;/strong&gt; and &lt;strong&gt;Instance ID&lt;/strong&gt; under &lt;strong&gt;Your credentials&lt;/strong&gt; serve generation export, and &lt;strong&gt;OTLP endpoint&lt;/strong&gt; serves the telemetry path.&lt;/p&gt;
&lt;h2 id=&#34;generation-export&#34;&gt;Generation export&lt;/h2&gt;
&lt;p&gt;In &lt;strong&gt;generation export&lt;/strong&gt;, the SDK sends structured generation data to the &lt;strong&gt;Agent Observability API&lt;/strong&gt;, the endpoint that receives generation data. When you run your instrumented agent, your first generation should appear in &lt;strong&gt;Conversations&lt;/strong&gt; within a few seconds.&lt;/p&gt;
&lt;h2 id=&#34;otlp-telemetry&#34;&gt;OTLP telemetry&lt;/h2&gt;
&lt;p&gt;The SDK also emits OpenTelemetry traces and metrics over OTLP. You can send these directly to the Grafana Cloud OTLP gateway or through a local &lt;strong&gt;Alloy&lt;/strong&gt; or &lt;strong&gt;OpenTelemetry Collector&lt;/strong&gt;, a separate process that receives them and forwards them to Grafana Cloud with credentials. Agent Observability is built on OpenTelemetry so that your existing OpenTelemetry infrastructure handles these traces and metrics out of the box. You check for the SDK&amp;rsquo;s traces and metrics in your Grafana Cloud &lt;strong&gt;Traces&lt;/strong&gt; and &lt;strong&gt;Metrics&lt;/strong&gt; data sources.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-warning&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Warning&lt;/p&gt;&lt;p&gt;This path needs something the first does not. Your application must set up OpenTelemetry tracing and metrics, because the SDK does not create that setup, and without it the traces and metrics the SDK emits are silently lost.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;div class=&#34;learning-hub-image&#34;&gt;
  &lt;a href=&#34;two-paths.svg&#34; title=&#34;Your application sends data through two paths: generation data to the Agent Observability API, and OTLP telemetry either directly to the Grafana Cloud OTLP gateway or through a local Alloy or OpenTelemetry Collector that forwards it to Grafana Cloud, where the Traces and Metrics data sources hold it&#34;&gt;
    &lt;img
      
      
      class=&#34;d-inline-block&#34;
      src=&#34;two-paths.svg&#34;
      
      alt=&#34;Your application sends data through two paths: generation data to the Agent Observability API, and OTLP telemetry either directly to the Grafana Cloud OTLP gateway or through a local Alloy or OpenTelemetry Collector that forwards it to Grafana Cloud, where the Traces and Metrics data sources hold it&#34; width=&#34;1000&#34; height=&#34;440&#34;/&gt;
    &lt;div class=&#34;learning-hub-image__zoom&#34;&gt;
      &lt;svg width=&#34;24&#34; height=&#34;24&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34; xmlns=&#34;http://www.w3.org/2000/svg&#34;&gt;
        &lt;path d=&#34;M21 21L15 15M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34; stroke-linejoin=&#34;round&#34;/&gt;
        &lt;path d=&#34;M10 7V13M7 10H13&#34; stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;/&gt;
      &lt;/svg&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;

]]></content><description>&lt;h1 id="two-paths-out-of-your-application">Two paths out of your application&lt;/h1>
&lt;p>With the default SDK setup, your application sends data through two paths. The spans and metrics the SDK emits are separate from generation data and require their own setup. The setup screen in Agent Observability lists the values for both paths. &lt;strong>API URL&lt;/strong> and &lt;strong>Instance ID&lt;/strong> under &lt;strong>Your credentials&lt;/strong> serve generation export, and &lt;strong>OTLP endpoint&lt;/strong> serves the telemetry path.&lt;/p></description></item><item><title>Paths into Agent Observability</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/07-paths-into-agent-observability/</link><pubDate>Thu, 19 Nov 2026 14:12:27 -0600</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/07-paths-into-agent-observability/</guid><content><![CDATA[&lt;h1 id=&#34;paths-into-agent-observability&#34;&gt;Paths into Agent Observability&lt;/h1&gt;
&lt;p&gt;Choose how to capture your model calls. Each path explains which credentials you need.&lt;/p&gt;
&lt;h2 id=&#34;agent-observability-sdk&#34;&gt;Agent Observability SDK&lt;/h2&gt;
&lt;p&gt;If your agent is in Go, Python, TypeScript or JavaScript, Java, or .NET, the Agent Observability SDK for that language captures generations from its model calls. For the current list of frameworks the SDK has an integration for, refer to the &lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/instrumentation/instrument-agents/#supported-frameworks&#34;&gt;supported frameworks table&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;existing-opentelemetry-instrumentation&#34;&gt;Existing OpenTelemetry instrumentation&lt;/h2&gt;
&lt;p&gt;If your application already has &lt;strong&gt;generative AI instrumentation&lt;/strong&gt;, code or a library that records its AI calls as OpenTelemetry spans, you can send those spans to Agent Observability without the Agent Observability SDK.&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;span&lt;/strong&gt; describes one call, with details such as the model provider, the model name, and token usage. For this path, use the OTLP connection details for your stack, not the SDK credentials.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-caution&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Caution&lt;/p&gt;&lt;p&gt;Avoid exporting the same call through multiple paths, for example through both the Agent Observability SDK and your OpenTelemetry instrumentation.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;



&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;OpenTelemetry ingestion in Agent Observability is currently in &lt;a href=&#34;/docs/release-life-cycle/&#34;&gt;public preview&lt;/a&gt;. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;


&lt;h2 id=&#34;coding-agents&#34;&gt;Coding agents&lt;/h2&gt;
&lt;p&gt;If you use a supported coding agent, you can forward its sessions into Agent Observability without adding any SDK to your code. Each &lt;strong&gt;session&lt;/strong&gt; shows up in Agent Observability as generations, tool calls, and metrics.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/get-started/instrument-coding-agents/&#34;&gt;Set up and monitor coding agents&lt;/a&gt; for the list of supported agents and install steps.&lt;/p&gt;
]]></content><description>&lt;h1 id="paths-into-agent-observability">Paths into Agent Observability&lt;/h1>
&lt;p>Choose how to capture your model calls. Each path explains which credentials you need.&lt;/p>
&lt;h2 id="agent-observability-sdk">Agent Observability SDK&lt;/h2>
&lt;p>If your agent is in Go, Python, TypeScript or JavaScript, Java, or .NET, the Agent Observability SDK for that language captures generations from its model calls. For the current list of frameworks the SDK has an integration for, refer to the &lt;a href="/docs/grafana-cloud/observe-and-act/agent-observability/instrumentation/instrument-agents/#supported-frameworks">supported frameworks table&lt;/a>.&lt;/p></description></item><item><title>Resources</title><link>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/08-resources/</link><pubDate>Thu, 19 Nov 2026 14:12:27 -0600</pubDate><guid>https://grafana.com/docs/learning-hub/intro-to-agent-observability/02-what-agent-observability-records/08-resources/</guid><content><![CDATA[&lt;h1 id=&#34;resources&#34;&gt;Resources&lt;/h1&gt;
&lt;p&gt;These pages cover generations, conversations, the two paths your application sends data through, and the ways to capture model calls.&lt;/p&gt;
&lt;h2 id=&#34;documentation&#34;&gt;Documentation&lt;/h2&gt;
&lt;!-- Note to journey author: Replace the OpenTelemetry and coding-agent links with the Journey 4 and Journey 5 entries when those journeys publish (outline slide 08). --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/introduction/&#34;&gt;Introduction to Agent Observability&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/get-started/&#34;&gt;Get started with Agent Observability&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/get-started/opentelemetry/&#34;&gt;Instrument agents with OpenTelemetry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/observe-and-act/agent-observability/get-started/instrument-coding-agents/&#34;&gt;Set up and monitor coding agents&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;community&#34;&gt;Community&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://community.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Community Forums&lt;/a&gt; to ask questions and share what you found&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://slack.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana Slack&lt;/a&gt; to talk with other users&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="resources">Resources&lt;/h1>
&lt;p>These pages cover generations, conversations, the two paths your application sends data through, and the ways to capture model calls.&lt;/p>
&lt;h2 id="documentation">Documentation&lt;/h2>
&lt;!-- Note to journey author: Replace the OpenTelemetry and coding-agent links with the Journey 4 and Journey 5 entries when those journeys publish (outline slide 08). -->
&lt;ul>
&lt;li>&lt;a href="/docs/grafana-cloud/observe-and-act/agent-observability/introduction/">Introduction to Agent Observability&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/grafana-cloud/observe-and-act/agent-observability/get-started/">Get started with Agent Observability&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/grafana-cloud/observe-and-act/agent-observability/get-started/opentelemetry/">Instrument agents with OpenTelemetry&lt;/a>&lt;/li>
&lt;li>&lt;a href="/docs/grafana-cloud/observe-and-act/agent-observability/get-started/instrument-coding-agents/">Set up and monitor coding agents&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="community">Community&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://community.grafana.com/" target="_blank" rel="noopener noreferrer">Grafana Community Forums&lt;/a> to ask questions and share what you found&lt;/li>
&lt;li>&lt;a href="https://slack.grafana.com/" target="_blank" rel="noopener noreferrer">Grafana Slack&lt;/a> to talk with other users&lt;/li>
&lt;/ul></description></item></channel></rss>