Repository navigation
3.7.1
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v3.7.1.
Bug Fixes
-
Performance traces and breadcrumbs for filesystem access are now turned off by default (#746)
To enable the feature, you'll need to make some changes in your
config/filesystems.phpfile for each disk where you want to enable the tracing filesystem driver.// For example, if you want to trace the `local` disk, you update the disk config from this: 'local' => [ 'driver' => 'local', 'root' => storage_path('app'), 'throw' => false, ], // to this: 'local' => [ 'driver' => 'sentry', 'root' => storage_path('app'), 'throw' => false, 'sentry_disk_name' => 'local', 'sentry_original_driver' => 'local', 'sentry_enable_spans' => true, 'sentry_enable_breadcrumbs' => true, ],
For each disk, you replace the
driverkey withsentryand add thesentry_original_driverkey with the original driver name.
For us to construct the original driver, you also need to add thesentry_disk_namekey with the name of the disk.
In addition, you can specify the optionalsentry_enable_spansandsentry_enable_breadcrumbsconfig keys to turn off that feature for the disk.
These options are enabled by default.Please note that we replace the driver for the disk with a custom driver that will capture performance traces and breadcrumbs.
This means that relying on the disk to be of a specific type might cause problems.
If you rely on the disk being an instance ofIlluminate\Contracts\Filesystem\FilesystemorIlluminate\Contracts\Filesystem\Cloud, there should be no problem.