Skip to content

Commit 0134665

Browse files
committed
migration doc
1 parent 9bc209f commit 0134665

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.op`: Use `startSpan` functions to set, `setAttribute()` to update and `spanToJSON` to read the span operation.
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)