Adds business metrics for credential providers #5814
+350
−151
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Tracking how credentials were resolved
Modifications
source
on some builders for credential providers. It's the only non-trivial way to link more than one metrics value togetherDeviations from specs:
u
because it doesn't make sense - It's already tracked as legacy via theCREDENTIALS_PROFILE_SSO_LEGACY
t
value. Once in the SSO provider legacy doesn't really matter. The regularCREDENTIALS_PROFILE_SSO
value ofs
can be used for both cases. You can't really set a legacy client without coming from the profilep,0
for the imds call andp,0,i
for the credential metrics: named provider followed by imds followed by assume role. Instead, we'll havep,0
andp,i
for the imds call and the assume roll call respectively.Testing
Screenshots (if appropriate)
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