Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
input buffer class was removed by accident, show it again
Browse files Browse the repository at this point in the history
  • Loading branch information
kroepke committed Apr 1, 2015
1 parent e400b00 commit ccc95c9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/views/system/nodes/show.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,19 @@ <h2><i class="fa fa-tasks"></i> Memory/Heap usage</h2>
<div class="col-md-12">
<h2><i class="fa fa-shield"></i> Buffers</h2>
<div class="row">
<div class="col-md-4">
<a href="@routes.MetricsController.ofNode(node.getNodeId, node.getBufferClasses.inputBuffer)" class="btn btn-default btn-xs pull-right">Metrics</a>
<h3>Input buffer</h3>

@defining(node.getBufferInfo.getInputBuffer.utilizationPercent) { utilizationPercent =>
<div class="progress progress-percentage node-buffer-usage">
<div class="progress-bar progress-bar-warning" data-percentage="@utilizationPercent" style="width : @utilizationPercent% ;"><span class="number-format" data-format="0.0%">@utilizationPercent%</span></div>
</div>
<strong><span class="number-format" data-format="0,0">@node.getBufferInfo.getInputBuffer.utilization</span> messages</strong> in input buffer.
(<span class="number-format" data-format="0.0%">@utilizationPercent%</span> utilized)
}
</div>

<div class="col-md-4">
<a href="@routes.MetricsController.ofNode(node.getNodeId, node.getBufferClasses.processBuffer)" class="btn btn-default btn-xs pull-right">Metrics</a>
<h3>Process buffer</h3>
Expand Down

0 comments on commit ccc95c9

Please sign in to comment.