Your team uses Prometheus and Grafana, but RDS, SQS and ALB metrics live only in CloudWatch. How do you unify?
IntermediateScenarioCloud Monitoring, Incidents and Migrations
Answer
Situation read → Choose between querying CloudWatch live and copying metrics into Prometheus.
What I'd do →
- For dashboards only: add the Grafana CloudWatch datasource; no copying.
- For PromQL alerts and joins with app metrics: run YACE scoped by tag and namespace:
discovery: jobs: - type: AWS/SQS regions: [eu-west-1] searchTags: [{ key: team, value: payments }] metrics: - { name: ApproximateNumberOfMessagesVisible, statistics: [Maximum], period: 60, length: 300 } - For many accounts or high volume: CloudWatch Metric Streams to a collector.
- Account for CloudWatch delay (metrics arrive minutes late) in alert
for:durations.
Why → One query language and one alerting system reduce on-call confusion.
Interview tip → Mention cost: every polled metric is a billed GetMetricData request.
More on Cloud Monitoring, Incidents and Migrations
A new AWS workload uses EC2, an ALB and RDS, with only CloudWatch available. Which alarms do you create first?BeginnerThe CloudWatch bill jumped from $2k to $15k a month. How do you find and cut the cost?IntermediateYour company has 50 AWS accounts. How do you get one monitoring view?IntermediateHow do you monitor a fleet of AWS Lambda functions?BeginnerYour RDS PostgreSQL database gets slow every afternoon. What monitoring do you use to find out why?BeginnerFor a new EKS cluster, should you use CloudWatch Container Insights or the Prometheus stack?Intermediate