Retrospring/app/views/admin/dashboard/_sidekiq.html.haml

23 lines
695 B
Plaintext
Raw Normal View History

.card
.card-header
%a.d-flex{ href: sidekiq_web_path }
2022-12-24 15:29:24 -08:00
%strong= t(".title")
%i.fa.fa-chevron-right.ml-auto.align-self-center
- unless @sidekiq[:processes].count.positive?
.card-body.bg-danger.text-light
2022-12-24 15:29:24 -08:00
= t(".error_html", env: Rails.env)
.list-group
.list-group-item.d-flex
2022-12-24 15:29:24 -08:00
%span= t(".processes")
%span.ml-auto= @sidekiq[:processes].count
.list-group-item.d-flex
2022-12-24 15:29:24 -08:00
%span= t(".enqueued")
%span.ml-auto= @sidekiq[:stats].enqueued
.list-group-item.d-flex
2022-12-24 15:29:24 -08:00
%span= t(".retries")
%span.ml-auto= @sidekiq[:stats].retry_size
.list-group-item.d-flex
2022-12-24 15:29:24 -08:00
%span= t(".dead")
%span.ml-auto= @sidekiq[:stats].dead_size