Commit 5cfb5ad
docs(webapp): clarify Sentry trace_id override is intentional
Adds a code comment on addOtelTraceContextToEvent explaining that
overwriting Sentry's contexts.trace.trace_id is the design intent —
with skipOpenTelemetrySetup: true, Sentry's auto-generated trace_id
is unrelated to OTel, and replacing it is the whole point of the
processor.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 02a8fc0 commit 5cfb5ad
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments