Skip to content

Add Karpenter metrics integration to OTEL Container Insights - #325

Merged
sky333999 merged 7 commits into
aws-observability:mainfrom
vaishnavi-30-beep:feature/karpenter-integration
Aug 7, 2026
Merged

Add Karpenter metrics integration to OTEL Container Insights#325
sky333999 merged 7 commits into
aws-observability:mainfrom
vaishnavi-30-beep:feature/karpenter-integration

Conversation

@vaishnavi-30-beep

@vaishnavi-30-beep vaishnavi-30-beep commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

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

  • Added otelContainerInsights.solutions.karpenter configuration section with
    enabled, namespace parameters

_otel-container-insights-cluster-scraper-config.tpl

  • Added Prometheus receiver using Kubernetes pod service discovery
  • Added scope processor for pipeline attribution
  • Added groupbyattrs and transform processors for K8s semantic convention enrichment
  • Added dedicated resourcedetection instance (cloud-level attributes only, no host/AZ)
  • Added pipeline definition wiring receiver through processors to exporter

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
Screenshot 2026-07-09 at 10 58 37
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Comment thread RELEASE_NOTES
@vaishnavi-30-beep
vaishnavi-30-beep force-pushed the feature/karpenter-integration branch from 5b9f5b3 to 6537ea5 Compare July 30, 2026 15:30
@vaishnavi-30-beep
vaishnavi-30-beep force-pushed the feature/karpenter-integration branch from 6537ea5 to 74d8d85 Compare July 30, 2026 18:54
@sky333999
sky333999 merged commit 5c193a9 into aws-observability:main Aug 7, 2026
34 of 37 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.

4 participants