Skip to content

Commit

Permalink
sentry: fix browser tracing integration (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum authored Dec 4, 2023
1 parent 0c53a5f commit 208183b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sentry/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 208183b

Please sign in to comment.