Skip to content

Commit 39baf48

Browse files
committed
add migration doc
1 parent 0f23988 commit 39baf48

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
@@ -15,6 +15,7 @@ In v8, the Span class is heavily reworked. The following properties & methods ar
1515
* `span.toContext()`: Access the fields directly instead.
1616
* `span.updateWithContext(newSpanContext)`: Update the fields directly instead.
1717
* `span.setName(newName)`: Use `span.updateName(newName)` instead.
18+
* `span.toTraceparent()`: use `spanToTraceHeader(span)` util instead.
1819

1920
## Deprecate `pushScope` & `popScope` in favor of `withScope`
2021

0 commit comments

Comments
 (0)