Skip to content

Commit 75f1cd8

Browse files
committed
migration doc
1 parent d0a0046 commit 75f1cd8

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

0 commit comments

Comments
 (0)