You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecate instrumentD1WithSentry and instrument via ENV variables #20862
Also increase support, as now we only instrument prepare statements and nothing else
Solution Brainstorm
We need to be careful about double instrumentation. When enabling D1 support by default via env instrumentation and a user has their D1 manually instrumented, then we shouldn't double wrap. Maybe ensureInstrumented can help out
Additional Context
batch, exec and withSession are not instrumented. dump seems to be deprecated and is only valid for v1 databases, where we anyways don't have support
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Activity
linear-code commentedon May 13, 2026
JS-2462
ref(cloudflare): Move D1 instrumentation (#21266)
feat(cloudflare): Auto instrument D1 based on env (#21276)
github-actions commentedon Jun 9, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #21276, which was included in the 10.57.0 release.