Sha256: 583b76f95b6cbee97b13baccea86d9cc5464024a5f111285cb22104e8d9e2c73

Contents?: true

Size: 1.46 KB

Versions: 3

Compression:

Stored size: 1.46 KB

Contents

script type="text/javascript" src="#{{root_path}}javascripts/dashboard.js"

h3
  | Dashboard
  span.beacon
    .ring
    .dot

h5 Real-time
#realtime

h5
  span.history-heading History
  a href="#{{current_path}}?days=7" class="history-graph #{{"active" if params[:days] == "7"}}" 1 week
  a href="#{{current_path}}" class="history-graph #{{"active" if params[:days].nil? || params[:days] == "30"}}" 1 month
  a href="#{{current_path}}?days=90" class="history-graph #{{"active" if params[:days] == "90"}}" 3 month
  a href="#{{current_path}}?days=180" class="history-graph #{{"active" if params[:days] == "180"}}" 6 month
#history data-processed="#{Sidekiq.dump_json(@processed_history)}" data-failed="#{Sidekiq.dump_json(@failed_history)}" data-update-url="#{{current_path}}/stats"

br
h5 Redis

- if @redis_info.fetch("redis_version", nil)
  .stat
    h3.redis_version= @redis_info.fetch("redis_version")
    p Version

- if @redis_info.fetch("uptime_in_days", nil)
  .stat
    h3.uptime_in_days= @redis_info.fetch("uptime_in_days")
    p Uptime (days)

- if @redis_info.fetch("connected_clients", nil)
  .stat
    h3.connected_clients= @redis_info.fetch("connected_clients")
    p Connections

- if @redis_info.fetch("used_memory_human", nil)
  .stat
    h3.used_memory_human= @redis_info.fetch("used_memory_human")
    p Memory Usage

- 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-2.7.2 web/views/dashboard.slim
sidekiq-2.7.1 web/views/dashboard.slim
sidekiq-2.7.0 web/views/dashboard.slim