

# SamplingConfig
<a name="API_SamplingConfig"></a>

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

## Contents
<a name="API_SamplingConfig_Contents"></a>

 ** samplingPercentage **   <a name="bedrockagentcorecontrol-Type-SamplingConfig-samplingPercentage"></a>
 The percentage of agent traces to sample for evaluation, ranging from 0.01% to 100%.   
Type: Double  
Valid Range: Minimum value of 0.01. Maximum value of 100.0.  
Required: Yes

## See Also
<a name="API_SamplingConfig_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/SamplingConfig) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/SamplingConfig) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/SamplingConfig) 