LLM observability
Every agent conversation, with the cost of each step
monoscope turns the GenAI spans your agents emit into conversations: each model call and tool call in order, with tokens, latency and cost, beside the HTTP and database spans of the request.

01 · Conversations
Read what the agent did, call by call
Spans that share a conversation id become one conversation. The transcript shows each message once, with the model, latency, tokens and cost of the call that produced it, and each tool call with its arguments, result and duration.

-
Filter by agent, model or signal
The conversation list shows agents, models, tokens, cost and signals for each conversation in the time range.
-
The rest of the request
The Open trace button shows the HTTP, database and queue spans around the model calls, in one waterfall.
-
Ask the AI SRE
One click hands the conversation to the AI SRE, which explains what the user wanted, where the agent went wrong and what drove the cost.
02 · Tokens and cost
What each model call cost, in dollars
A cost your SDK or gateway reports wins. Otherwise monoscope prices the call from the published rates of more than 1,000 models, including cache-read and cache-write tokens, and writes it to gen_ai.usage.cost.
KQL · LLM spend per service
isnotnull(attributes.gen_ai.usage.cost)
| summarize cost_usd = sum(attributes.gen_ai.usage.cost) by resource.service.name
| sort by cost_usd desc
-
Cost is an attribute
The cost works in any chart, group-by or monitor, by service, model or user, with the same KQL as every other field.
-
A dashboard to start from
The LLM & Agents dashboard charts cost, tokens, model calls, latency and error rate by model, service and user.
-
Unpriced calls are counted
A call without usable model or usage data stays unpriced, and the total says how many calls it leaves out.
03 · Signals
Loops, truncations and failed tools, flagged
monoscope checks every conversation for six failure patterns: tool errors, model errors, replies cut off at the token limit, content-filter stops, the same tool called with the same arguments again and again, and calls that used 80% or more of the context window.
-
Signals you describe
A custom signal is a plain description, such as a user repeating a request after a wrong answer. A model judges conversations against it and records its reason.
-
Topics
Similar opening requests are grouped, so you compare errors, tokens and cost across one kind of task.
-
Match rates you can check
Each custom signal shows how many judged conversations matched, with the judge's reason on every match.
04 · Setup
The instrumentation you already use
monoscope reads OpenTelemetry GenAI spans and maps OpenInference, OpenLLMetry, Vercel AI SDK, Langfuse and Claude Code attributes onto the GenAI conventions when they arrive. The original attributes stay on the span.
Environment · send OTLP to monoscope
OTEL_EXPORTER_OTLP_ENDPOINT="http://otelcol.monoscope.tech:4318"
OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
OTEL_RESOURCE_ATTRIBUTES="x-api-key=YOUR_API_KEY"
OTEL_SERVICE_NAME="support-agent"
-
Python and TypeScript frameworks
LangChain, LangGraph, LlamaIndex, CrewAI, DSPy, Pydantic AI, the OpenAI Agents SDK, Mastra and more, through their OpenTelemetry instrumentations.
-
Any other language
A span with the operation, model and token counts is enough to price a call, from any OpenTelemetry SDK.
-
Prompts are opt-in
Most instrumentations record tokens but not message text until you turn on content capture. Without it you still get cost, latency, models and tools.
Questions
Why is the transcript empty?
The instrumentation isn't recording message content. The official OpenTelemetry GenAI instrumentations currently write prompts and completions as log events, not on the span, so the transcript stays empty. OpenLLMetry, OpenInference and the Vercel AI SDK record content on the span.
How does monoscope group calls into a conversation?
By a shared id: gen_ai.conversation.id, session.id, or the session id that OpenLLMetry, the Vercel AI SDK or Langfuse sets. A trace that ran an agent without an id is its own conversation.
Is the cost the same as my provider bill?
Not always. A reported cost is used as is, and an estimate uses published model prices and the recorded token counts. Unpriced calls and partial usage data mean the total can be lower than the bill.
Can I monitor Claude Code?
Yes. Claude Code exports OpenTelemetry logs and metrics, and each session appears as one conversation with its model calls, tokens and cost.
