You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: manager/manager.go
+6-28Lines changed: 6 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,6 @@ import (
31
31
"github.com/google/cadvisor/cache/memory"
32
32
"github.com/google/cadvisor/collector"
33
33
"github.com/google/cadvisor/container"
34
-
"github.com/google/cadvisor/container/docker"
35
34
"github.com/google/cadvisor/container/raw"
36
35
"github.com/google/cadvisor/events"
37
36
"github.com/google/cadvisor/fs"
@@ -61,6 +60,9 @@ var eventStorageAgeLimit = flag.String("event_storage_age_limit", "default=24h",
61
60
vareventStorageEventLimit=flag.String("event_storage_event_limit", "default=100000", "Max number of events to store (per type). Value is a comma separated list of key values, where the keys are event types (e.g.: creation, oom) or \"default\" and the value is an integer. Default is applied to all non-specified event types")
62
61
varapplicationMetricsCountLimit=flag.Int("application_metrics_count_limit", 100, "Max number of application metrics to store (per container)")
63
62
63
+
// The namespace under which Docker aliases are unique.
64
+
constDockerNamespace="docker"
65
+
64
66
varHousekeepingConfigFlags=HouskeepingConfig{
65
67
flag.Duration("max_housekeeping_interval", 60*time.Second, "Largest interval to allow between container housekeepings"),
66
68
flag.Bool("allow_dynamic_housekeeping", true, "Whether to allow the housekeeping interval to be dynamic"),
@@ -134,12 +136,6 @@ type Manager interface {
134
136
135
137
CloseEventChannel(watchIDint)
136
138
137
-
// Get status information about docker.
138
-
DockerInfo() (info.DockerStatus, error)
139
-
140
-
// Get details about interesting docker images.
141
-
DockerImages() ([]info.DockerImage, error)
142
-
143
139
// Returns debugging information. Map of lines per category.
0 commit comments