mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-05 15:45:36 +00:00
Update cadvisor and hcsshim versions
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
This commit is contained in:
23
vendor/github.com/google/cadvisor/metrics/prometheus.go
generated
vendored
23
vendor/github.com/google/cadvisor/metrics/prometheus.go
generated
vendored
@@ -270,6 +270,13 @@ func NewPrometheusCollector(i infoProvider, f ContainerLabelsFunc, includedMetri
|
||||
getValues: func(s *info.ContainerStats) metricValues {
|
||||
return metricValues{{value: float64(s.Cpu.LoadAverage), timestamp: s.Timestamp}}
|
||||
},
|
||||
}, {
|
||||
name: "container_cpu_load_d_average_10s",
|
||||
help: "Value of container cpu load.d average over the last 10 seconds.",
|
||||
valueType: prometheus.GaugeValue,
|
||||
getValues: func(s *info.ContainerStats) metricValues {
|
||||
return metricValues{{value: float64(s.Cpu.LoadDAverage), timestamp: s.Timestamp}}
|
||||
},
|
||||
}, {
|
||||
name: "container_tasks_state",
|
||||
help: "Number of tasks in given state",
|
||||
@@ -431,6 +438,22 @@ func NewPrometheusCollector(i infoProvider, f ContainerLabelsFunc, includedMetri
|
||||
return metricValues{{value: float64(s.Memory.WorkingSet), timestamp: s.Timestamp}}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "container_memory_total_active_file_bytes",
|
||||
help: "Current total active file in bytes.",
|
||||
valueType: prometheus.GaugeValue,
|
||||
getValues: func(s *info.ContainerStats) metricValues {
|
||||
return metricValues{{value: float64(s.Memory.TotalActiveFile), timestamp: s.Timestamp}}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "container_memory_total_inactive_file_bytes",
|
||||
help: "Current total inactive file in bytes.",
|
||||
valueType: prometheus.GaugeValue,
|
||||
getValues: func(s *info.ContainerStats) metricValues {
|
||||
return metricValues{{value: float64(s.Memory.TotalInactiveFile), timestamp: s.Timestamp}}
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "container_memory_failures_total",
|
||||
help: "Cumulative count of memory allocation failures.",
|
||||
|
||||
Reference in New Issue
Block a user