<% page_title 'Internal Statistics' require_css 'nv.d3' require_js 'jquery-1.10.2' require_js 'd3.v3' require_js 'nv.d3' require_js 'self_stats' %>

Event queue length:

Global Statistics:

<% if @global_stats.nil? %> <% else %> <% end %>
Events queued: <%= h @metrics[:event_queue_length] %>
Number of enabled checks: <%= h @metrics[:check_counts][:enabled] %>
Number of failing checks: <%= h @metrics[:check_counts][:failing] %>
Number of disabled checks: <%= h @metrics[:check_counts][:all] - @metrics[:check_counts][:enabled] %>
No statistics found.Events processed (all time)
  • all: <%= h @global_stats[:all_events] %> events
  • ok: <%= h @global_stats[:ok_events] %> events
  • failure: <%= h @global_stats[:failure_events] %> events
  • action: <%= h @global_stats[:action_events] %> events
  • invalid: <%= h @global_stats[:invalid_events] %> events
Check Freshness
    <% @metrics[:check_freshness].each_pair do |age, check_count| %>
  • >= <%= h age %>: <%= h check_count %>
  • <% end %>
Total keys in redis <%= h @metrics[:total_keys] %>
Current time <%= h Time.now.to_s %>

Processor Instances:

<% @executive_instances.sort_by {|i, d| d[:uptime]}.each do |ei| %> <% instance_id, details = ei hostname, pid = instance_id.split(':') started = details[:uptime_string] event_rates = details[:event_rates] %> <% end %>
Hostname PID Uptime Events Processed
<%= h hostname %> <%= h pid %> <%= h started %>
  • all: <%= h details[:all_events] %> (<%= h event_rates[:all_events] %> events/s)
  • ok: <%= h details[:ok_events] %> (<%= h event_rates[:ok_events] %> events/s)
  • failure: <%= h details[:failure_events] %> (<%= h event_rates[:failure_events] %> events/s)
  • action: <%= h details[:action_events] %> (<%= h event_rates[:action_events] %> events/s)
  • invalid: <%= h details[:invalid_events] %> (<%= h event_rates[:invalid_events] %> events/s)

View as JSON Learn how to use these metrics.