Module spans

Module spans 

Source
Expand description

OpenTelemetry span definitions for agent lifecycle operations.

Each span carries contextual fields for agent-level correlation. Feature-gated behind tracing-support.

Functions§

agent_run_span
Create a span for an agent’s run lifecycle (no-op without tracing-support feature).
agent_tool_span
Create a span for agent-as-tool invocation (no-op without tracing-support feature).
agent_transfer_span
Create a span for an agent transfer (no-op without tracing-support feature).
call_llm_span
Create a span for an LLM generate call (no-op without tracing-support feature).
extraction_span
Create a span for an extraction operation (no-op without tracing-support feature).
invocation_span
Create a span for a full invocation (no-op without tracing-support feature).
phase_transition_span
Create a span for a phase transition (no-op without tracing-support feature).
runner_span
Create a span for the top-level runner (no-op without tracing-support feature).
tool_dispatch_span
Create a span for tool dispatch (no-op without tracing-support feature).