/** * @return array */ protected function gatherConsoleStatistics() { $_stats = ['uri' => config('app.url', \Request::getSchemeAndHttpHost()), 'user' => ServiceUser::count(), 'mount' => Mount::count(), 'server' => Server::count(), 'cluster' => Cluster::count(), 'limit' => Limit::count(), 'instance' => Instance::count()]; return $_stats; // The new way //return $this->telemetry->make('console')->getTelemetry(); }