Add Karpenter metrics integration to OTEL Container Insights - #325
Merged
sky333999 merged 7 commits intoAug 7, 2026
Merged
Conversation
This was referenced Jul 2, 2026
vaishnavi-30-beep
force-pushed
the
feature/karpenter-integration
branch
from
July 27, 2026 11:03
623653c to
5b9f5b3
Compare
petruanica
reviewed
Jul 27, 2026
petruanica
approved these changes
Jul 27, 2026
vaishnavi-30-beep
force-pushed
the
feature/karpenter-integration
branch
from
July 30, 2026 15:30
5b9f5b3 to
6537ea5
Compare
…karpenter metrics
Move k8sattributes/cw_k8s_ci_v0_pod and transform/cw_k8s_ci_v0_set_workload outside the kubeStateMetrics.enabled conditional so they render regardless of the KSM toggle. These processors are shared by the Karpenter pipeline and must be present even when KSM is disabled.
vaishnavi-30-beep
force-pushed
the
feature/karpenter-integration
branch
from
July 30, 2026 18:54
6537ea5 to
74d8d85
Compare
sky333999
approved these changes
Jul 30, 2026
TravisStark
approved these changes
Aug 3, 2026
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.
Supersedes #322 (retargeted to release-6.3.0)
This PR adds a Karpenter metrics integration to the OTEL Container Insights pipeline.
When enabled, the cluster-scraper agent automatically discovers and scrapes Karpenter's
Prometheus metrics endpoint, enriches them with Kubernetes semantic conventions, and
exports to CloudWatch via OTLP.
Description of changes:
values.yaml
otelContainerInsights.solutions.karpenterconfiguration section withenabled,namespaceparameters_otel-container-insights-cluster-scraper-config.tpl
Testing
CI integration tests passing for Karpenter under eks_daemon:otel_standard_test: https://github.com/aws/amazon-cloudwatch-agent/actions/runs/28984147604/job/86009444350

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.