update cadvisor godeps to v0.30.0
This commit is contained in:
19
vendor/github.com/google/cadvisor/info/v1/container.go
generated
vendored
19
vendor/github.com/google/cadvisor/info/v1/container.go
generated
vendored
@@ -85,8 +85,6 @@ type ContainerReference struct {
|
||||
// Namespace under which the aliases of a container are unique.
|
||||
// An example of a namespace is "docker" for Docker containers.
|
||||
Namespace string `json:"namespace,omitempty"`
|
||||
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
}
|
||||
|
||||
// Sorts by container name.
|
||||
@@ -295,10 +293,23 @@ type CpuCFS struct {
|
||||
ThrottledTime uint64 `json:"throttled_time"`
|
||||
}
|
||||
|
||||
// Cpu Aggregated scheduler statistics
|
||||
type CpuSchedstat struct {
|
||||
// https://www.kernel.org/doc/Documentation/scheduler/sched-stats.txt
|
||||
|
||||
// time spent on the cpu
|
||||
RunTime uint64 `json:"run_time"`
|
||||
// time spent waiting on a runqueue
|
||||
RunqueueTime uint64 `json:"runqueue_time"`
|
||||
// # of timeslices run on this cpu
|
||||
RunPeriods uint64 `json:"run_periods"`
|
||||
}
|
||||
|
||||
// All CPU usage metrics are cumulative from the creation of the container
|
||||
type CpuStats struct {
|
||||
Usage CpuUsage `json:"usage"`
|
||||
CFS CpuCFS `json:"cfs"`
|
||||
Usage CpuUsage `json:"usage"`
|
||||
CFS CpuCFS `json:"cfs"`
|
||||
Schedstat CpuSchedstat `json:"schedstat"`
|
||||
// Smoothed average of number of runnable threads x 1000.
|
||||
// We multiply by thousand to avoid using floats, but preserving precision.
|
||||
// Load is smoothed over the last 10 seconds. Instantaneous value can be read
|
||||
|
||||
Reference in New Issue
Block a user