### Problem Statement R2 bucket API is currently not instsrumented as `env.MY_BUCKET.put(key, request.body)` wouldn't add any span. Workers API: https://developers.cloudflare.com/r2/get-started/workers-api/ **Methods:** `get`, `head`, `put`, `delete`, `list`, `createMultipartUpload`, `resumeMultipartUpload` **Docs:** https://developers.cloudflare.com/r2/ ### Solution Brainstorm Like with the queue, we need to add another check for the R2 bucket: https://github.com/getsentry/sentry-javascript/blob/28d6fe514d5ed00561a8e3d1c0406a8cb544c738/packages/cloudflare/src/instrumentations/worker/instrumentEnv.ts#L50 ### Additional Context Cross-check with Cloudflare's built-in tracing about their metadata and span description ### Priority <sub>React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.</sub>
Activity
linear-code commentedon May 12, 2026
JS-2448
feat(cloudflare): Add R2 bucket auto-instrumentation (#21327)
github-actions commentedon Jun 23, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #21327, which was included in the 10.60.0 release.