-
Notifications
You must be signed in to change notification settings - Fork 167
Description
What are you trying to achieve and what is your issue? Please describe.
We use Datadog @datadog/browser-logs and @datadog/browser-rum v6 in our React based SDK that runs on various host sites that we do not control, some of which also use Datadog. If our version and the host site's version of Datadog conflict, then one will overwrite the other's global DD_LOGS and DD_RUM vars.
We also receive this error:
Datadog Browser SDK: SDK is loaded more than once. This is unsupported and might have unexpected behavior.
Describe the solution you'd like
We would like a solution for using Datadog in a React frontend SDK that can be run on other third party sites that also use Datadog.
Describe alternatives you've considered
We have searched through the Datadog docs and issues and have only come across this snippet on micro frontends, but it doesn't seem to solve our issue.