Skip to content

Commit 167fa75

Browse files
committed
migration
1 parent 71e4ce4 commit 167fa75

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
@@ -151,6 +151,7 @@ In v8, the Span class is heavily reworked. The following properties & methods ar
151151
- `span.data`: Use `spanToJSON(span).data` instead.
152152
- `span.setTag()`: Use `span.setAttribute()` instead or set tags on the surrounding scope.
153153
- `span.setData()`: Use `span.setAttribute()` instead.
154+
- `span.transaction`: Use `getRootSpan` utility function instead.
154155
- `transaction.setContext()`: Set context on the surrounding scope instead.
155156

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

0 commit comments

Comments
 (0)