Sha256: 27f3be1bc08059d0e75ae2f16c673f1ed23b30ab52e9c2fe8148f606429d7f0b
Contents?: true
Size: 1.63 KB
Versions: 12
Compression:
Stored size: 1.63 KB
Contents
<%== view_title('Consumers groups health') %> <% if @stats.empty? %> <div class="container mb-4"> <div class="row"> <div class="col-lg-12"> <div class="alert alert-info" role="alert"> No health data is available. It may mean no processes are running. </div> </div> </div> </div> <% end %> <% @stats.each do |cg_name, details| %> <div class="container mb-5"> <div class="row mb-3"> <div class="col-sm-12"> <h4 class="mb-4"><%= cg_name %></h4> <hr/> </div> </div> <div class="row mb-5"> <div class="col-sm-12"> <table class="processes bg-white table table-hover table-bordered table-striped mb-0 align-middle"> <thead> <tr class="align-middle"> <th class="align-middle">Topic</th> <th>Partition</th> <th>Lag stored</th> <th>Lag trend</th> <th>Committed offset</th> <th>Stored offset</th> <th>Fetch state</th> <th>Poll state</th> <th>Process name</th> </tr> </thead> <tbody> <% details.sort_by(&:first).each do |topic_name, partitions| %> <% partitions.sort_by(&:first).each do |partition_id, details| %> <%== partial( 'health/partition', locals: { topic_name: topic_name, partition_id: partition_id, details: details } ) %> <% end %> <% end %> </tbody> </table> </div> </div> </div> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems