getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
8.01k stars 1.58k forks source link

Cloudflare queues #14387

Open masylum opened 1 day ago

masylum commented 1 day ago

Problem Statement

I'm using sentry's hono middleware for the http requests, but I can't find any information about how to wrap my queue endpoint to capture errors. I understand that this is not provided by default, but is there any workaround for the time being? Also, would you recommend using cloudflare sdk to wrap the fetch endoint or keep using the hono middleware?

Cheers, Pau

Solution Brainstorm

no ideas, sorry :)

andreiborza commented 1 day ago

Hey @masylum, thanks for filing this.

As far as I know, we don't yet offer instrumentation for queues in our cloudflare sdk yet (see https://github.com/getsentry/sentry-javascript/issues/13365).

As for workarounds, could you please provide a minimal reproduction repo?