Skip to content

Commit 62609b2

Browse files
committed
migration
1 parent 1ba1f8d commit 62609b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MIGRATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ In v8, the Span class is heavily reworked. The following properties & methods ar
142142
- `span.data`: Use `spanToJSON(span).data` instead.
143143
- `span.setTag()`: Use `span.setAttribute()` instead or set tags on the surrounding scope.
144144
- `span.setData()`: Use `span.setAttribute()` instead.
145+
- `span.transaction`: Use `getRootSpan` utility function instead.
145146
- `transaction.setContext()`: Set context on the surrounding scope instead.
146147

147148
## Deprecate `pushScope` & `popScope` in favor of `withScope`

0 commit comments

Comments
 (0)