getsentry / getsentry/sentry-javascript
Outgoing fetch trace propagation is broken on Bun
Open
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 523
Description
`sentry-trace` and `baggage` headers are not attached to outgoing `fetch()` requests. The OTel `nativeNodeFetchIntegration` does not intercept Bun's native fetch implementation, so distributed tracing across services does not work. The inbound request starts a new trace instead of continuing the caller's trace.
Contributor guide
Assessment
This issue has not been assessed yet.