Skip to main content

Module trace

Module trace 

Source
Expand description

Execution trace for debugging and observability.

Captures a tree of spans covering parse → compile → execute → tool calls. The trace is lightweight and always collected (sub-microsecond overhead).

The TraceSpan shape is designed to map cleanly to OpenTelemetry spans for future export to Jaeger, Langfuse, Datadog, etc.

Structs§

ExecutionTrace
Execution trace covering a full run (parse + compile + execute).
TraceSpan
A single span in the execution trace.

Enums§

TraceStatus
Span status.