Skip to content

WebIdentityTokenCredentialsProvider(): No op collector does not support createChild since 2.13.52 #1990

Closed
@tylerwilding-wk

Description

@tylerwilding-wk

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.closed-for-stalenessresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 10 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions