<% nav = render_erb('_nav.html.erb', binding) %> <% head = render_erb('_head.html.erb', binding) %> <% foot = render_erb('_foot.html.erb', binding) %> Flapjack - Internal Statistics <%= head %>
events per second
Events queued: <%= h @events_queued %>
Number of entities: <%= h @count_all_entities %>
Number of failing entities: <%= h @count_failing_entities %>
Number of checks: <%= h @count_all_checks %>
Number of failing checks: <%= h @count_failing_checks %>
Events processed (all time) <%= h @event_counters['all'] %> (ok: <%= h @event_counters['ok'] %>, failure: <%= h @event_counters['failure'] %>, action: <%= h @event_counters['action'] %>)
Events processed (this instance) <%= h @event_counters_instance['all'] %> (ok: <%= h @event_counters_instance['ok'] %>, failure: <%= h @event_counters_instance['failure'] %>, action: <%= h @event_counters_instance['action'] %>)
Average rate (this instance) <%= h @event_rate_all %>
Total keys in redis <%= h @dbsize %>
Uptime <%= h @uptime_string %>
Boot Time <%= h @boot_time %>
Current time <%= h Time.now.to_s %>

Executive Instances:

<% @executive_instances.each do |i| %> <% hostname, pid = i[0].split(':') started = "#{relative_time_ago(Time.at(i[1].to_i))} ago" %> <% end %>
Hostname PID Started
<%= h hostname %> <%= h pid %> <%= h started %>

Instrument as JSON