Skip to content

Commit 2f5c924

Browse files
committed
migration doc
1 parent ec7cc54 commit 2f5c924

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

0 commit comments

Comments
 (0)