interface SamplingRateBoostProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.XRay.CfnSamplingRulePropsMixin.SamplingRateBoostProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsxray#CfnSamplingRulePropsMixin_SamplingRateBoostProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.xray.CfnSamplingRulePropsMixin.SamplingRateBoostProperty |
Python | aws_cdk.cfn_property_mixins.aws_xray.CfnSamplingRulePropsMixin.SamplingRateBoostProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_xray » CfnSamplingRulePropsMixin » SamplingRateBoostProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_xray as xray } from '@aws-cdk/cfn-property-mixins';
const samplingRateBoostProperty: xray.CfnSamplingRulePropsMixin.SamplingRateBoostProperty = {
cooldownWindowMinutes: 123,
maxRate: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| cooldown | number | Time window (in minutes) in which only one sampling rate boost can be triggered. |
| max | number | The maximum sampling rate X-Ray will apply when it detects anomalies. |
cooldownWindowMinutes?
Type:
number
(optional)
Time window (in minutes) in which only one sampling rate boost can be triggered.
After a boost occurs, no further boosts are allowed until the next window.
maxRate?
Type:
number
(optional)
The maximum sampling rate X-Ray will apply when it detects anomalies.
X-Ray determines the appropriate rate between your baseline and the maximum, depending on anomaly activity.

.NET
Go
Java
Python
TypeScript