-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Test Cases for Metric Rollup Addition of [RemoteService, RemoteTarget, ...] #41
Conversation
|
debb2a2
to
c1019cf
Compare
c1019cf
to
12f4634
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, just some cleanup and potential improvements.
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
validator/src/main/resources/expected-data-template/eks/aws-sdk-call-metric.mustache
Outdated
Show resolved
Hide resolved
validator/src/test/java/com/amazon/aoc/validators/CWMetricValidatorTest.java
Outdated
Show resolved
Hide resolved
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
validator/src/main/java/com/amazon/aoc/validators/CWMetricValidator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please ensure that the sample app images in the E2E testing accounts contain the changes necessary to support this change
Add Test Cases for Metric Rollup Addition of [RemoteService, RemoteTarget, ...]
Add Test Cases for Metric Rollup Addition of [RemoteService, RemoteTarget, ...]
Add Test Cases for Metric Rollup Addition of [RemoteService, RemoteTarget, ...]
Add Test Cases for Metric Rollup Addition of [RemoteService, RemoteTarget, ...]
In this commmit we are removing support for Python 3.7, to align with upstream: open-telemetry/opentelemetry-python-contrib#2152 By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
aws/amazon-cloudwatch-agent#1010
Recently the following metric rollups were added to 2 AppSignal Configuration files. Tests need to be added for them
[RemoteService, RemoteTarget]
[HostedIn.<Attributes>, Service, RemoteService, RemoteTarget]
Description of changes:
Add tests for new metric rollups
testingId=${{ env.TESTING_ID }}
to the sample app via request-body to generate new metrics and pass new Metric Validations--remote-target-name ::s3:::e2e-test-bucket-name-${{ env.TESTING_ID }}
to validator so it can query new metricsRemoteTarget
value that includes testingId::s3:::e2e-test-bucket-name-{{testingId}}
)RemoteTarget=<s3_bucket_name_input>
Testing done:
15 minute canaries running successfully for 12+ hours:
EC2 Java in IAD: https://github.com/jj22ee/aws-application-signals-test-framework/actions/workflows/test-ec2-java.yml
EKS Java in IAD: https://github.com/jj22ee/aws-application-signals-test-framework/actions/workflows/test-eks-java.yml
EC2 Python in IAD: https://github.com/jj22ee/aws-application-signals-test-framework/actions/workflows/test-ec2-python.yml
EKS Python in IAD: https://github.com/jj22ee/aws-application-signals-test-framework/actions/workflows/test-eks-python.yml
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.