feat(boto3): Add response, retry, and error span attributes - #7499
Open
pabloDeputter wants to merge 1 commit into
Open
pabloDeputter wants to merge 1 commit into
pabloDeputter wants to merge 1 commit into
Conversation
pabloDeputter
added this pull request to stack #7500
September 14, 2026 12:53
Contributor
Codecov Results 📊✅ 128998 passed | ❌ 1 failed | ⏭️ 7151 skipped | Total: 136150 | Pass Rate: 94.75% | Execution Time: 429m 7s 📊 Comparison with Base Branch
➕ New Tests (1)View new tests
❌ Failed Tests
|
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 14, 2026 14:42
a15c641 to
56a7ab6
Compare
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 15, 2026 12:58
56a7ab6 to
176096b
Compare
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 17, 2026 15:48
af6b9a8 to
49474d0
Compare
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
2 times, most recently
from
September 17, 2026 16:00
2e63bac to
35f0dc3
Compare
pabloDeputter
marked this pull request as ready for review
September 17, 2026 16:07
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 18, 2026 13:02
76e7425 to
f922864
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f922864. Configure here.
pabloDeputter
removed this pull request from stack #7500
September 18, 2026 14:34
pabloDeputter
added this pull request to stack #7539
September 18, 2026 14:35
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 18, 2026 15:06
4fae1c9 to
cdd5c95
Compare
pabloDeputter
removed this pull request from stack #7539
September 18, 2026 15:08
pabloDeputter
added this pull request to stack #7541
September 18, 2026 15:08
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 18, 2026 15:20
cdd5c95 to
d55060f
Compare
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.

Description
Add generic response, retry, and error attribute enrichment to boto3 spans. Previously, only recorded request and client metadata was instrumented; information after the call such as HTTP status, retry count, etc was omitted. The new attributes follow the OTel AWS SDK conventions.
Changes
SPANDATAconsts:AWS_REQUEST_ID,AWS_EXTENDED_REQUEST_ID,HTTP_REQUEST_RESEND_COUNT, andERROR_TYPE._get_response_attributes()to extracthttp.response_status_code,http.request_resend_count,aws.request_id, andaws.extended_request_id.erorr.typefromClientError.Eror.Codeor the exception class, without recording error messages.Issues
Resolves #7476