Skip to content

Commit a785ca9

Browse files
committed
docs: Update MIGRATION.md
1 parent 7151a17 commit a785ca9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎MIGRATION.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ Attribute availability remains runtime-dependent. For example, browser and Worke
872872

873873
Span attributes now use the shared `@sentry/conventions` package under the hood.
874874
The deprecated `semanticAttributes` re-export was removed. Import span attribute constants from `@sentry/core` directly.
875-
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use the `sentry.segment.name.source` attribute instead. The SDK does not export a constant for it, import `SENTRY_SEGMENT_NAME_SOURCE` from `@sentry/conventions/attributes` or use the string.
875+
`SEMANTIC_ATTRIBUTE_SENTRY_SOURCE` (`sentry.source`) was removed. Use the `sentry.segment.name.source` attribute instead and make sure to only set it on segment/root spans.
876876
`sentry.segment.name.source` is only set on the root span. Setting it on a child span is a no-op: `setAttribute` ignores it, and a value passed in a child span's initial attributes is dropped when the span is linked to its parent.
877877

878878
### Span operation (`op`) changes

0 commit comments

Comments
 (0)