Sha256: 7c697ee2c0b93b9662a423be8ae84c70cea2467c7090219ee30d1fc8a9eb5ca7

Contents?: true

Size: 1.84 KB

Versions: 21

Compression:

Stored size: 1.84 KB

Contents

<div id="counters" class="container mb-5">
  <div class="row">
    <div class="col-sm-12">
      <div class="card">
        <div class="card-body p-2 small">
          <div class="col-sm-12">
            <ul class="list-unstyled row text-center mb-0 mt-0">
              <li class="col-sm">
                <div class="count mb-1"><%= @counters.messages %></div>
                <div class="desc">Messages</div>
              </li>
              <li class="col-sm">
                <div class="count mb-1"><%= @counters.batches %></div>
                <div class="desc">Batches</div>
              </li>
              <li class="col-sm">
                <div class="count mb-1"><%= @processes.sum(&:lag_stored) %></div>
                <div class="desc">Lag</div>
              </li>
              <li class="col-sm">
                <div class="count mb-1"><%= @counters.busy %></div>
                <div class="desc">Busy</div>
              </li>
              <li class="col-sm">
                <div class="count mb-1"><%= @counters.enqueued %></div>
                <div class="desc">Enqueued</div>
              </li>
              <li class="col-sm">
                <a href="<%= root_path('errors/0') %>">
                  <div class="count mb-1"><%= @counters.errors %></div>
                  <div class="desc">Errors</div>
                </a>
              </li>
              <li class="col-sm">
                <div class="count mb-1"><%= @counters.retries %></div>
                <div class="desc">Retries</div>
              </li>
              <li class="col-sm">
                <a href="<%= root_path('dlq') %>">
                  <div class="count mb-1"><%= @counters.dead %></div>
                  <div class="desc">Dead</div>
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
karafka-web-0.6.3 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.6.2 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.6.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.6.0 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.5.2 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.5.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.5.0 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.4.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.4.0 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.3.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.3.0 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.5 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.4 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.3 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.2 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.2.0 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.1.3 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.1.2 lib/karafka/web/ui/pro/views/consumers/_counters.erb
karafka-web-0.1.1 lib/karafka/web/ui/pro/views/consumers/_counters.erb