fix: sentry trace only Bee Desktop API (#421)
This commit is contained in:
+2
-2
@@ -23,8 +23,8 @@ export async function initSentry(): Promise<void> {
|
|||||||
release: packageJson.version,
|
release: packageJson.version,
|
||||||
environment: config.SENTRY_ENVIRONMENT,
|
environment: config.SENTRY_ENVIRONMENT,
|
||||||
tunnel: tunnelAvailable ? `${config.BEE_DESKTOP_URL}/sentry` : undefined,
|
tunnel: tunnelAvailable ? `${config.BEE_DESKTOP_URL}/sentry` : undefined,
|
||||||
integrations: [new BrowserTracing({ tracingOrigins: ['localhost'] })],
|
integrations: [new BrowserTracing({ tracingOrigins: [config.BEE_DESKTOP_URL] })],
|
||||||
tracesSampleRate: 0.3,
|
tracesSampleRate: 0.4,
|
||||||
beforeSend: async (event, hint) => {
|
beforeSend: async (event, hint) => {
|
||||||
hint.attachments = []
|
hint.attachments = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user