add monitoring

This commit is contained in:
ludo
2024-02-22 19:33:56 +01:00
parent 869b148e20
commit 722ea43bc2
61 changed files with 1666 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
<?php
return [
/*
* A result store is responsible for saving the results of the checks. The
* `EloquentHealthResultStore` will save results in the database. You
@@ -8,7 +9,6 @@ return [
*/
'result_stores' => [
Spatie\Health\ResultStores\EloquentHealthResultStore::class => [
'connection' => env('HEALTH_DB_CONNECTION', env('DB_CONNECTION')),
'model' => Spatie\Health\Models\HealthCheckResultHistoryItem::class,
'keep_history_for_days' => 5,
],
@@ -58,10 +58,10 @@ return [
'throttle_notifications_key' => 'health:latestNotificationSentAt:',
'mail' => [
'to' => 'your@example.com',
'to' => 'ludovic.candellier@fundglobam.org',
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'address' => env('MAIL_FROM_ADDRESS', 'no-reply@fundglobam.org'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
],