sentry: fix browser tracing integration (#1385)

This commit is contained in:
tom goriunov
2023-12-04 11:08:54 +04:00
committed by GitHub
parent e4cac52735
commit aa44808fca
+1 -1
View File
@@ -27,7 +27,7 @@ export const config: Sentry.BrowserOptions | undefined = (() => {
release: feature.release,
enableTracing: feature.enableTracing,
tracesSampleRate,
integrations: [ new BrowserTracing() ],
integrations: feature.enableTracing ? [ new BrowserTracing() ] : undefined,
// error filtering settings
// were taken from here - https://docs.sentry.io/platforms/node/guides/azure-functions/configuration/filtering/#decluttering-sentry