Sha256: bf1f12406a2f1e9a18a904f67f47b3d767e6a156b622407299e2fcf4e64e949b

Contents?: true

Size: 1.01 KB

Versions: 30

Compression:

Stored size: 1.01 KB

Contents

<h1>Background Stats</h1>

<p>Ping queue length: <%= @queue_length %></p>

<h2 class="stats">Vacuuming</h2>
<dl>
    <dt>Last Vacuum</dt>
    <dd><%= @stats.last_vacuum || 'nil' %></dd>
    <dt>Vacuum Time</dt>
    <dd><%= "%0.4f" % @stats.vacuum_time rescue 'nil' %></dd>
    <dt>Average Vacuum Time</dt>
    <dd><%= "%0.4f" % @stats.average_vacuum_time rescue 'nil' %></dd>
</dl>

<h2 class="stats">Alerts Caching</h2>
<dl>
    <dt>Last Alerts Cache</dt>
    <dd><%= @stats.last_alerts_cache || 'nil' %></dd>
    <dt>Alerts Cache Time</dt>
    <dd><%= "%0.4f" % @stats.alerts_cache_time rescue 'nil' %></dd>
    <dt>Average Alerts Cache Time</dt>
    <dd><%= "%0.4f" % @stats.average_alerts_cache_time rescue 'nil' %></dd>
</dl>

<h2 class="stats">Cleaning</h2>
<dl>
    <dt>Last Clean</dt>
    <dd><%= @stats.last_clean || 'nil' %></dd>
    <dt>Clean Time</dt>
    <dd><%= "%0.4f" % @stats.clean_time rescue 'nil' %></dd>
    <dt>Average Clean Time</dt>
    <dd><%= "%0.4f" % @stats.average_clean_time rescue 'nil' %></dd>
</dl>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
perus-1.0.7 lib/perus/server/views/stats.erb
perus-1.0.6 lib/perus/server/views/stats.erb
perus-1.0.5 lib/perus/server/views/stats.erb
perus-1.0.4 lib/perus/server/views/stats.erb
perus-1.0.3 lib/perus/server/views/stats.erb
perus-1.0.2 lib/perus/server/views/stats.erb
perus-1.0.1 lib/perus/server/views/stats.erb
perus-1.0.0 lib/perus/server/views/stats.erb
perus-0.1.35 lib/perus/server/views/stats.erb
perus-0.1.34 lib/perus/server/views/stats.erb
perus-0.1.33 lib/perus/server/views/stats.erb
perus-0.1.32 lib/perus/server/views/stats.erb
perus-0.1.31 lib/perus/server/views/stats.erb
perus-0.1.30 lib/perus/server/views/stats.erb
perus-0.1.29 lib/perus/server/views/stats.erb
perus-0.1.28 lib/perus/server/views/stats.erb
perus-0.1.27 lib/perus/server/views/stats.erb
perus-0.1.26 lib/perus/server/views/stats.erb
perus-0.1.25 lib/perus/server/views/stats.erb
perus-0.1.24 lib/perus/server/views/stats.erb