Paths into Agent Observability
Choose how to capture your model calls. Each path explains which credentials you need.
Agent Observability SDK
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 supported frameworks table.
Existing OpenTelemetry instrumentation
If your application already has generative AI instrumentation, 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.
A span 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.
Caution
Avoid exporting the same call through multiple paths, for example through both the Agent Observability SDK and your OpenTelemetry instrumentation.
Note
OpenTelemetry ingestion in Agent Observability is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available.
Coding agents
If you use a supported coding agent, you can forward its sessions into Agent Observability without adding any SDK to your code. Each session shows up in Agent Observability as generations, tool calls, and metrics.
Refer to Set up and monitor coding agents for the list of supported agents and install steps.