Sentry Python SDK 3.0 connects traces across Lambda, SQS, SNS and Bedrock
Brief
Sentry Python SDK 3.0 extends tracing across AWS service calls and messaging, and adds detailed spans for Bedrock conversations.
Trace AWS calls across services
- Trace context now continues through synchronous Lambda Invoke calls; SQS and SNS message attributes can link producer and consumer traces.
- The SDK's Boto3Integration handles propagation automatically when active; trace metadata can also be passed manually.
Bedrock and setup
- Bedrock Converse and ConverseStream calls create GenAI spans with model inputs, outputs and token usage.
- Install with
uv add "sentry-sdk>=3.0.0"and initializeAwsLambdaIntegrationin the function.
Generated by AI from the original article. Check the source for full details.