1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <!--
- * 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.
- -->
- <div class="clearfix">
- <div class="name span2">
- {{view App.MainDashboardServiceHealthView parentBinding="view"}}
- <a {{action selectService view.service href=true}}>{{view.service.label}}</a>
- {{#if view.criticalAlertsCount}}
- <span class="label label-important alerts-count">{{view.criticalAlertsCount}}</span>
- {{/if}}
- </div>
- <div class="summary span">
- {{view.summaryHeader}}
- </div>
- </div>
- <table class="table no-borders">
- <tbody>
- <!-- Master Server Heap -->
- <tr>
- <td>{{t dashboard.services.hbase.masterServerHeap}}</td>
- <td>?</td>
- </tr>
- <!-- Average load -->
- <tr>
- <td>{{t dashboard.services.hbase.averageLoad}}</td>
- <td>?</td>
- </tr>
- <!-- Region Servers -->
- <tr>
- <td>{{t dashboard.services.hbase.regionServers}}</td>
- <td>{{view.regionServers}}</td>
- </tr>
- <!-- Master Server Uptime -->
- <tr>
- <td>{{t dashboard.services.hbase.masterServerUptime}}</td>
- <td>{{view.masterServerUptime}}</td>
- </tr>
- <!-- Hosts -->
- <tr>
- <td>{{t dashboard.services.hosts}}</td>
- <td>
- {{#each component in view.service.components}}
- {{#if component.type}}
- <a href="#" {{action selectHost component.host}}>{{component.componentName}}</a>,
- {{else}}
- <a href="#" {{action filterHosts component}}>{{component.componentName}}</a>
- {{/if}}
- {{/each}}
- </td>
- </tr>
- </tbody>
- </table>
- <div class="chart">
- {{view view.Chart}}
- <div class="chartLabel">{{t dashboard.services.hbase.chart.label}}</div>
- {{#if view.service.quickLinks.length}}
- <div class="btn-group">
- <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#">
- Quick Links
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu">
- {{#each view.service.quickLinks}}
- <li><a href="javascript:void(null)">{{label}}</a></li>
- {{/each}}
- </ul>
- </div>
- {{/if}}
- </div>
|