Skip to content

feat: scrape load balancer, NAT gateway and EBS metrics from CloudWatch - #108

Merged
jtslear merged 1 commit into
mainfrom
skarbek/cloudwatch-exporter-aws
Nov 24, 2026
Merged

jtslear merged 1 commit into
mainfrom
skarbek/cloudwatch-exporter-aws

Conversation

@jtslear

@jtslear jtslear commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #107; the base is that branch and GitHub will retarget this to main once it merges.

Extends the optional cloudwatch-exporter config with discovery jobs for the AWS pieces around a cluster, each exposed as aws_<service>_<metric>_<statistic>:

Namespace Metrics
AWS/ApplicationELB RequestCount (Sum), HTTPCode_Target_5XX_Count (Sum), TargetResponseTime (p95)
AWS/NetworkELB UnHealthyHostCount (Average)
AWS/NATGateway ErrorPortAllocation (Sum), ConnectionAttemptCount (Sum)
AWS/EBS VolumeQueueLength (Average)

EBS uses a 300s period because volumes report at five-minute granularity; the others use 60s. Resources are discovered by type, so every load balancer, NAT gateway and volume in the region is covered. CloudWatch API calls (GetMetricData) are billed, so tune period and length or add searchTags if that matters. The exporter is still off by default.

Checked: the config passes yace verify-config, the chart lints, and against a real EKS Auto sandbox the series appeared with exactly these names, including aws_applicationelb_target_response_time_p95. Some stay empty when CloudWatch has no datapoints, for example httpcode_target_5xx_count when there are no 5xx responses.

🤖 Generated with Claude Code

@jtslear
jtslear added this pull request to stack #109 November 13, 2026 16:36
@jtslear
jtslear marked this pull request as ready for review November 13, 2026 16:37
Base automatically changed from skarbek/cloudwatch-exporter-rds to main November 24, 2026 15:30
Extend the optional cloudwatch-exporter config with discovery jobs for
AWS/ApplicationELB (requests, target 5xx, p95 target response time),
AWS/NetworkELB (unhealthy hosts), AWS/NATGateway (port allocation
errors, connection attempts) and AWS/EBS (volume queue length). They
are exposed as aws_<service>_<metric>_<statistic> series.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jtslear
jtslear force-pushed the skarbek/cloudwatch-exporter-aws branch from 91bcf21 to 628de0b Compare November 24, 2026 15:31
@jtslear
jtslear merged commit 3c293e9 into main Nov 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants