Commit 90758940 by Johannes Stelzer

Add systemload average to details

parent b7d88569
......@@ -89,6 +89,16 @@
<table class="table">
<thead><tr><th>JVM</th><th><small class="pull-right"><a href="{{ application.url }}/metrics">raw JSON</a></small></th></tr></thead>
<tbody>
<tr ng-if="metrics['systemload.average'] != null && metrics['systemload.average'] >= 0.0">
<td colspan="2">Systemload (last minute average)
<div class="progress" style="margin-bottom: 0px;">
<div class="bar" style="width:{{ metrics['systemload.average'] * 100 | number:0 }}%;"
ng-class="{'bar-success': metrics['systemload.average'] < 0.75, 'bar-warning': metrics['systemload.average'] >= 0.75 && metrics['systemload.average'] < 0.95, 'bar-danger': metrics['systemload.average'] >= 0.95}">
{{metrics['systemload.average'] * 100 | number:0}}%
</div>
</div>
</td>
</tr>
<tr>
<td>Uptime</td>
<td>{{ metrics['uptime'] + ticks | timeInterval }} [d:h:m:s]</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment