Skip to content

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

Closed
@bhollis

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions