-
Notifications
You must be signed in to change notification settings - Fork 920
Add support for tracking business metrics from resolved endpoints #6263
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
Conversation
codegen/src/main/java/software/amazon/awssdk/codegen/poet/rules/TestGeneratorUtils.java
Show resolved
Hide resolved
.thenReturn(CompletableFuture.completedFuture( | ||
Endpoint.builder() | ||
.url(URI.create("https://my-service.com")) | ||
.putAttribute(AwsEndpointAttribute.METRIC_VALUES, Arrays.asList("O", "K")) |
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.
Do we have tests for putting empty list?
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.
Will add
...va/software/amazon/awssdk/codegen/poet/rules/EndpointProviderCompiledRulesClassSpecTest.java
Show resolved
Hide resolved
...src/test/java/software/amazon/awssdk/codegen/poet/rules/EndpointRulesClientTestSpecTest.java
Outdated
Show resolved
Hide resolved
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
Add support for tracking business metrics from resolved endpoints.
Motivation and Context
Endpoints resolved from Endpoint rules may have the
metricValues
property which is an array of strings with business metric values that should be tracked - for example, an accountID based endpoint that is resolved may have the accountID endpoint feature metric value.Modifications
Testing
Added a new functional test.
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License