|
8 | 8 |
|
9 | 9 | // Amount of errors to be logged to sentry (1.00 = 100%)
|
10 | 10 | 'sampleRate' => env('SENTRY_VUE_SAMPLE_RATE', 100) / 100,
|
| 11 | + // Amount of transactions to be logged to sentry (1.00 = 100%) |
| 12 | + 'tracesSampleRate' => env('SENTRY_VUE_TRACES_SAMPLE_RATE', 10) / 100, |
| 13 | + // Which backends should sentry link transactions to, by default it'll be the Rapidez and Magento backend |
| 14 | + 'tracePropagationTargets' => explode(' ', env('SENTRY_VUE_TRACES_PROPAGATION_TARGETS', '') ), |
| 15 | + // Amount of replays to be logged to sentry when no error occurs (1.00 = 100%) |
| 16 | + // https://docs.sentry.io/platforms/javascript/guides/vue/session-replay/#recommended-production-sample-rates |
| 17 | + 'replaysSessionSampleRate' => env('SENTRY_VUE_REPLAY_SAMPLE_RATE', 10) / 100, |
| 18 | + // Amount of replays to be logged to sentry when errors have occured (1.00 = 100%) |
| 19 | + 'replaysOnErrorSampleRate' => env('SENTRY_VUE_ERROR_REPLAY_SAMPLE_RATE', 100) / 100, |
| 20 | + |
| 21 | + // Only report errors for matching urls, by default the shop url will be used |
| 22 | + 'allowUrls' => explode(' ', env('SENTRY_VUE_ALLOW_URLS', '') ), |
11 | 23 |
|
12 | 24 | // See the Sentry documentation: https://docs.sentry.io/platforms/javascript/guides/vue/configuration/filtering/#using-ignore-errors
|
13 | 25 | 'ignoreErrors' => [
|
|
42 | 54 | 'debug' => env('SENTRY_VUE_INTEGRATION_DEBUG', false),
|
43 | 55 | 'extraErrorData' => env('SENTRY_VUE_INTEGRATION_EXTRA_ERROR_DATA', false),
|
44 | 56 | 'httpClient' => env('SENTRY_VUE_INTEGRATION_HTTP_CLIENT', false),
|
| 57 | + 'graphqlClient' => env('SENTRY_VUE_INTEGRATION_GRAPHQL_CLIENT', false), |
45 | 58 | 'moduleMetadata' => env('SENTRY_VUE_INTEGRATION_MODULE_METADATA', false),
|
46 | 59 | 'rewriteFrames' => env('SENTRY_VUE_INTEGRATION_REWRITE_FRAMES', false),
|
47 | 60 | 'replay' => env('SENTRY_VUE_INTEGRATION_REPLAY', false),
|
|
0 commit comments