Sentry V8 - Multiple Sentry Instances - Breadcrumbs not sending from BrowserClient #14141
Unanswered
ngoxuanhien
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I'm facing an issue that i can not showing the breadcrumbs on the my site, because we have setup multiple sentry then we following the reference:
By following this document, i need to filter out the breadcrumbs, so is there any suggestion to have the breadcrumbs by following this ref ?
`// filter integrations that use the global variable
const integrations = Sentry.getDefaultIntegrations({}).filter(
(defaultIntegration) => {
return ![
"BrowserApiErrors",
"TryCatch",
"Breadcrumbs",
"GlobalHandlers",
].includes(defaultIntegration.name);
},
);
const ptpClient = new Sentry.BrowserClient({
dsn,
transport: Sentry.makeFetchTransport,
stackParser: Sentry.defaultStackParser,
allowUrls: ["localhost"],
release:
TESTING
,integrations: integrations
});
const ptpScope = new Sentry.Scope();
ptpScope.setClient(ptpClient);`
Beta Was this translation helpful? Give feedback.
All reactions