Skip to content

feat(boto3): Support span streaming#6193

Draft
alexander-alderman-webb wants to merge 8 commits intomasterfrom
webb/boto3/span-first
Draft

feat(boto3): Support span streaming#6193
alexander-alderman-webb wants to merge 8 commits intomasterfrom
webb/boto3/span-first

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 4, 2026

Description


Adapting Tests

sed commands used for converting transaction context managers:

  • sed -i '' 's/sentry_sdk.start_transaction()/sentry_sdk.traces.start_span(name="custom parent")/g'
  • sed -i '' 's/sentry_sdk.start_transaction() as transaction/sentry_sdk.traces.start_span(name="custom parent") as span/g'
  • sed -i '' 's/start_transaction() as transaction/sentry_sdk.traces.start_span(name="custom parent") as span/g'

sed commands used for converting specific attributes:

sed commands used for converting event capture:

  • sed -i '' 's/assert len(spans) == 2/assert len(spans) == 3/g'
  • sed -i '' 's/assert len(spans) == 1/assert len(spans) == 2/g'
  • sed -i '' 's/(event, ) = (item.payload for item in items if item.type == "span")/spans = [item.payload for item in items if item.type == "span"]/g'
  • sed -i '' 's/event["spans"]/spans/g'
  • sed -i '' '/assert event["type"] == "transaction"/d'
  • sed -i '' 's/transaction.finish()/span.finish()/g'
  • sed -i '' 's/(event,) = events/(event, ) = (item.payload for item in items if item.type == "span")/g'
  • sed -i '' 's/events = capture_events()/items = capture_items("event", "transaction", "span")/g'
  • sed -i '' 's/capture_events,/capture_items,/g'

sed commands used for converting op:

  • sed -i '' 's/["op"]/["attributes"]["sentry.op"]/g'

sed commands used for converting origin:

  • sed -i '' 's/["origin"]/["attributes"]["sentry.origin"]/g'

sed commands used for converting description:

  • sed -i '' 's/description/name/g'

sed commands used for converting data to attributes:

  • sed -i '' 's/["data"]/["attributes"]/g'

Issues

Reminders

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

Codecov Results 📊

13 passed | Total: 13 | Pass Rate: 100% | Execution Time: 8.27s

All tests are passing successfully.

❌ Patch coverage is 7.14%. Project has 14960 uncovered lines.

Files with missing lines (1)
File Patch % Lines
boto3.py 14.44% ⚠️ 77 Missing

Generated by Codecov Action

Comment thread tests/integrations/boto3/test_s3.py Outdated
Comment thread sentry_sdk/integrations/boto3.py
Comment thread tests/integrations/boto3/test_s3.py
Comment thread sentry_sdk/integrations/boto3.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant