Skip to content

AgentTracesConfigDict

Union Type

AgentTracesConfigDict module-attribute

Dictionary form of AgentTracesConfig, setting exactly one variant.

Union Member Types

AgentTracesConfigSessionSpansDict

Bases: TypedDict

Attributes

session_spans instance-attribute
session_spans: Sequence[Document]

Agent traces provided as inline session spans in OpenTelemetry format.

AgentTracesConfigCloudwatchLogsDict

Bases: TypedDict

Attributes

cloudwatch_logs instance-attribute

Agent traces read from CloudWatch Logs.

AgentTracesConfigBatchEvaluationDict

Bases: TypedDict

Attributes

batch_evaluation instance-attribute

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

AgentTracesConfigOnlineEvaluationDict

Bases: TypedDict

Attributes

online_evaluation instance-attribute

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