SpanContext
The contextual information that uniquely identifies a span within the distributed tracing system. Contains session, trace, and span identifiers used to correlate evaluation results with specific agent execution points.
Contents
- sessionId
-
The unique identifier of the session containing this span. Sessions represent complete conversation flows and are detected using configurable
SessionTimeoutMinutes(default 15 minutes).Type: String
Required: Yes
- spanId
-
The unique identifier of the specific span being referenced. Spans represent individual operations like tool calls, model invocations, or other discrete actions within the agent's execution.
Type: String
Required: No
- traceId
-
The unique identifier of the trace containing this span. Traces represent individual request-response interactions within a session and group related spans together.
Type: String
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: