Skip to content

Bedrock Agentcore Control  >  Structures  >  SamplingConfig

SamplingConfig

Structure Class

SamplingConfig dataclass

The configuration that controls what percentage of agent traces are sampled for evaluation to manage evaluation volume and costs.

Attributes

sampling_percentage instance-attribute
sampling_percentage: float

The percentage of agent traces to sample for evaluation, ranging from 0.01% to 100%.