Skip to content

Commit d306970

Browse files
docs: Note batch count removal from Lambda span in migration guide
1 parent 32d1d22 commit d306970

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎MIGRATION_GUIDE.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
3838
- The `UnraisableHookIntegration` is now enabled by default.
3939
- We now don't suppress chained exceptions in the ASGI and asyncio integrations by default. The related `suppress_asgi_chained_exceptions` experimental option was removed.
4040
- In the AWS Lambda and GCP integrations, the text of the message of the warning the SDK optionally emits if a function is about to time out has changed.
41+
- The AWS Lambda integration no longer sets the `messaging.batch.message_count` attribute on the function span. In 2.x span streaming mode, it was the length of the event if the event was a list, and `1` otherwise, so an SQS or SNS batch was always reported as `1`. The attribute is now only set on messaging spans, such as boto3 SQS and SNS spans.
4142
- The `http.request.header.<name>` span attributes set by server integrations are now lists of strings instead of strings.
4243
- The HTTP breadcrumbs created by the stdlib (`http.client`) and boto3 integrations now use different keys: `http.method` is now `http.request.method`, `url` (or `aws.request.url` for boto3) is now `url.full`, `http.query` is now `url.query`, and `http.fragment` is now `url.fragment`. The stdlib breadcrumb no longer contains `reason`. The query string is filtered according to `data_collection`'s `url_query_params` setting.
4344
- The `url` field of HTTP breadcrumbs created by the HTTPX, httpx2, pyreqwest, and AIOHTTP client integrations now contains the full URL, including the query string and fragment. The query string is filtered according to `data_collection`'s `url_query_params` setting.

0 commit comments

Comments
 (0)