Class: SolidLog::UI::DashboardController

Inherits:
BaseController show all
Defined in:
app/controllers/solid_log/ui/dashboard_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#authenticate_user!

Instance Method Details

#index ⇒ Object



4
5
6
7
8
9
# File 'app/controllers/solid_log/ui/dashboard_controller.rb', line 4

def index
  @health_metrics = SolidLog.without_logging { SolidLog::HealthService.metrics }
  @recent_errors = recent_error_entries
  @log_level_distribution = log_level_distribution
  @field_recommendations = field_recommendations
end