interface CfnOTelEnrichmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudWatch.CfnOTelEnrichmentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudwatch#CfnOTelEnrichmentProps |
Java | software.amazon.awscdk.services.cloudwatch.CfnOTelEnrichmentProps |
Python | aws_cdk.aws_cloudwatch.CfnOTelEnrichmentProps |
TypeScript | aws-cdk-lib » aws_cloudwatch » CfnOTelEnrichmentProps |
Properties for defining a CfnOTelEnrichment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const cfnOTelEnrichmentProps: cloudwatch.CfnOTelEnrichmentProps = {
excludeFilters: [{
namespace: 'namespace',
// the properties below are optional
metricNames: ['metricNames'],
}],
includeFilters: [{
namespace: 'namespace',
// the properties below are optional
metricNames: ['metricNames'],
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| exclude | IResolvable | (IResolvable | OTel)[] | Removes metrics from the include set. |
| include | IResolvable | (IResolvable | OTel)[] | Scopes enrichment to a subset of the account's telemetry. |
excludeFilters?
Type:
IResolvable | (IResolvable | OTel)[]
(optional)
Removes metrics from the include set.
Absent or empty means nothing is removed. Evaluated after IncludeFilters, so ExcludeFilters always wins.
includeFilters?
Type:
IResolvable | (IResolvable | OTel)[]
(optional)
Scopes enrichment to a subset of the account's telemetry.
Absent or empty means all namespaces are in scope. Present means only these are. The service enforces a combined cap of 100 selectors across IncludeFilters and ExcludeFilters, and rejects more than one selector for the same namespace within a direction.

.NET
Go
Java
Python
TypeScript