-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tunnel Options] Allow Configuration Based on Event Category #13520
Comments
Following up with a conversation about this with @bruno-garcia just now. Specifically in the case of User Feedback submission failures it may be more beneficial to simply flip a flag the first time the transport fails to send an event and then render a different widget or a fallback message. |
We blacklogged this for the moment but I had some thoughts. Please correct me if I'm wrong but I think the general ask here is to use the tunnel as a fallback (i.e. try sending it directly first and only then send via I get the idea but this sounds hard to get right and might not always be what users want. As of today, as soon as Let's assume we'd do this, we'd need to be able to know with certainty why we fall back to the tunnel. Event sending can fail for various reasons. Should we simply always fall back to the tunnel? Side note: Users are free to implement their tunnel proxy however they like. Theoretically, they could filter or re-sample out any type of event as soon as the tunnel proxy handles an incoming request. The noteable exception here is the NextJS SDK |
Problem Statement
(related to this comment getsentry/sentry#65180 (comment))
When tunneling events to your own infrastructure before sending them to Sentry you effectively pay for the event 3 times:
This is probably acceptable in most cases but certain environments make this behaviour very cost prohibitive (see https://sentry.zendesk.com/agent/tickets/107289)
Solution Brainstorm
I would like to be able to pass an option to my tunnel config that allows me to tunnel certain event types but not others.
Examples:
The text was updated successfully, but these errors were encountered: