2017-09-09 16:49:21 +00:00
< rd-header >
2018-06-06 16:12:35 +00:00
< rd-header-title title-text = "Container statistics" > < / rd-header-title >
2017-09-09 16:49:21 +00:00
< rd-header-content >
2020-04-10 21:54:53 +00:00
< a ui-sref = "docker.containers" > Containers< / a > > < a ui-sref = "docker.containers.container({id: container.Id})" > {{ container.Name | trimcontainername }}< / a > > Stats
2017-09-09 16:49:21 +00:00
< / rd-header-content >
< / rd-header >
< div class = "row" >
< div class = "col-md-12" >
< rd-widget >
2020-04-10 21:54:53 +00:00
< rd-widget-header icon = "fa-info-circle" title-text = "About statistics" > < / rd-widget-header >
2017-09-09 16:49:21 +00:00
< rd-widget-body >
< form class = "form-horizontal" >
< div class = "form-group" >
< div class = "col-sm-12" >
< span class = "small text-muted" >
2020-04-10 21:54:53 +00:00
This view displays real-time statistics about the container < b > {{ container.Name | trimcontainername }}< / b > as well as a list of the running processes inside this
container.
2017-09-09 16:49:21 +00:00
< / span >
< / div >
< / div >
< div class = "form-group" >
< label for = "refreshRate" class = "col-sm-3 col-md-2 col-lg-2 margin-sm-top control-label text-left" >
Refresh rate
< / label >
< div class = "col-sm-3 col-md-2" >
< select id = "refreshRate" ng-model = "state.refreshRate" ng-change = "changeUpdateRepeater()" class = "form-control" >
2018-12-03 08:49:02 +00:00
< option value = "1" > 1s< / option >
< option value = "3" > 3s< / option >
2017-09-09 16:49:21 +00:00
< option value = "5" > 5s< / option >
< option value = "10" > 10s< / option >
< option value = "30" > 30s< / option >
< option value = "60" > 60s< / option >
< / select >
< / div >
< span >
< i id = "refreshRateChange" class = "fa fa-check green-icon" aria-hidden = "true" style = "margin-top: 7px; display: none;" > < / i >
< / span >
< / div >
2017-09-27 07:47:11 +00:00
< div class = "form-group" ng-if = "state.networkStatsUnavailable" >
< div class = "col-sm-12" >
2020-04-10 21:54:53 +00:00
< span class = "small text-muted" > < i class = "fa fa-exclamation-triangle orange-icon" aria-hidden = "true" > < / i > Network stats are unavailable for this container. < / span >
2017-09-27 07:47:11 +00:00
< / div >
< / div >
2017-09-09 16:49:21 +00:00
< / form >
< / rd-widget-body >
< / rd-widget >
< / div >
< / div >
< div class = "row" >
2020-04-10 21:54:53 +00:00
< div ng-class = "{ true: 'col-md-6 col-sm-12', false: 'col-lg-4 col-md-6 col-sm-12' }[state.networkStatsUnavailable]" >
2017-09-09 16:49:21 +00:00
< rd-widget >
2018-06-06 16:12:35 +00:00
< rd-widget-header icon = "fa-chart-area" title-text = "Memory usage" > < / rd-widget-header >
2017-09-09 16:49:21 +00:00
< rd-widget-body >
< div class = "chart-container" style = "position: relative;" >
< canvas id = "memoryChart" width = "770" height = "300" > < / canvas >
< / div >
< / rd-widget-body >
< / rd-widget >
< / div >
2020-04-10 21:54:53 +00:00
< div ng-class = "{ true: 'col-md-6 col-sm-12', false: 'col-lg-4 col-md-6 col-sm-12' }[state.networkStatsUnavailable]" >
2017-09-09 16:49:21 +00:00
< rd-widget >
2018-06-06 16:12:35 +00:00
< rd-widget-header icon = "fa-chart-area" title-text = "CPU usage" > < / rd-widget-header >
2017-09-09 16:49:21 +00:00
< rd-widget-body >
< div class = "chart-container" style = "position: relative;" >
< canvas id = "cpuChart" width = "770" height = "300" > < / canvas >
< / div >
< / rd-widget-body >
< / rd-widget >
< / div >
2017-09-27 07:47:11 +00:00
< div class = "col-lg-4 col-md-12 col-sm-12" ng-if = "!state.networkStatsUnavailable" >
2017-09-09 16:49:21 +00:00
< rd-widget >
2019-07-11 04:52:28 +00:00
< rd-widget-header icon = "fa-chart-area" title-text = "Network usage (aggregate)" > < / rd-widget-header >
2017-09-09 16:49:21 +00:00
< rd-widget-body >
< div class = "chart-container" style = "position: relative;" >
< canvas id = "networkChart" width = "770" height = "300" > < / canvas >
< / div >
< / rd-widget-body >
< / rd-widget >
< / div >
2017-12-06 11:04:02 +00:00
2017-09-09 16:49:21 +00:00
< div class = "col-sm-12" ng-if = "applicationState.endpoint.mode.provider !== 'VMWARE_VIC'" >
2017-12-06 11:04:02 +00:00
< container-processes-datatable
2020-04-10 21:54:53 +00:00
title-text="Processes"
title-icon="fa-tasks"
dataset="processInfo.Processes"
headerset="processInfo.Titles"
table-key="container-processes"
2018-07-24 07:25:46 +00:00
>< / container-processes-datatable >
2017-09-09 16:49:21 +00:00
< / div >
< / div >