Skip to content

Commit dae84d0

Browse files
authored
feat(js): Add clarification for beforeSendSpan argument (#13405)
1 parent a0856da commit dae84d0

File tree

1 file changed

+2
-0
lines changed
  • docs/platforms/javascript/common/configuration

1 file changed

+2
-0
lines changed

docs/platforms/javascript/common/configuration/options.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ This function is called with a serialized span object, and can return a modified
377377
This function is only called for root spans and all children.
378378
If you want to drop the root span, including all of its child spans, use [`beforeSendTransaction`](#beforeSendTransaction) instead.
379379

380+
Please note that the `span` you receive as an argument is a serialized object, not a `Span` class instance.
381+
380382
</SdkOption>
381383

382384
<SdkOption name="ignoreTransactions" type='Array<string | RegExp>' defaultValue='[]'>

0 commit comments

Comments
 (0)