Class: SolidQueueWeb::MetricsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- SolidQueueWeb::MetricsController
- Defined in:
- app/controllers/solid_queue_web/metrics_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 |
# File 'app/controllers/solid_queue_web/metrics_controller.rb', line 3 def index render json: MetricsPayload.new.to_h end |