Repository navigation
feat: add an optional CloudWatch exporter for RDS metrics - #107
Merged
Merged
Conversation
dannykopping
approved these changes
Nov 24, 2026
Add the prometheus-community yet-another-cloudwatch-exporter chart as an optional subchart (`cloudwatch-exporter.enabled`, off by default) with an AWS/RDS discovery job. It exposes CloudWatch metrics such as CPU, connections, memory, storage, latency and disk queue depth as `aws_rds_*` series, scraped through the usual prometheus.io/scrape pod annotation. AWS access is left to the cluster: annotate the service account for IRSA, or associate the `cloudwatch-exporter` service account with an IAM role through EKS Pod Identity. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
jtslear
force-pushed
the
skarbek/cloudwatch-exporter-rds
branch
from
November 24, 2026 15:27
8c6ecdc to
c650f13
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.
Adds the prometheus-community yet-another-cloudwatch-exporter chart (0.50.x, YACE v0.68.0) as an optional subchart aliased
cloudwatch-exporter. It is off by default, so rendered output is unchanged unlesscloudwatch-exporter.enabled=true.It ships an
AWS/RDSdiscovery job (60s period) for CPU, connections, freeable memory, free storage, read/write latency, disk queue depth, replica lag and burst balance, exposed asaws_rds_<metric>_average. Instances are discovered by type rather than hard-coded, and Prometheus finds the exporter through the sameprometheus.io/scrapepod annotation as everything else.AWS access is left to the cluster. Either annotate the service account for IRSA (
cloudwatch-exporter.serviceAccount.annotations) or associate thecloudwatch-exporterservice account with an IAM role through EKS Pod Identity. The role needscloudwatch:GetMetricData,cloudwatch:GetMetricStatistics,cloudwatch:ListMetricsandtag:GetResources, none of which support resource-level scoping. The region defaults tous-east-1insts-regionand the job'sregions; overridingconfigreplaces the whole block.Checked: the bundled config passes
yace verify-config, the chart lints and renders with the exporter on, and it was run against a real RDS instance in an EKS Auto sandbox where theaws_rds_*series appeared with the names above.This should let https://github.com/coder/dogfood/pull/770 be closed, since the same exporter, job and service account name are available from this chart. A follow-up PR adds jobs for load balancers, NAT gateways and EBS.
🤖 Generated with Claude Code