Class: RoundhouseUi::ErrorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/roundhouse_ui/errors_controller.rb

Overview

Groups failing jobs across the retry + dead sets by a fingerprint of (job class + error class) — so one bad deploy reads as a single issue with a count, not five thousand identical rows. The aggregation Sidekiq Web lacks.

Constant Summary collapse

SCAN_LIMIT =

cap entries scanned per pass; shown honestly in the view

1_000

Constants inherited from ApplicationController

ApplicationController::AUDIT_VERBS

Instance Method Summary collapse

Methods inherited from ApplicationController

#redirect_to

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/roundhouse_ui/errors_controller.rb', line 8

def index
  @query = params[:q].to_s.strip
  @scan_limit = SCAN_LIMIT
  @groups, @scanned, @truncated = aggregate
end