2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
|
|
|
<rd-header-title title="Container stats"></rd-header-title>
|
|
|
|
<rd-header-content>
|
2017-07-08 08:23:00 +00:00
|
|
|
<a ui-sref="containers">Containers</a> > <a ui-sref="container({id: container.Id})">{{ container.Name|trimcontainername }}</a> > Stats
|
2016-06-08 06:23:11 +00:00
|
|
|
</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2015-08-25 05:55:54 +00:00
|
|
|
<div class="row">
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-body>
|
|
|
|
<div class="widget-icon grey pull-left">
|
2016-09-23 05:19:57 +00:00
|
|
|
<i class="fa fa-server"></i>
|
2015-08-27 06:41:45 +00:00
|
|
|
</div>
|
2016-06-08 06:23:11 +00:00
|
|
|
<div class="title">{{ container.Name|trimcontainername }}</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="comment">
|
|
|
|
Name
|
2015-08-27 06:41:45 +00:00
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-29 05:40:24 +00:00
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-area-chart" title="CPU usage"></rd-widget-header>
|
|
|
|
<rd-widget-body>
|
|
|
|
<canvas id="cpu-stats-chart" width="770" height="230"></canvas>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-area-chart" title="Memory usage"></rd-widget-header>
|
|
|
|
<rd-widget-body>
|
|
|
|
<canvas id="memory-stats-chart" width="770" height="230"></canvas>
|
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-area-chart" title="Network usage"></rd-widget-header>
|
|
|
|
<rd-widget-body>
|
|
|
|
<canvas id="network-stats-chart" width="770" height="230"></canvas>
|
|
|
|
<div class="comment">
|
|
|
|
<div id="network-legend" style="margin-bottom: 20px;"></div>
|
2015-08-29 05:40:24 +00:00
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-6">
|
|
|
|
<rd-widget>
|
2017-01-24 01:28:40 +00:00
|
|
|
<rd-widget-header icon="fa-tasks" title="Processes">
|
|
|
|
<div class="pull-right">
|
|
|
|
Items per page:
|
|
|
|
<select ng-model="state.pagination_count" ng-change="changePaginationCount()">
|
|
|
|
<option value="0">All</option>
|
|
|
|
<option value="10">10</option>
|
|
|
|
<option value="25">25</option>
|
|
|
|
<option value="50">50</option>
|
|
|
|
<option value="100">100</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</rd-widget-header>
|
2016-06-02 05:34:03 +00:00
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2016-10-29 04:39:15 +00:00
|
|
|
<th ng-repeat="title in containerTop.Titles">
|
|
|
|
<a ui-sref="stats({id: container.Id})" ng-click="order(title)">
|
|
|
|
{{title}}
|
|
|
|
<span ng-show="sortType == title && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == title && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
</a>
|
|
|
|
</th>
|
2016-06-02 05:34:03 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2017-01-24 01:28:40 +00:00
|
|
|
<tr dir-paginate="processInfos in state.filteredProcesses = (containerTop.Processes | orderBy:sortType:sortReverse | itemsPerPage: state.pagination_count)">
|
2016-06-02 05:34:03 +00:00
|
|
|
<td ng-repeat="processInfo in processInfos track by $index">{{processInfo}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2016-11-17 12:50:46 +00:00
|
|
|
<div ng-if="containerTop.Processes" class="pagination-controls">
|
|
|
|
<dir-pagination-controls></dir-pagination-controls>
|
|
|
|
</div>
|
2016-06-02 05:34:03 +00:00
|
|
|
</rd-widget-body>
|
|
|
|
</rd-widget>
|
|
|
|
</div>
|
2015-08-25 05:55:54 +00:00
|
|
|
</div>
|