Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide transfer statistics for requests made in credential providers #2770

Open
2 tasks
umesecke opened this issue Sep 5, 2023 · 0 comments
Open
2 tasks
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue queued This issues is on the AWS team's backlog

Comments

@umesecke
Copy link

umesecke commented Sep 5, 2023

Describe the feature

The SDK allows enabling transfer statistics for each request by setting the stats configuration option. This does not include requests made in the credential providers (e.g. InstanceProfileProvider). Right now there is no way to monitor those requests and track retries or request durations.

Use Case

We have connection issues with the instance metadata service from time to time and would like to provide metrics with number of retries and request durations so we can analyze the issues or handle faulty instances automatically. For that we need to collect those metrics for each request.

Proposed Solution

As we already collect metrics for each request to AWS services using a middleware it would be awesome when the statistics from the provider requests could just be added to the results or exceptions as well.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

3.277.2

Environment details (Version of PHP (php -v)? OS name and version, etc.)

PHP 8.1.18 (cli) (built: Apr 14 2023 04:39:44) (NTS)

@umesecke umesecke added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Sep 5, 2023
@yenfryherrerafeliz yenfryherrerafeliz added needs-review p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Sep 8, 2023
@RanVaknin RanVaknin added queued This issues is on the AWS team's backlog and removed needs-review labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p2 This is a standard priority issue queued This issues is on the AWS team's backlog
Projects
None yet
Development

No branches or pull requests

3 participants