One Observability Workshop v3.0.0
One Observability Workshop / constructs/managed-prometheus-collector
constructs/managed-prometheus-collector¶
Managed Prometheus Collector construct for the One Observability Workshop.
Creates an AMP (Amazon Managed Service for Prometheus) Scraper that collects Prometheus metrics from ECS Fargate services via Cloud Map DNS service discovery and sends them to CloudWatch as a destination.
Since the CloudFormation AWS::APS::Scraper resource does not yet support the cloudWatchConfiguration destination, this construct uses an AwsCustomResource to call the amp:CreateScraper API directly.