Skip to content

Browser client tracing tries attaching wasm blobs to spans, exceeding envelope size #17345

@brunohaid

Description

@brunohaid

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Load a piece of wasm code that gets attached to a tracing span.

Expected Result

It's possible to filter data.url, data.http.url and description with beforeSendSpan and/or beforeBreadcrumb, but the client should be smart enough to truncate instead of sending a payload it knows the backend won't accept.

Actual Result

The tracing library tries attaching wasm blobs like url: "data:application/octet-stream;base64,AGFzbQEAAAABqwVRYAF/AX9gAX8AYAJ/fwBgAn9/AX9g... as both data.url and data['http.url'] and GET data:application/octet-stream;base64,AGFzbQEAAAABqwVRY... as description, immediately blowing past envelope size limits resulting in a 400 response with envelope exceeded size limits for type 'event' .

Product Area

Ingestion and Filtering

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions