Description
When attempting to include the STS dependency to allow for Web Identity Token's to be retrieved from the environment/container, the following error is produced - ... WebIdentityTokenCredentialsProvider(): No op collector does not support createChild ...
I traced this particular error down to this PR, where a comment specifically mentioned that this could lead to a problem #1938 (comment) when the NoOpMetricCollector
is used.
I wasn't able to find a suitable workaround other than downgrading the dependency to exclude these changes. The code in question had no metric configuration whatsoever, so I'm assuming that the NoOpMetricCollector
was instantiated behind the scenes. Likewise I couldn't find a way to completely disable metrics (to avoid even the NoOp collector).