sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Add `tunnel` option (sets the url used by transport)

Open krystofwoldrich opened this issue 1 year ago • 1 comments

Description

Sets the URL that will be used to transport captured events. This can be used to work around ad-blockers or to have more granular control over events sent to Sentry.

  • More details about the option in JS docs https://docs.sentry.io/platforms/javascript/configuration/options
  • Related RN issue https://github.com/getsentry/sentry-react-native/issues/3258
  • Related Cocoa issue https://github.com/getsentry/sentry-cocoa/issues/3583

krystofwoldrich avatar Jan 29 '24 10:01 krystofwoldrich

If the tunnel option is set, the endpoint URL would be set to tunnel instead of the parsed DSN.

markushi avatar Jan 31 '24 14:01 markushi