Commit 3a14868
[OTLP/OCB] Add e2e canary tests running on Java/EKS using OTLP endpoint (#328)
*Issue description:*
Add test case for OTLP+OCB testing
- Add e2e test Canary running in IAD in new OTLP specific test accounts
- Added validation files
- Note - The diffs compared to non-OTLP are numerous. [See majority of
the diffs
here](5622948).
- Added terraform files
- Include test resources specific for OTLP+OCB testing:
- `terraform/java/eks-otlp-ocb/util/appsignals-collector.yaml`
- Contains OCB Collector and auto-instrumentation configurations for use
on EKS
- `terraform/java/eks-otlp-ocb/util/enable-app-signals-ocb.sh`
- Enablement script to install OpenTelemetry Operator in EKS cluster and
sets up IAM Service Account.
Update Validator
- support `remoteServiceIp` input
- if provided, query metrics for remoteServiceNames with
`remoteServiceIp`
- Changes to
`validator/src/main/java/com/amazon/aoc/models/xray/Entity.java`
- Validate `metadata` as Map<String, Object> instead of Map<String,
Map<String, Object>>. This change is needed for OTLP+OCB test cases, and
has been validated to work with the existing non-OTLP test cases.
*Description of changes:*
*Rollback procedure:*
- We safely revert this commit if needed
*Ensure you've run the following tests on your changes and include the
link below:*
- Test ran in new OTLP account (Java+EKS):
https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/12058149370
- Run Java EKS on `e2e-playground` in us-east-1
https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/12061315729
- Run Python EKS on `e2e-playground` in us-east-1
https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/12061315729
- ~~Run metric limiter on EKS cluster `e2e-playground` in us-east-1 and
eu-central-2~~
- Run EC2 tests in all regions
https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/12060250860/job/33630333497
- ~~Run K8s on a separate K8s cluster (check IAD test account for master
node endpoints; these will change as we create and destroy clusters for
OS patching)~~
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
---------
Co-authored-by: Mahad Janjua <[email protected]>1 parent 493353a commit 3a14868
File tree
27 files changed
+2645
-1
lines changed- .github/workflows
- terraform/java/eks-otlp-ocb
- util
- validator/src/main
- java/com/amazon/aoc
- fileconfigs
- models
- xray
- validators
- resources
- expected-data-template/java/eks-otlp-ocb
- validations/java/eks-otlp-ocb
27 files changed
+2645
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
0 commit comments