Commit 208183b5 authored by tom goriunov's avatar tom goriunov Committed by GitHub

sentry: fix browser tracing integration (#1385)

parent 0c53a5fb
...@@ -27,7 +27,7 @@ export const config: Sentry.BrowserOptions | undefined = (() => { ...@@ -27,7 +27,7 @@ export const config: Sentry.BrowserOptions | undefined = (() => {
release: feature.release, release: feature.release,
enableTracing: feature.enableTracing, enableTracing: feature.enableTracing,
tracesSampleRate, tracesSampleRate,
integrations: [ new BrowserTracing() ], integrations: feature.enableTracing ? [ new BrowserTracing() ] : undefined,
// error filtering settings // error filtering settings
// were taken from here - https://docs.sentry.io/platforms/node/guides/azure-functions/configuration/filtering/#decluttering-sentry // were taken from here - https://docs.sentry.io/platforms/node/guides/azure-functions/configuration/filtering/#decluttering-sentry
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment