Description
Currently the list of AWS SDK metrics includes the following metrics: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/metrics-list.html. This includes a metric for the successful API calls (ApiCallSuccessful) but not for the failed ones. There is also not a TotalApiCalls metric that would enable calculating the failed calls.
Describe the Feature
This new error metric will cover all and only the failed API calls. This covers all AWS APIs. Adding this metric to the ApiCallSuccessful metric should result in the total API calls made for that API. This metric will be a blanket metric covering all cases that led to call failure (eg. client timeout, client side request error, service logic error, client side response error, etc.)
Is your Feature Request related to a problem?
We are using multiple AWS services some of which are critical for our service to function correctly. Hence having availability metrics for these services is crucial.
Proposed Solution
N/A
Describe alternatives you've considered
A simple metric for TotalApiCalls should even work, as failed calls would be easy to calculate from that.
- [not sure ] I may be able to implement this feature request
Your Environment
- AWS Java SDK version used: v2
- JDK version used: 1.8
- Operating System and version: Amazon Linux 2