Skip to content

SamplingConfig

Structure Class

SamplingConfig dataclass

Bases: _SerdeShape

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%.