Skip to content

AgentTracesConfig

Union Type

AgentTracesConfig module-attribute

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

Union Member Types

AgentTracesConfigSessionSpans dataclass

Bases: _SerdeShape

Agent traces provided as inline session spans in OpenTelemetry format.

Attributes

value instance-attribute
value: list[Document]

AgentTracesConfigCloudwatchLogs dataclass

Bases: _SerdeShape

Agent traces read from CloudWatch Logs.

Attributes

value instance-attribute

AgentTracesConfigBatchEvaluation dataclass

Bases: _SerdeShape

Use a completed batch evaluation as the source of agent traces.

Attributes

value instance-attribute

AgentTracesConfigOnlineEvaluation dataclass

Bases: _SerdeShape

Agent traces from an online evaluation configuration over a specified time range.

Attributes

value instance-attribute

AgentTracesConfigUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str