Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e966cdc

Browse files
authored
doc(core): Fix outdated JSDoc in beforeSendSpan (#17815)
Spotted that we still documented that the root span does not go through `beforeSendSpan`. This is outdated. Since v9, we also pass the root span to the callback.
1 parent 7b40a95 commit e966cdc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎packages/core/src/types-hoist/options.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,6 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
408408
/**
409409
* This function can be defined to modify a child span before it's sent.
410410
*
411-
* Note that this function is only called for child spans and not for the root span (formerly known as transaction).
412-
* If you want to modify or drop the root span, use {@link CoreOptions.beforeSendTransaction} instead.
413-
*
414411
* @param span The span generated by the SDK.
415412
*
416413
* @returns The modified span payload that will be sent.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /