blob: 2a8b51e56a48dca2d3efab82adb0ad715290e1fb [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<table ng-if="metrics.id" class="table table-properties">
<thead>
<tr>
<th>Memory type / State</th>
<th>Memory - Committed</th>
<th>Memory - Initial</th>
<th>Memory - Maximum</th>
</tr>
</thead>
<tbody>
<tr>
<td>Heap</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.heap.committed'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.heap.init'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.heap.max'].value | bytes:MB"></td>
</tr>
<tr>
<td>Non-Heap</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.non-heap.committed'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.non-heap.init'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.non-heap.max'].value | bytes:MB"></td>
</tr>
<tr>
<td>Total</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.total.committed'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.total.init'].value | bytes:MB"></td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.total.max'].value | bytes:MB"></td>
</tr>
</tbody>
</table>
<table ng-if="metrics.id" class="table">
<thead>
<tr>
<th>Data Port</th>
<th>All Slots</th>
<th>Free Slots</th>
<th>CPU Cores</th>
<th>Physical Memory</th>
<th>Free Memory</th>
<th>Flink Managed Memory</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ metrics.dataPort }}</td>
<td>{{ metrics.slotsNumber }}</td>
<td>{{ metrics.freeSlots }}</td>
<td>{{ metrics.cpuCores }}</td>
<td>{{ metrics.physicalMemory | bytes:MB }}</td>
<td>{{ metrics.freeMemory | bytes:MB }}</td>
<td>{{ metrics.managedMemory | bytes:MB }}</td>
</tr>
</tbody>
</table>
<div ng-if="metrics.id" class="row">
<div class="col-md-6">
<table class="table table-properties">
<thead>
<tr>
<th colspan="2">Memory - Pools</th>
</tr>
</thead>
<tbody>
<tr>
<td>Code Cache</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.Code-Cache.usage'].value | number:2"></td>
</tr>
<tr>
<td>Compressed Class Space</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.Compressed-Class-Space.usage'].value | number:2"></td>
</tr>
<tr>
<td>Metaspace</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.Metaspace.usage'].value | number:2"></td>
</tr>
<tr>
<td>PS Eden Space</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.PS-Eden-Space.usage'].value | number:2"></td>
</tr>
<tr>
<td>PS Old Gen</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.PS-Old-Gen.usage'].value | number:2"></td>
</tr>
<tr>
<td>PS Survivor Space</td>
<td table-property="table-property" value="metrics.metrics.gauges['memory.pools.PS-Survivor-Space.usage'].value | number:2"></td>
</tr>
</tbody>
</table>
</div>
<div class="col-md-6">
<table class="table table-properties">
<thead>
<tr>
<th colspan="2">Garbage Collection</th>
</tr>
</thead>
<tbody>
<tr>
<td>PS-MarkSweep Count</td>
<td table-property="table-property" value="metrics.metrics.gauges['gc.PS-MarkSweep.count'].value"></td>
</tr>
<tr>
<td>PS-MarkSweep Time (ms)</td>
<td table-property="table-property" value="metrics.metrics.gauges['gc.PS-MarkSweep.time'].value"></td>
</tr>
<tr>
<td>PS-Scavenge Count</td>
<td table-property="table-property" value="metrics.metrics.gauges['gc.PS-Scavenge.count'].value"></td>
</tr>
<tr>
<td>PS-Scavenge Time (ms)</td>
<td table-property="table-property" value="manager.metrics.gauges['gc.PS-Scavenge.time'].value"></td>
</tr>
</tbody>
</table>
</div>
</div>