Skip to main content

How can we route traffic to a custom domain instead of Sentry.io?

Updated over a month ago

Issue

We want to proxy requests from the SDK through our own domain to Sentry. How can this be achieved?

Applies To

  • Sentry users needing a custom domain

Resolution

To route traffic through a custom domain, you can use either SDK tunneling or Relay:

  • Tunneling: Some SDKs support a tunneling option, which allows you to configure an HTTP endpoint that proxies requests from your application to Sentry. You can check your SDK’s documentation to see if this option is available. Here is the JS tunneling option as an example.

  • Relay: Relay is a standalone service that acts as an intermediary between your application and Sentry. It can receive and process events before forwarding them to Sentry.io. Relay is useful for organizations that need more control over ingestion or want to add custom processing.

Did this answer your question?