Repository navigation
feat: scrape load balancer, NAT gateway and EBS metrics from CloudWatch - #108
Merged
Merged
Conversation
dannykopping
approved these changes
Nov 24, 2026
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
force-pushed
the
skarbek/cloudwatch-exporter-aws
branch
from
November 24, 2026 15:31
91bcf21 to
628de0b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #107; the base is that branch and GitHub will retarget this to
mainonce it merges.Extends the optional
cloudwatch-exporterconfig with discovery jobs for the AWS pieces around a cluster, each exposed asaws_<service>_<metric>_<statistic>:AWS/ApplicationELBRequestCount(Sum),HTTPCode_Target_5XX_Count(Sum),TargetResponseTime(p95)AWS/NetworkELBUnHealthyHostCount(Average)AWS/NATGatewayErrorPortAllocation(Sum),ConnectionAttemptCount(Sum)AWS/EBSVolumeQueueLength(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 tuneperiodandlengthor addsearchTagsif 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, includingaws_applicationelb_target_response_time_p95. Some stay empty when CloudWatch has no datapoints, for examplehttpcode_target_5xx_countwhen there are no 5xx responses.🤖 Generated with Claude Code