mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 05:12:31 +03:00
impr(enso-org/cloud-v2#1047): Enable Sentry distributed tracing (#9661)
Enables distributed tracing for Sentry. Enables profiling information collection for calls to backend APIs, which means that traces/errors can be correlated across the frontend and backend now.
This commit is contained in:
parent
32df870ad0
commit
7cf512ec6b
@ -54,8 +54,10 @@ function run(props: app.AppProps) {
|
||||
reactRouter.matchRoutes
|
||||
),
|
||||
}),
|
||||
new sentry.BrowserProfilingIntegration(),
|
||||
new sentry.Replay(),
|
||||
],
|
||||
profilesSampleRate: SENTRY_SAMPLE_RATE,
|
||||
tracesSampleRate: SENTRY_SAMPLE_RATE,
|
||||
tracePropagationTargets: [process.env.ENSO_CLOUD_API_URL.split('//')[1] ?? ''],
|
||||
replaysSessionSampleRate: SENTRY_SAMPLE_RATE,
|
||||
|
Loading…
Reference in New Issue
Block a user