mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Send actions count through to Beacon
This commit is contained in:
parent
51a5c239aa
commit
4550b2a5fc
@ -14,6 +14,7 @@ namespace CachetHQ\Cachet\Integrations\Core;
|
||||
use CachetHQ\Cachet\Bus\Events\Beacon\BeaconFailedToSendEvent;
|
||||
use CachetHQ\Cachet\Bus\Events\Beacon\BeaconWasSentEvent;
|
||||
use CachetHQ\Cachet\Integrations\Contracts\Beacon as BeaconContract;
|
||||
use CachetHQ\Cachet\Models\Action;
|
||||
use CachetHQ\Cachet\Models\Component;
|
||||
use CachetHQ\Cachet\Models\Incident;
|
||||
use CachetHQ\Cachet\Models\Metric;
|
||||
@ -101,6 +102,7 @@ class Beacon implements BeaconContract
|
||||
'incidents' => Incident::all()->count(),
|
||||
'metrics' => Metric::all()->count(),
|
||||
'users' => User::all()->count(),
|
||||
'actions' => Action::all()->count(),
|
||||
],
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user