Skip to content

feat(boto3): Add SQS extension - #8137

Draft
pabloDeputter wants to merge 2 commits into
major/3.0from
pablo/boto3-add-sqs-extension
Draft

pabloDeputter wants to merge 2 commits into
major/3.0from
pablo/boto3-add-sqs-extension

Conversation

@pabloDeputter

Copy link
Copy Markdown
Member

Description

Adds the SQS extension, now SQS MESSAGING operations become queue.* spans so they show up in the Queues insight; all other SQS APIs stay rpc:

  • SendMessage, SendMessageBatch: queue.publish, kind producer (default is client), named send <queue>
  • ReceiveMessage: queue.receive, named receive <queue>
  • DeleteMessage, DeleteMessageBatch: queue.settle, named settle <queue>

Adds the following attributes:

  • messaging.system (aws_sqs), messaging.operation.type and messaging.operation.name on the messaging APIs (all from OTel)
  • messaging.batch.message_count on batch APIs: submitted entries for send/delete, returned messages for receive
  • messaging.message.id on SendMessage, and on ReceiveMessage when exactly one message is returned
  • aws.sqs.queue.url and messaging.destination.name (queue name) on every API with QueueUrl; destination name also from QueueName and SourceArn

Issues

Resolves #7572 & PY-2803

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 57570 passed | ⏭️ 2943 skipped | Total: 60513 | Pass Rate: 95.14% | Execution Time: 163m 4s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -83388
Passed Tests 📉 -78997
Failed Tests —
Skipped Tests 📉 -4391

All tests are passing successfully.

✅ Patch coverage is 100.00% (57 of 57 changed executable lines covered; target 80%).
Project statement coverage is 90.18%.

Changed files with executable lines (4)
File Patch coverage Changed executable lines
sentry_sdk/integrations/boto3/_services/sqs.py 100.00% 44/44 covered; partial branches: 53, 63
sentry_sdk/consts.py 100.00% 8/8 covered
sentry_sdk/integrations/boto3/_instrumentation.py 100.00% 3/3 covered
sentry_sdk/integrations/boto3/_services/base.py 100.00% 2/2 covered

Generated by Coverage Action

@pabloDeputter
pabloDeputter force-pushed the pablo/boto3-add-sqs-extension branch from 5f4f1d0 to 0f90423 Compare October 27, 2026 16:59

This branch has not been deployed

No deployments
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