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

collect HTTP client metrics #2809

Closed
lucix-aws opened this issue Sep 26, 2024 · 1 comment · Fixed by #2815
Closed

collect HTTP client metrics #2809

lucix-aws opened this issue Sep 26, 2024 · 1 comment · Fixed by #2815
Assignees
Labels
feature-request A feature should be added or improved. queued This issues is on the AWS team's backlog

Comments

@lucix-aws
Copy link
Contributor

lucix-aws commented Sep 26, 2024

Emit HTTP-related metrics as part of service client operations.

This is the proposed list of values to track, though net/http/httptrace may limit what we can do in this SDK:

Metric Name Unit Type Description Attributes (Dimensions)
client.http.connections.acquire_duration s Histogram The time it takes a request to acquire a connection
client.http.connections.limit {connection} UpDownCounter The maximum open connections allowed/configured for the HTTP client
client.http.connections.usage {connection} UpDownCounter Current state of connections pool state: idle / acquired
client.http.connections.uptime s Histogram The amount of time a connection has been open
client.http.requests.usage {request} UpDownCounter The current state of HTTP client request concurrency state: queued / in-flight
client.http.requests.queued_duration s Histogram The amount of time a request spent queued waiting to be executed by the HTTP client
client.http.bytes_sent By MonotonicCounter The total number of bytes sent by the HTTP client server.address
client.http.bytes_received By MonotonicCounter The total number of bytes received by the HTTP client server.address
@lucix-aws lucix-aws added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. queued This issues is on the AWS team's backlog and removed needs-triage This issue or PR still needs to be triaged. labels Sep 26, 2024
@lucix-aws lucix-aws self-assigned this Sep 26, 2024
Copy link

github-actions bot commented Oct 3, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

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. queued This issues is on the AWS team's backlog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant