Integration
VitalRix and AWS CloudWatch
Bring AWS metrics next to your traces, logs and uptime checks: chart RDS connections beside API latency and alert on both with the same rules.
3 min read10 sectionsUpdated
On this page
What it does
VitalRix pulls CloudWatch metrics with GetMetricData from up to 10 namespaces you choose (for example AWS/EC2, AWS/RDS, AWS/ApplicationELB). Every metric active in the last 3 hours is pulled, up to 500 per pull, every few minutes at a 60-second (detailed) or 300-second (basic, default) period. The metrics can then be used on dashboards and in alert rules.
Set it up
- Create a read-only IAM user. With only cloudwatch:ListMetrics and cloudwatch:GetMetricData, and create an access key for it.
- Add it in VitalRix. Settings → Integrations → AWS CloudWatch: access key ID, secret access key, region and namespaces.
- Choose the period. 300 seconds for basic monitoring, 60 for detailed monitoring.
- Build on it. Add the metrics to dashboards and alert rules.
Credentials are stored encrypted and secret fields are never shown again after saving. Use the test button before relying on it: chat tools and webhooks receive a sample message, while paging, SMS and ticketing integrations check the credentials without paging anyone or creating anything.
| Namespace | Covers |
|---|---|
| AWS/EC2 | Instance CPU, status checks, network |
| AWS/RDS | Database CPU, memory, storage, connections, replica lag |
| AWS/ApplicationELB | Load balancer 5xx, response time, healthy hosts |
| AWS/SQS | Queue depth and age of oldest message |
| AWS/Lambda | Errors, throttles, duration, concurrency |
| AWS/ECS | Service CPU and memory utilization |
| Namespace | Metrics | Use |
|---|---|---|
| AWS/EC2 | CPUUtilization, StatusCheckFailed | Saturation and failed instances |
| AWS/RDS | CPUUtilization, DatabaseConnections, FreeStorageSpace, ReplicaLag | Database health |
| AWS/ApplicationELB | HTTPCode_Target_5XX_Count, TargetResponseTime, UnHealthyHostCount | Errors and latency at the edge |
| AWS/Lambda | Errors, Throttles, Duration, ConcurrentExecutions | Function failures and limits |
| AWS/SQS | ApproximateNumberOfMessagesVisible, ApproximateAgeOfOldestMessage | Backlog and stuck consumers |
Tips
- Use a read-only IAM key limited to cloudwatch:GetMetricData and cloudwatch:ListMetrics.
- Pick up to ten namespaces you will alert on; each extra namespace adds API calls and cost on the AWS side.
- Watch the age of the oldest message, not only the queue length: a short queue that never drains is stuck. See AWS monitoring and AWS Lambda monitoring.
Check it now, free
- Is AWS down? Live status: checked every few minutes, with outage history.
Related reading
- A HetrixTools alternative: VitalRix vs HetrixTools: VitalRix vs HetrixTools: uptime and server monitoring, blacklist checks, status pages and alerts compared, plus APM, logs and on-call in one platform.
- A Checkly alternative: VitalRix vs Checkly: VitalRix vs Checkly: synthetic API and browser checks compared, monitoring as code versus in-app setup, plus APM, real-user data and on-call.
- A Honeycomb alternative: VitalRix vs Honeycomb: VitalRix vs Honeycomb: high-cardinality exploration compared with ready-made APM views, plus uptime checks, real-user data, on-call and incidents.
- A StatusCake alternative: VitalRix vs StatusCake: VitalRix vs StatusCake: uptime, page speed, SSL and domain checks compared, plus APM, real-user Core Web Vitals, on-call and incidents.
- The three pillars of observability: Logs, metrics and traces compared: what each pillar of observability is good at, what it costs, and how to link them so one alert leads to the cause.
- VitalRix and Opsgenie: Connect VitalRix to Opsgenie with the Alert API: create alerts from uptime, APM and SLO rules, acknowledge and close them on recovery, in the US or EU region.
Connect AWS CloudWatch in a few minutes
Create a free account, add a monitor and connect your tools. No credit card needed.