updated sentry config
This commit is contained in:
parent
c9d32cdec4
commit
86874a5789
@ -12,19 +12,19 @@ return [
|
||||
|
||||
'breadcrumbs' => [
|
||||
// Capture Laravel logs in breadcrumbs
|
||||
'logs' => true,
|
||||
'logs' => env('SENTRY_BREADCRUMBS_LOGS', true),
|
||||
|
||||
// Capture SQL queries in breadcrumbs
|
||||
'sql_queries' => true,
|
||||
'sql_queries' => env('SENTRY_BREADCRUMBS_SQL_QUERIES', true),
|
||||
|
||||
// Capture bindings on SQL queries logged in breadcrumbs
|
||||
'sql_bindings' => true,
|
||||
'sql_bindings' => env('SENTRY_BREADCRUMBS_SQL_BINDINGS', true),
|
||||
|
||||
// Capture queue job information in breadcrumbs
|
||||
'queue_info' => true,
|
||||
'queue_info' => env('SENTRY_BREADCRUMBS_QUEUE_INFO', true),
|
||||
|
||||
// Capture command information in breadcrumbs
|
||||
'command_info' => true,
|
||||
'command_info' => env('SENTRY_BREADCRUMBS_COMMAND_INFO', true),
|
||||
],
|
||||
|
||||
'tracing' => [
|
||||
@ -32,25 +32,29 @@ return [
|
||||
'queue_job_transactions' => env('SENTRY_TRACE_QUEUE_ENABLED', false),
|
||||
|
||||
// Capture queue jobs as spans when executed on the sync driver
|
||||
'queue_jobs' => true,
|
||||
'queue_jobs' => env('SENTRY_TRACE_QUEUE_JOBS', true),
|
||||
|
||||
// Capture SQL queries as spans
|
||||
'sql_queries' => true,
|
||||
'sql_queries' => env('SENTRY_TRACE_SQL_QUERIES', true),
|
||||
|
||||
// Try to find out where the SQL query originated from and add it to the query spans
|
||||
'sql_origin' => true,
|
||||
'sql_origin' => env('SENTRY_TRACE_SQL_ORIGIN', true),
|
||||
|
||||
// Capture views as spans
|
||||
'views' => true,
|
||||
'views' => env('SENTRY_TRACE_VIEWS', true),
|
||||
|
||||
// Indicates if the tracing integrations supplied by Sentry should be loaded
|
||||
'default_integrations' => true,
|
||||
'default_integrations' => env('SENTRY_TRACE_DEFAULT_INTEGRATIONS', true),
|
||||
|
||||
// Indicates that requests without a matching route should be traced
|
||||
'missing_routes' => env('SENTRY_TRACE_MISSING_ROUTES', false),
|
||||
],
|
||||
|
||||
// @see: https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii
|
||||
'send_default_pii' => env('SENTRY_SEND_DEFAULT_PII', true),
|
||||
|
||||
'traces_sample_rate' => (float)(env('SENTRY_TRACES_SAMPLE_RATE', 0.0)),
|
||||
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#traces-sample-rate
|
||||
'traces_sample_rate' => env('SENTRY_TRACES_SAMPLE_RATE') === null ? null : (float) env('SENTRY_TRACES_SAMPLE_RATE'),
|
||||
|
||||
'before_send' => [env('SENTRY_BEFORE_SEND_CLASS', 'App\\Exceptions\\Trackers\\Sentry'), 'beforeSend'],
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user