Skip to content

Commit 8fa3586

Browse files
mydeabitsandfoxes
authored andcommitted
feat(js): Add clarification for beforeSendSpan argument (#13405)
1 parent 13d2803 commit 8fa3586

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

Lines changed: 2 additions & 0 deletions
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)