Home icon

Streaming CloudWatch metrics to VPC-based OpenTelemetry collectors using Lambda

Architecture Blog



This article demonstrates how to stream CloudWatch metrics to VPC-based OpenTelemetry collectors using Lambda and AWS services.

  • Push-based architecture reduces API throttling and polling costs versus pull-based Prometheus monitoring
  • CloudWatch Metric Streams sends metrics to Data Firehose, which invokes Lambda to transform and deliver data
  • Lambda function bridges gap by pushing metrics through Network Load Balancer to internal OpenTelemetry collector
  • OpenTelemetry provides vendor-neutral observability with no licensing fees or vendor lock-in
  • Solution includes CloudWatch Streams, Data Firehose, Lambda, and EC2-hosted OpenTelemetry collector
  • Deployment options via AWS CloudFormation or AWS CLI with detailed step-by-step instructions provided
  • Enables sub-minute latency for real-time alerting and unified observability dashboard

This approach combines CloudWatch Metric Streams with OpenTelemetry to create a scalable, cost-effective monitoring solution that maintains data privacy within VPCs while avoiding third-party licensing costs.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Apr 2
2026
Amazon CloudWatch now supports OpenTelemetry metrics in public preview
Jun 15
2026
Amazon CloudWatch introduces native OpenTelemetry metrics with PromQL querying and per-GB pricing
Apr 3
2026
Introducing OpenTelemetry & PromQL support in Amazon CloudWatch
Nov 21
2024
Announcing new Amazon CloudWatch Metrics for AWS Lambda Event Source Mappings (ESMs)

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.