| <!-- |
| 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. |
| --> |
| |
| <h2>Status</h2> |
| <table class="table table-bordered table-striped" class="col-md-6"> |
| <tbody> |
| <tr> |
| <td>Rpc port</td> |
| <td>{{$ctrl.overview.jmx.RpcPort}}</td> |
| </tr> |
| <tr> |
| <td>OM Roles (HA) </td> |
| <td>{{$ctrl.overview.jmx.RatisRoles}}</td> |
| </tr> |
| <tr> |
| <td>Current-Role</td> |
| <td>{{$ctrl.role.Role}}</td> |
| </tr> |
| <tr> |
| <td>Group-Id</td> |
| <td>{{$ctrl.role.GroupId}}</td> |
| </tr> |
| <tr ng-hide="!$ctrl.electionCount.Count || $ctrl.electionCount.Count==-1"> |
| <td>Election-Count</td> |
| <td>{{$ctrl.electionCount.Count}}</td> |
| </tr> |
| <tr ng-hide="!$ctrl.elapsedTime.Value || $ctrl.elapsedTime.Value==-1"> |
| <td>Last Election Elapsed Time</td> |
| <td>{{$ctrl.elapsedTime.Value}}</td> |
| </tr> |
| </tbody> |
| </table> |
| |
| <h2>Meta-Data Volume Information</h2> |
| <table class="table table-bordered table-striped" class="col-md-6"> |
| <tbody> |
| <tr> |
| <td>Ratis Log directory</td> |
| <td>{{$ctrl.overview.jmx.RatisLogDirectory}}</td> |
| </tr> |
| <tr> |
| <td>RocksDB Directory</td> |
| <td>{{$ctrl.overview.jmx.RocksDbDirectory}}</td> |
| </tr> |
| </tbody> |
| </table> |