generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
monitoring.php
57 lines (50 loc) · 1.89 KB
/
monitoring.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
// config for Libaro/LaravelMonitoring
return [
/*
|--------------------------------------------------------------------------
| Queue Monitors
|--------------------------------------------------------------------------
|
| This section defines which queues are monitored and which values will
| trigger a notification, the notifications will be sent through the
| health package, consult the health config section for more info.
|
*/
'queue' => [
// 'default' => [
// 'max_wait_minutes' => 5,
// ],
],
/*
|--------------------------------------------------------------------------
| Health Config Overrides
|--------------------------------------------------------------------------
|
| This package utilizes the spatie/laravel-health package to perform checks
| You can choose, either change your health configuration here or in the
| spatie packages health.php, this one has precedence over health.php.
|
|
| To consult spatie/laravel-health documentation, please visit the webpage
| https://spatie.be/docs/laravel-health/v1, all configuration available
| for it can be overridden here, there is no need to use their files.
|
*/
'health' => [
'result_stores' => [
\Spatie\Health\ResultStores\InMemoryHealthResultStore::class,
],
'notifications' => [
'notifiable' => \Libaro\LaravelMonitoring\Notfiables\CustomNotifiable::class,
'notifications' => [
\Libaro\LaravelMonitoring\Notifications\CheckFailedNotification::class => [
\NotificationChannels\GoogleChat\GoogleChatChannel::class,
],
],
\NotificationChannels\GoogleChat\GoogleChatChannel::class => [
'space' => null,
],
],
],
];