Skip to content

Commit

Permalink
sentry: fix browser tracing integration
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Dec 4, 2023
1 parent 3289673 commit 37d3f24
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 37d3f24

Please sign in to comment.