Skip to content

Option to not send sentry-trace header to certain origins #3203

Description

@bhollis

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/tracing

Version:

6.0.1

Description

We call a third party API for most of our app's interactions, where we have no control over their Access-Control-Allow-Headers response. I'd love to automatically record spans for my calls to this API, but the current integration always adds the sentry-trace header, which causes CORS to fail. I'd love to be able to exclude this header from being sent for that origin, since we wouldn't be able to link up the traces with a third party anyway.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions