Closed AndrewMacKenzieFD closed 7 months ago
@AndrewMacKenzieFD there's no obvious reasons why the SDK would not obtain HttpClientPoolAvailableCount or HttpClientPoolPendingCount, specially because the three metrics are captured at the same time:
Is this something reproducible? Is it intermittent or it happens every time?
JDK 17 is not supported in the Java SDK v1, this could be related but I'm not sure. Could you test with JDK <= 16?
It looks like this issue has not been active for more than five days. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please add a comment to prevent automatic closure, or if the issue is already closed please feel free to reopen it.
Upcoming End-of-Support
Describe the bug
version 1.11.804
aws-sdk-core - AwsSdkMetrics
We are attempting to use this package in order to monitor our SNS connection pools, during testing we have observed that both HttpClientPoolAvailableCount & HttpClientPoolPendingCount are not being reported when making requests, but HttpClientPoolLeasedCount is.
We have implemented our own RequestMetricCollector with additional logging and can confirm that there are no instances of the aforementioned metrics as part of the AWSRequestMetrics object on the requests in question from both SNS and SQS.
Expected Behavior
We would expect these metrics to be produced.
Current Behavior
The metrics HttpClientPoolAvailableCount & HttpClientPoolPendingCount are not being reported as part of the Request inside the AWSRequestMetrics object during any SNS or SQS operation.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
1.11.804
JDK version used
17
Operating System and version
docker - eclipse-temurin:17-alpine