Expand client metrics coverage - #4661
Draft
vcjana wants to merge 8 commits into
Draft
Conversation
Add 7 new metrics to MetricsInterceptor: - smithy.client.call.attempts (counter) - smithy.client.call.errors (counter) - smithy.client.call.serialization_duration (histogram) - smithy.client.call.deserialization_duration (histogram) - smithy.client.call.auth.signing_duration (histogram) - smithy.client.call.auth.resolve_identity_duration (histogram) - smithy.client.call.resolve_endpoint_duration (histogram) Identity and endpoint resolution durations are measured in the orchestrator and stored in the ConfigBag for the interceptor to record.
vcjana
force-pushed
the
expand-client-metrics
branch
from
May 11, 2026 23:25
e70cd0e to
0414085
Compare
vcjana
force-pushed
the
expand-client-metrics
branch
from
May 11, 2026 23:26
0414085 to
e3e38b6
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
vcjana
marked this pull request as ready for review
May 12, 2026 15:56
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
vcjana
force-pushed
the
expand-client-metrics
branch
from
May 12, 2026 19:31
3d9ffcb to
43b0a25
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as low quality.
This comment was marked as low quality.
aajtodd
reviewed
May 13, 2026
aajtodd
left a comment
Collaborator
There was a problem hiding this comment.
Some questions/thoughts that don't necessarily have to be resolved in this PR.
- We should ensure we do a comprehensive review and update of our observability documentation in the dev guide as part of this. #4503
- We should define and integrate a new telemetry provider based on metrique: #4502
- Have we given any additional thought to unit of work (per request metrics rather than only aggregate we have now): #4499
|
A new generated diff is ready to view.
A new doc preview is ready to view. |
vcjana
marked this pull request as draft
June 3, 2026 22:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Addresses #4248. Adds 7 new metrics to MetricsInterceptor
call.attemptscall.errorsserialization_durationdeserialization_durationauth.signing_durationauth.resolve_identity_durationresolve_endpoint_duration.Identity/endpoint resolution timed in the orchestrator (no interceptor hooks for these phases), stored in ConfigBag.
Testing
Ran DDB PutItem benchmark with TelemetryProvider configured. the output confirms all 7 metrics are captured end-to-end