Bump cAdvisor to v0.43.0
Bumping cAdvisor from v0.39.2 -> v0.43.0 * Also pin transitive dependencies * containerd v1.4.9 -> v1.4.11 * docker v20.10.2+incompatible> v20.10.7+incompatible Signed-off-by: David Porter <david@porter.me>
This commit is contained in:
11
vendor/github.com/google/cadvisor/metrics/prometheus_machine.go
generated
vendored
11
vendor/github.com/google/cadvisor/metrics/prometheus_machine.go
generated
vendored
@@ -17,9 +17,10 @@ package metrics
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"github.com/google/cadvisor/container"
|
||||
info "github.com/google/cadvisor/info/v1"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
|
||||
"k8s.io/klog/v2"
|
||||
)
|
||||
@@ -334,6 +335,14 @@ func getCaches(machineInfo *info.MachineInfo) metricValues {
|
||||
timestamp: machineInfo.Timestamp,
|
||||
})
|
||||
}
|
||||
for _, cache := range core.UncoreCaches {
|
||||
mValues = append(mValues,
|
||||
metricValue{
|
||||
value: float64(cache.Size),
|
||||
labels: []string{nodeID, coreID, cache.Type, strconv.Itoa(cache.Level)},
|
||||
timestamp: machineInfo.Timestamp,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
for _, cache := range node.Caches {
|
||||
|
Reference in New Issue
Block a user