From 47bda38a153eb48b685c2892d50c9a5aa9b27d12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Duli=C3=A7i?= Date: Thu, 11 May 2023 00:11:39 +0300 Subject: [PATCH] sentry config --- config/sentry.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/sentry.php b/config/sentry.php index d6e49e1c9..699066361 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -2,6 +2,7 @@ return [ + // @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/ 'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')), // capture release as git sha @@ -81,4 +82,6 @@ return [ 'traces_sampler' => [env('SENTRY_TRACES_SAMPLER_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'tracesSampler'], + 'profiles_sample_rate' => env('SENTRY_PROFILES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_PROFILES_SAMPLE_RATE'), + ];