Sha256: 5670baff79b96e4a882504be2c1b6a9b67bd7658dcbca2a2b7a258ccd7af7e3f

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

<div id="summary" class="container text-center mb-5">
  <div class="row">

    <div class="col-lg-2 offset-md-1">
      <div class="card mb-0">
        <div class="card-body">
          <p class="card-text">
            <div class="stat mb-1">
              <%= @counters.processes %>
            </div>
            <div class="desc">
              Processes
            </div>
          </p>
        </div>
      </div>
    </div>

    <div class="col-lg-2">
      <div class="card mb-0">
        <div class="card-body">
          <p class="card-text">
            <div class="stat mb-1">
              <%= @counters.workers %>
            </div>
            <div class="desc">
              Workers
            </div>
          </p>
        </div>
      </div>
    </div>

    <div class="col-lg-2">
      <div class="card mb-0">
        <div class="card-body">
          <p class="card-text">
            <div class="stat mb-1">
              <%= @counters.listeners.fetch(:active) %>
            </div>
            <div class="desc">
              Active Listeners
            </div>
          </p>
        </div>
      </div>
    </div>

    <div class="col-lg-2">
      <div class="card mb-0">
        <div class="card-body">
          <p class="card-text">
            <div class="stat mb-1">
              <%= @counters.utilization.round(2) %>
              %
            </div>
            <div class="desc">
              Utilization
            </div>
          </p>
        </div>
      </div>
    </div>

    <div class="col-lg-2">
      <div class="card mb-0">
        <div class="card-body">
          <p class="card-text">
            <div class="stat mb-1">
              <%= format_memory @counters.rss %>
            </div>
            <div class="desc">
              RSS
            </div>
          </p>
        </div>
      </div>
    </div>

  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
karafka-web-0.8.2 lib/karafka/web/ui/views/consumers/_summary.erb
karafka-web-0.8.1 lib/karafka/web/ui/views/consumers/_summary.erb
karafka-web-0.8.0 lib/karafka/web/ui/views/consumers/_summary.erb
karafka-web-0.8.0.rc1 lib/karafka/web/ui/views/consumers/_summary.erb