Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/angular
SDK Version
7.58.1
Framework Version
Angular 12.2.17
Link to Sentry event
No response
SDK Setup
Sentry.init({dsn: '...',integrations: [newSentry.BrowserTracing({// Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabledtracePropagationTargets: ['localhost',/^http/],routingInstrumentation: Sentry.routingInstrumentation,}),],// Set tracesSampleRate to 1.0 to capture 100%// of transactions for performance monitoring.// We recommend adjusting this value in productiontracesSampleRate: 1.0,tracePropagationTargets: ['localhost',/^http/],});Steps to Reproduce
I have an Angular 12 application where I added sentry. But the sentry-trace header is not attached to XHR Requests initiated by HttpClient. When I'm doing a fetch() manually, then the header is set.
Expected Result
I see the sentry-trace header in the request.
Actual Result
I don't the the header in the request.
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/angular
SDK Version
7.58.1
Framework Version
Angular 12.2.17
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
I have an Angular 12 application where I added sentry. But the sentry-trace header is not attached to XHR Requests initiated by HttpClient. When I'm doing a
fetch()manually, then the header is set.Expected Result
I see the sentry-trace header in the request.
Actual Result
I don't the the header in the request.