feat(boto3): Add response, retry, and error span attributes - #7499
Open
pabloDeputter wants to merge 12 commits into
Open
pabloDeputter wants to merge 12 commits into
pabloDeputter wants to merge 12 commits into
Conversation
pabloDeputter
added this pull request to stack #7500
September 14, 2026 12:53
Contributor
Codecov Results 📊✅ 130488 passed | ⏭️ 7171 skipped | Total: 137659 | Pass Rate: 94.79% | Execution Time: 434m 57s 📊 Comparison with Base Branch
All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2548 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## master #PR +/-##
==========================================
+ Coverage 90.19% 90.30% +0.11%
==========================================
Files 194 198 +4
Lines 25997 26269 +272
Branches 9662 9738 +76
==========================================
+ Hits 23448 23721 +273
- Misses 2549 2548 -1
- Partials 1450 1457 +7Generated by Codecov Action |
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
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
3 times, most recently
from
September 21, 2026 16:07
6c9e3a8 to
a72a791
Compare
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 22, 2026 08:52
a72a791 to
27fe92e
Compare
pabloDeputter
force-pushed
the
pablo/add-boto3-response-retry-error-attributes
branch
from
September 22, 2026 09:18
e13bbad to
cc152e2
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