Laravel Options
All configuration for Laravel is done in config/sentry.php
.
Breadcrumbs
The Laravel integration will create breadcrumbs for certain events occurring in the framework, the capture of this information can be configured using the following options:
config/sentry.php
Copied
'breadcrumbs' => [
// Capture Laravel logs. Defaults to `true`.
'logs' => true,
// Capture queue job information. Defaults to `true`.
'queue_info' => true,
// Capture SQL queries. Defaults to `true`.
'sql_queries' => true,
// Capture bindings (parameters) on SQL queries. Defaults to `false`.
'sql_bindings' => false,
],
Performance
To enable performance monitoring, set this to a value greater than 0.0
:
config/sentry.php
Copied
'traces_sample_rate' => 1.0 # be sure to lower this in production to prevent quota issues
],
You can edit this page on GitHub.
- Package:
- composer:sentry/sentry-laravel
- Version:
- 2.3.1
- Repository:
- https://github.com/getsentry/sentry-laravel