Skip to content

Bedrock Agentcore  >  Unions  >  AgentTracesConfig

AgentTracesConfig

Union Type

AgentTracesConfig module-attribute

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

Union Member Types

AgentTracesConfigSessionSpans dataclass

Agent traces provided as inline session spans in OpenTelemetry format.

Attributes

value instance-attribute
value: list[Document]

AgentTracesConfigCloudwatchLogs dataclass

Agent traces read from CloudWatch Logs.

Attributes

value instance-attribute

AgentTracesConfigBatchEvaluation dataclass

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

Attributes

value instance-attribute

AgentTracesConfigUnknown dataclass

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