mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 23:33:50 +02:00
tweak sentry config
This commit is contained in:
@@ -58,12 +58,21 @@ export async function initSentry(app) {
|
||||
}
|
||||
return event;
|
||||
},
|
||||
beforeSendSpan(span) {
|
||||
span.data = {
|
||||
...span.data,
|
||||
// @ts-ignore
|
||||
memory_usage: window.performance.memory.usedJSHeapSize
|
||||
};
|
||||
return span;
|
||||
},
|
||||
integrations: [
|
||||
Sentry.replayIntegration({
|
||||
maskAllText: true,
|
||||
blockAllMedia: true
|
||||
}),
|
||||
Sentry.browserTracingIntegration({ router }),
|
||||
Sentry.browserProfilingIntegration(),
|
||||
Sentry.vueIntegration({
|
||||
tracingOptions: {
|
||||
trackComponents: true
|
||||
|
||||
Reference in New Issue
Block a user