Skip to content

Commit

Permalink
Fix broken anchor link withActiveSpan (#11129)
Browse files Browse the repository at this point in the history
anchor link was broken
  • Loading branch information
cstavitsky committed Aug 26, 2024
1 parent 321c7b9 commit ba36fa7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In contrast, **inactive spans** will never have children automatically associate

A key constraint for active spans is that they can only be made active inside of a callback. This constraint exists because otherwise it becomes impossible to associate spans with the correct parent span when working with asynchronous code.

In places where you are not able to wrap executing code in a callback (e.g. when working with hooks or similar) you have to work with inactive spans, and can combine this with [withActiveSpan](#with-active-span) to manually associate child spans with the correct parent span.
In places where you are not able to wrap executing code in a callback (e.g. when working with hooks or similar) you have to work with inactive spans, and can combine this with [withActiveSpan](#withactivespan) to manually associate child spans with the correct parent span.

<PlatformCategorySection supported={['browser']}>

Expand Down

0 comments on commit ba36fa7

Please sign in to comment.