Sha256: 00dde39322706240ed01656fa22c5b278fef2629969ffdd78aae12a54a11f748

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

!!! 5
- nav = render_haml('_nav.haml', self)
- css = render_haml('_css.haml', self)
%html
  %head
    %title Flapjack - Self Stats
    = css
  %body
    %div#wrapper
      = nav
      %h1 Flapjack Self Status
      %h4
        Events queued:
        = @events_queued
      %h4
        Number of failing services:
        = @count
      %p Events processed (all time): #{@event_counters['all']} (ok: #{@event_counters['ok']}, failure: #{@event_counters['failure']}, action: #{@event_counters['action']})
      %p Events processed (this instance): #{@event_counters_instance['all']} (ok: #{@event_counters_instance['ok']}, failure: #{@event_counters_instance['failure']}, action: #{@event_counters_instance['action']})
      %p Average rate (this instance): #{@event_rate_all} events per second
      %p Total keys in redis: #{@keys.length}
      %p Uptime: #{@uptime_string}
      %p Boot time: #{@boot_time}
      %p Current time: #{Time.now}
      %p Executive Instances: #{@executive_instances.inspect}
      %p
        %a{:href => 'self_stats.json'} Instrument as JSON

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flapjack-0.7.1 lib/flapjack/gateways/web/views/self_stats.haml
flapjack-0.7.0 lib/flapjack/gateways/web/views/self_stats.haml