### Description As spec'd out in the [RFC](https://github.com/getsentry/rfcs/blob/main/text/0141-linking-traces.md) ([PR](https://github.com/getsentry/rfcs/pull/141) of RFC), the JS SDK should support adding and sending span links to Sentry. This means: - implement `Span.addLink` - implement `Span.addLinks` - add `links` property to `StartSpanOptions` - [serialize](https://github.com/getsentry/rfcs/blob/main/text/0141-linking-traces.md#envelope-item-payload-changes) span links in transaction events --- **Span Links** - [x] https://github.com/getsentry/sentry-javascript/pull/15375 - [x] https://github.com/getsentry/sentry-javascript/pull/15387 - [x] https://github.com/getsentry/sentry-javascript/pull/15452 - [x] https://github.com/getsentry/sentry-javascript/pull/15403 - [x] https://github.com/getsentry/sentry-javascript/pull/15453 **Docs** - [x] https://github.com/getsentry/sentry-docs/pull/12829
Description
As spec'd out in the RFC (PR of RFC), the JS SDK should support adding and sending span links to Sentry.
This means:
Span.addLinkSpan.addLinkslinksproperty toStartSpanOptionsSpan Links
addLink(s)to span #15387addLink(s)to Sentry span #15452linksto span options #15403Docs