You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core): Deprecate spanId on propagationContext (#14482)
This PR deprecates setting & reading the `spanId` on the propagation
context, as well as `generatePropagationContext()`.
Instead, you can/should now omit the spanId:
`scope.setPropagationContext({ traceId: generateTraceId() })`, which
will under the hood generate a new random span ID for the time being.
This PR does not change any behavior about using the spanId, but adds
comments for where we want to replace this in v9 - there, we'll just
generate new span IDs on the fly in these cases instead of using the one
from propagation context. The propagation context will only hold traceId
& parentSpanId (optionally).
Closes#14255
0 commit comments