AgentTracesConfig

sealed class AgentTracesConfig

The configuration specifying where to read agent traces from for recommendation analysis.

Inheritors

Types

Link copied to clipboard

Agent traces read from CloudWatch Logs.

Link copied to clipboard
Link copied to clipboard
data class SessionSpans(val value: List<Document?>) : AgentTracesConfig

Agent traces provided as inline session spans in OpenTelemetry format.

Functions

Link copied to clipboard

Casts this AgentTracesConfig as a SessionSpans and retrieves its kotlin.collections.List value. Throws an exception if the AgentTracesConfig is not a SessionSpans.

Link copied to clipboard

Casts this AgentTracesConfig as a SessionSpans and retrieves its kotlin.collections.List value. Returns null if the AgentTracesConfig is not a SessionSpans.