soundmanD
soundmanD
CDCloudflare Developers
Created by soundmanD on 4/28/2025 in #workers-help
How to use advanced Sentry capabilities?
Hi, I'd like to use sentry's beforeSend hook, but noticed there are 2 very different approaches that could be taken. From Cloudflare: https://developers.cloudflare.com/workers/observability/integrations/sentry/ From Sentry: https://docs.sentry.io/platforms/javascript/guides/cloudflare/ When looking at my sentry entries, I believe i have the Cloudflare one set up as i'm seeing the issues come from my tail worker. However, from Sentry's guide, its setup is quite different. I'm particularly interested in beforeSend as i'd like to filter out HTTP 404 responses. If there is a different way to do this, i'd be happy to go that path. I had thought about using worker routes but I have a custom domain pointed directly at the worker, and based on the documentation it implied that it wasn't possible to configure it at a route level then?
1 replies