This check makes sure that your CPU load isn't too high.
To use this check, you must install the spatie/cpu-load-health-check package
composer require spatie/cpu-load-health-check
The package monitors the Unix CPU load numbers. By default, three numbers are available:
- load in the last minute
- load in the last 5 minutes
- load in the last 15 minutes
You can make the check fail by using on of these three functions:
Here's how you can register the check.