Skip to main content
A trace follows one session from start to finish. Zero Runtime splits it into turns, and each turn into spans: one for speech-to-text, one for end-of-utterance detection, one for the LLM with any tool calls inside it, and one for text-to-speech. Each span records how long it took and whether it failed, so you can see where the time in a turn goes and which component broke.

View traces on the Dashboard

Traces are recorded for every session and shown in the Traces tab of the Session view on the Zero Runtime Dashboard. Open Sessions, click Actions > View on a session, then select Traces. Select any span to inspect its properties in the Properties panel.
A CartesiaTTS span selected inside a turn, showing the synthesized text, model name, and provider in the Properties panel

Span properties: the TTS span's input text, model, and provider in the Properties panel

Tool Calls

When the LLM invokes a tool, the call appears as an Invoked Tool: <tool name> span inside the LLM span. Its properties show the arguments the tool was called with, the result it returned, its latency, whether it failed (is_error), whether it is cancelled on interruption (cancel_on_interrupt), and its call_id. Use it to validate integrations and debug tool behavior.
An Invoked Tool span selected inside the LLM span, showing the tool's arguments, result, latency, and error status in the Properties panel

Tool call details: the arguments, result, and latency of an invoked tool

Export traces to your observability stack

To send traces to your own observability stack, such as Datadog, SigNoz, or New Relic, set traces on the room’s Observability to an Exporter that points at your collector’s OpenTelemetry (OTLP) endpoint.
Replace the example URL with your collector’s traces endpoint. Set the Room on serve() to apply it to every session, or on invoke() to apply it to one session.
Leaving traces unset is not the same as turning it off. An unset stream follows the runtime’s default settings. To stop exporting traces, pass Exporter(enabled=False).

What’s Next

Metrics

Read per-stage latency and token usage.

Logs

Set the log level and ship agent logs to your stack.

References

Examples

Observability Hooks

Configure observability for a session.