Skip to main content

Module observability

Module observability 

Source
Expand description

Stable tracing span names and field keys for OpenTelemetry-friendly hosts.

Modules§

field
Canonical field names (string constants for hosts and tests).

Constants§

SPAN_COMPACT
Compaction pass.
SPAN_SAMPLE
One LLM sample call.
SPAN_SESSION
Session lifetime span.
SPAN_SPAWN
Nested agent spawn.
SPAN_TOOL
One tool execution.
SPAN_TOOL_BATCH
Dispatched tool batch.
SPAN_TURN
Single turn span.
SPAN_WORKFLOW
Workflow run.
SPAN_WORKFLOW_HOST
One workflow host request.

Functions§

required_span_names
All required span names (contract test surface).
span_catalogue_snapshot
Exact newline-joined span catalogue for CI golden comparison.