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
[Feature Request] Add Console integration to @sentry/cloudflare #15439
The Console integration, which is listed as default-on is missing from the Cloudflare SDK. Can we get it added? Users currently have to manually add console logs to breadcrumbs.
Solution Brainstorm
Add the Console integration to @sentry/cloudflare
Reacted by mrankine, Connor Adams, Ben Emery, Rylo, mridge06 and Luke Yianni
Seems like a reasonable request on first glance! I'll tag @AbhiPrasad - are you aware of console limitations in the cloudflare SDK (or another good reason not to add this integration)?
Small update from the user. They were able to install the node sdk and import the Console integration and use it successfully in the cloudflare sdk. They say that to get it to work, it requires Cloudflare's "nodejs_compat" to be set to at least "2024-09-23" and a recent version of wrangler.
Activity
Lms24 commentedon Feb 18, 2025
Seems like a reasonable request on first glance! I'll tag @AbhiPrasad - are you aware of console limitations in the cloudflare SDK (or another good reason not to add this integration)?
Fwang36 commentedon Feb 19, 2025
Small update from the user. They were able to install the node sdk and import the Console integration and use it successfully in the cloudflare sdk. They say that to get it to work, it requires Cloudflare's "nodejs_compat" to be set to at least "2024-09-23" and a recent version of wrangler.
Lms24 commentedon Feb 20, 2025
Good to know, thanks!
AbhiPrasad commentedon Feb 21, 2025
Nope, we should be able to add this, just copy our implementation from the other SDKs.
this is a good reason to unify all of this as well.
6 remaining items
connorads commentedon Apr 8, 2025
FYI these docs will need updating when making this change
https://docs.sentry.io/platforms/javascript/guides/cloudflare/configuration/integrations/console/
feat(core): Move console integration into core and add to cloudflare/…
github-actions commentedon Apr 16, 2025
A PR closing this issue has just been released 🚀
This issue was referenced by PR #16024, which was included in the 9.13.0 release.
Remove outdated warning