beyondcode / laravel-query-detector

Laravel N+1 Query Detector
https://beyondco.de/docs/laravel-query-detector/usage
MIT License
1.99k stars 138 forks source link

Use the sample rate to control whether the function is enabled or disabled, rather than simply using enable/disable #107

Closed zengbo closed 1 month ago

zengbo commented 6 months ago

The configuration key is sample_rate, where "0" equals disabled and "1" equals enabled.