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