Sentry for Ember: unexpected sentry-trace header sent to localhost

Here is our Sentry configuration:

'@sentry/ember': {
  sentry: {
    dsn: process.env.SENTRY_DSN,
    tracesSampleRate: 0.1,
    disablePerformance: true,
  },
},

Any call to localhost in our Ember application seems to contain a sentry-trace header.

It raises the following error:

Access to XMLHttpRequest at 'http://localhost:3310/*****' from origin 'http://*******' has been blocked by CORS policy: Request header field sentry-trace is not allowed by Access-Control-Allow-Headers in preflight response.

How can we deactivate this and prevent header to be added to business requests?

Thanks for your help.

Looks like:

'@sentry/ember': {
  sentry: {
    dsn: process.env.SENTRY_DSN,
-    tracesSampleRate: 0.1,
    disablePerformance: true,
  },
},

does the trick.

It is has been painful for our platform to integrate Sentry in production with this issue.
I am wondering why you suggest to define tracesSampleRate in the installations steps as it does not look to be mandatory (and can hurt…)