Add tracing option to Sentry configuration
This commit is contained in:
@@ -76,6 +76,7 @@ return [
|
|||||||
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),
|
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', false),
|
||||||
|
|
||||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate
|
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate
|
||||||
|
'enable_tracing' => env('SENTRY_ENABLE_TRACING', false),
|
||||||
'traces_sample_rate' => 0.2,
|
'traces_sample_rate' => 0.2,
|
||||||
|
|
||||||
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_PROFILES_SAMPLE_RATE'),
|
'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float)env('SENTRY_PROFILES_SAMPLE_RATE'),
|
||||||
|
|||||||
Reference in New Issue
Block a user