Add OTEL Container Insights tests - #744
Merged
Merged
Conversation
Paamicky
force-pushed
the
mcommey/containerinsights-test
branch
from
August 17, 2026 19:55
fb413ab to
e7a79dd
Compare
Paamicky
force-pushed
the
mcommey/containerinsights-test
branch
2 times, most recently
from
August 18, 2026 19:15
34c82f2 to
d22b0f3
Compare
Paamicky
force-pushed
the
mcommey/containerinsights-test
branch
from
August 18, 2026 19:37
d22b0f3 to
71ea9f5
Compare
Paamicky
force-pushed
the
mcommey/containerinsights-test
branch
from
August 20, 2026 14:25
e9c443c to
b8871b0
Compare
Paamicky
force-pushed
the
mcommey/containerinsights-test
branch
from
August 20, 2026 15:20
b8871b0 to
5590add
Compare
movence
reviewed
Aug 24, 2026
movence
left a comment
Contributor
There was a problem hiding this comment.
is there a way to leverage already existing tests under https://github.com/aws/amazon-cloudwatch-agent-test/tree/main/test/otel/solutions?
movence
reviewed
Aug 24, 2026
movence
approved these changes
Aug 25, 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.
Description of the issue
Container Insights (OTEL-native) had no e2e integration test. Need coverage that
node metrics, cluster metrics (incl. KEDA/Karpenter solutions), and CI logs reach
CloudWatch.
Description of changes
Adds
test/e2e/containerinsights/using the operator/helm/addon e2e framework:TestContainerInsightswith Node/Cluster/KEDA/Karpenter metric subtests + CI logs.test.run.idstamped viaopentelemetry.resource_attributes; all queries filter on@resource.test.run.id.otlpvalidationhelper; logs via the CloudWatch Logs API.resources/keda_karpenter.yaml: stub emitters so the solutions pipelines have scrape targets (applied inTestMain, deleted on-destroy).eks_e2e_containerinsightsin the generator.Note
EKS Addon test will be added as a follow up once Addon is released with changes
License
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Tests
go vet+gofmtclean on touched packages.