/AWS1/CL_BDCSPANCONTEXT¶
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.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_sessionid TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
The unique identifier of the session containing this span. Sessions represent complete conversation flows and are detected using configurable
SessionTimeoutMinutes(default 15 minutes).
Optional arguments:¶
iv_traceid TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
The unique identifier of the trace containing this span. Traces represent individual request-response interactions within a session and group related spans together.
iv_spanid TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING¶
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.
Queryable Attributes¶
sessionId¶
The unique identifier of the session containing this span. Sessions represent complete conversation flows and are detected using configurable
SessionTimeoutMinutes(default 15 minutes).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SESSIONID() |
Getter for SESSIONID, with configurable default |
ASK_SESSIONID() |
Getter for SESSIONID w/ exceptions if field has no value |
HAS_SESSIONID() |
Determine if SESSIONID has a value |
traceId¶
The unique identifier of the trace containing this span. Traces represent individual request-response interactions within a session and group related spans together.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRACEID() |
Getter for TRACEID, with configurable default |
ASK_TRACEID() |
Getter for TRACEID w/ exceptions if field has no value |
HAS_TRACEID() |
Determine if TRACEID has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPANID() |
Getter for SPANID, with configurable default |
ASK_SPANID() |
Getter for SPANID w/ exceptions if field has no value |
HAS_SPANID() |
Determine if SPANID has a value |