Description
[This issue likely needs refinement]
As spec'd out in getsentry/rfcs#141, SDKs will start sending span links in transaction envelopes, specifically:
- if a root span has links in
event.contexts.trace.links
- if a child span has links in event.spans[i].links`
As of my testing, Relay already forwards links in both places. However, as discussed with @jan-auer, we should also
- add span links to the event/span types
- perform basic validation/sanitization of forwarded links
Open Questions
- Considering that links can have attributes, do we need to do anything to make PII scrubbing work?