mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Missed a few
This commit is contained in:
parent
750a5efb78
commit
c4ffce7a07
2 changed files with 18 additions and 9 deletions
|
@ -47,3 +47,12 @@ en:
|
|||
ScheduledJobs: Scheduled Jobs
|
||||
idle: idle
|
||||
active: active
|
||||
Version: Version
|
||||
Connections: Connections
|
||||
MemoryUsage: Memory Usage
|
||||
PeakMemoryUsage: Peak Memory Usage
|
||||
Uptime: Uptime (days)
|
||||
OneWeek: 1 week
|
||||
OneMonth: 1 month
|
||||
ThreeMonths: 3 months
|
||||
SixMonths: 6 months
|
||||
|
|
|
@ -11,10 +11,10 @@ h5 = t('Realtime')
|
|||
|
||||
h5
|
||||
span.history-heading = t('History')
|
||||
a href="#{{root_path}}?days=7" class="history-graph #{{"active" if params[:days] == "7"}}" 1 week
|
||||
a href="#{{root_path}}" class="history-graph #{{"active" if params[:days].nil? || params[:days] == "30"}}" 1 month
|
||||
a href="#{{root_path}}?days=90" class="history-graph #{{"active" if params[:days] == "90"}}" 3 month
|
||||
a href="#{{root_path}}?days=180" class="history-graph #{{"active" if params[:days] == "180"}}" 6 month
|
||||
a href="#{{root_path}}?days=7" class="history-graph #{{"active" if params[:days] == "7"}}" = t('OneWeek')
|
||||
a href="#{{root_path}}" class="history-graph #{{"active" if params[:days].nil? || params[:days] == "30"}}" = t('OneMonth')
|
||||
a href="#{{root_path}}?days=90" class="history-graph #{{"active" if params[:days] == "90"}}" = t('ThreeMonths')
|
||||
a href="#{{root_path}}?days=180" class="history-graph #{{"active" if params[:days] == "180"}}" = t('SixMonths')
|
||||
#history data-processed="#{Sidekiq.dump_json(@processed_history)}" data-failed="#{Sidekiq.dump_json(@failed_history)}" data-update-url="#{{root_path}}dashboard/stats"
|
||||
|
||||
br
|
||||
|
@ -23,24 +23,24 @@ h5 Redis
|
|||
- if @redis_info.fetch("redis_version", nil)
|
||||
.stat
|
||||
h3.redis_version= @redis_info.fetch("redis_version")
|
||||
p Version
|
||||
p = t('Version')
|
||||
|
||||
- if @redis_info.fetch("uptime_in_days", nil)
|
||||
.stat
|
||||
h3.uptime_in_days= @redis_info.fetch("uptime_in_days")
|
||||
p Uptime (days)
|
||||
p = t('Uptime')
|
||||
|
||||
- if @redis_info.fetch("connected_clients", nil)
|
||||
.stat
|
||||
h3.connected_clients= @redis_info.fetch("connected_clients")
|
||||
p Connections
|
||||
p = t('Connections')
|
||||
|
||||
- if @redis_info.fetch("used_memory_human", nil)
|
||||
.stat
|
||||
h3.used_memory_human= @redis_info.fetch("used_memory_human")
|
||||
p Memory Usage
|
||||
p = t('MemoryUsage')
|
||||
|
||||
- if @redis_info.fetch("used_memory_peak_human", nil)
|
||||
.stat
|
||||
h3.used_memory_peak_human= @redis_info.fetch("used_memory_peak_human")
|
||||
p Peak Memory Usage
|
||||
p = t('PeakMemoryUsage')
|
||||
|
|
Loading…
Add table
Reference in a new issue