Class: SolidQueueWeb::DashboardController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SolidQueueWeb::DashboardController
- Defined in:
- app/controllers/solid_queue_web/dashboard_controller.rb
Constant Summary
Constants inherited from ApplicationController
ApplicationController::PERIOD_DURATIONS, ApplicationController::STAGGER_INTERVALS
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/solid_queue_web/dashboard_controller.rb', line 3 def index @stats = DashboardStats.new AlertWebhook.call(failure_count: @stats.counts[:failed]) QueueDepthAlert.call end |