Skip to content

Commit 1dd0b12

Browse files
committed
migration doc
1 parent 4dc7ef2 commit 1dd0b12

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
@@ -177,6 +177,7 @@ In v8, the Span class is heavily reworked. The following properties & methods ar
177177
- `span.setData()`: Use `span.setAttribute()` instead.
178178
- `span.instrumenter` This field was removed and will be replaced internally.
179179
- `span.transaction`: Use `getRootSpan` utility function instead.
180+
- `span.status`: Use `.setStatus` to set or update and `spanToJSON()` to read the span status.
180181
- `transaction.setMetadata()`: Use attributes instead, or set data on the scope.
181182
- `transaction.metadata`: Use attributes instead, or set data on the scope.
182183
- `transaction.setContext()`: Set context on the surrounding scope instead.

0 commit comments

Comments
 (0)