-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
javascriptPull requests that update javascript codePull requests that update javascript code
Description
We used to recommend users to filter spans in beforeSendTransaction. However, this will at some point go away, so this is not really an ideal solution in the future. Instead, the idea is to allow users to filter things in their respective integrations. A good starting point for this, where we do not have this capability yet, is in browserTracingIntegration, which emits a lot of spans.
The concrete solution for this is not 100% defined, but something like a ignoreSpan: (span: Span) => boolean option to browserTracingIntegration may work well. If this returns true, it could emit a non recording span instead of a regular span. This should cover both pageload/navigation spans as well as performance entries etc.
Metadata
Metadata
Assignees
Labels
javascriptPull requests that update javascript codePull requests that update javascript code