0

I tried to connect RUM with backend traces. In react SPA application I setup a datadog-rum and enabled allowedTracingOrigins option for it, after that our fetch and xhr requests to API started to fail.

How to connect RUM and backend traces properly?

Dr.eel
  • 1,837
  • 3
  • 18
  • 28

1 Answers1

3
  1. Use datadog-rum version >=2.16, this one will not cut your custom headers such as Authorization (see. diff)
  2. Check your server CORS handler. Your server should allow x-datadog-* headers and return them in the access-control-allow-headers header
Dr.eel
  • 1,837
  • 3
  • 18
  • 28