Trouble with Effect's Tracing on Cloudflare Using Wrangler vs. Bun
I've been trying to get Effect's tracing working with Cloudflare but haven't had much luck thus far - wondering if anybody has any insights.
I have a minimal reproduction here: https://github.com/marbemac/cloudflare-sentry-effect-tracing/blob/main/worker/index.ts
Can run it by cloning, running
1. with wrangler:
2. with bun:
For whatever reason when run with wrangler there are no logs from the
Middle pane is bun, right pane is wrangler.
I have a minimal reproduction here: https://github.com/marbemac/cloudflare-sentry-effect-tracing/blob/main/worker/index.ts
Can run it by cloning, running
yarn, and then:1. with wrangler:
yarn dev2. with bun:
bun run worker/index.tsFor whatever reason when run with wrangler there are no logs from the
ConsoleSpanExporter, while the same code works with Bun. I'm not sure, but I have a suspicion that whatever is causing this might be related to why I can't seem to get tracing working in general.Middle pane is bun, right pane is wrangler.
