Skip to content

Commit c60625a

Browse files
[12.x] Add php artisan horizon:clear-metrics command (#10504)
* Update horizon.md Include `php artisan horizon:clear-metrics` command * Update horizon.md --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 66eb725 commit c60625a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

horizon.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,12 @@ use Illuminate\Support\Facades\Schedule;
449449
Schedule::command('horizon:snapshot')->everyFiveMinutes();
450450
```
451451

452+
If you would like to delete all metric data, you can invoke the `horizon:clear-metrics` Artisan command:
453+
454+
```shell
455+
php artisan horizon:clear-metrics
456+
```
457+
452458
<a name="deleting-failed-jobs"></a>
453459
## Deleting Failed Jobs
454460

0 commit comments

Comments
 (0)