getsentry / getsentry/sentry-javascript

Outgoing fetch trace propagation is broken on Bun

Open
#19,322 1 comment 1 reaction 1 assignee Claimed by @chargome View on GitHub
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.