If you have ever wanted to query EC2 or RDS metrics in PromQL without running your own Prometheus, this is the setting you need. It is free at the basic level. It is also very easy to switch on the wrong level by accident, because the paid one is the default in the API.
Everything below comes from the 27 November announcement and the CloudWatch user guide. I haven't run the commands.
What enrichment does
AWS services publish classic metrics to CloudWatch. Enrichment turns those into OpenTelemetry data points you can query with PromQL. It applies to metrics that carry a resource identifier dimension, for example EC2 CPUUtilization with an InstanceId.
The enriched data point gets:
- resource attributes: the ARN (
cloud.resource_id), cloud provider, Region and account ID - an instrumentation scope naming the source service
- your original CloudWatch dimensions, kept as data point attributes
The original metrics are not touched. Existing CloudWatch APIs and alarms keep working.
One thing to know: some metrics get a rewritten name. The docs give the API Gateway 4XXError metric with a Method dimension, which becomes 4XXErrorByMethod. Look up the names before you write dashboards.
Two levels, one expensive default
| Level | Adds | Cost |
|---|---|---|
| Basic | Resource attributes and scope, no tags | No additional charge |
| Resource tag enrichment | Basic plus resource tags as PromQL labels | Billed as OTel Vended Metric Enrichment |
The charge for tag enrichment applies only to data points that actually get one or more tag labels. Metrics matching no tags pass through free.
Now the trap. The docs say resource tag enrichment is the default if you omit EnableTagEnrichment when you start enrichment. So be explicit:
# basic, no extra charge aws cloudwatch start-otel-enrichment --no-enable-tag-enrichment # with tags, charged aws cloudwatch start-otel-enrichment --enable-tag-enrichment The CloudFormation resource is AWS::CloudWatch::OTelEnrichment with the same EnableTagEnrichment property. If you omit it there, the default is also true. And if you later remove the property from a template, the stored level does not change.
Tag enrichment has a prerequisite: you must enable resource tags on telemetry for the account first. Also, it is per Region, so repeat it in each one you use.
What I'd do
Start with basic. It gets you PromQL over AWS service metrics, and it costs nothing. Then ask a hard question: do I really need tags as labels? If your SLO queries group by team or environment, yes. If you can group by ARN or account, maybe not.
If you set up CloudWatch Omni, the announcement says basic enrichment is on by default. Any account can also turn it on directly in the console, CLI or SDKs.
I haven't seen the per-data-point price for tag enrichment, so I'd check the CloudWatch pricing page before enabling it on a busy account.
Sources
- CloudWatch basic OpenTelemetry enrichment announcement
- AWS vended metrics in OpenTelemetry format (user guide)
Drafted with AI assistance. I review and edit every post.
