From e13680d4be82dd639b763576207bde16987b33f8 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 24 Jul 2017 18:35:20 +0100 Subject: [PATCH] Send more info to Beacon --- app/Integrations/Core/Beacon.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Integrations/Core/Beacon.php b/app/Integrations/Core/Beacon.php index e7065683..c9c8b9ac 100644 --- a/app/Integrations/Core/Beacon.php +++ b/app/Integrations/Core/Beacon.php @@ -18,6 +18,8 @@ use CachetHQ\Cachet\Models\Action; use CachetHQ\Cachet\Models\Component; use CachetHQ\Cachet\Models\Incident; use CachetHQ\Cachet\Models\Metric; +use CachetHQ\Cachet\Models\Schedule; +use CachetHQ\Cachet\Models\Tag; use CachetHQ\Cachet\Models\User; use CachetHQ\Cachet\Settings\Repository as Setting; use Exception; @@ -103,6 +105,8 @@ class Beacon implements BeaconContract 'metrics' => Metric::all()->count(), 'users' => User::all()->count(), 'actions' => Action::all()->count(), + 'tags' => Tag::all()->count(), + 'schedules' => Schedule::all()->count(), ], ];