Skip to content

[Tunnel Options] Allow Configuration Based on Event Category #13520

@souredoutlook

Description

@souredoutlook

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:

  1. Ingesting it in your tunnel route
  2. Egress to Sentry
  3. Ingesting it in Sentry

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:

  • I am using Release health and want to ensure that Session data is as complete as possible but I am okay with dropping the error event payloads
  • I am using Tracing and Profiling - Profiles are much heavier and require span data to be ingested. I am okay with dropping profiles but tunneling spans.
  • I am using the User Feedback widget. Sentry fails transparently in all cases when errors cannot be submitted but I want to ensure that envelopes related to User Feedback are submitted

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions