File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ class CGroupException(Exception):
48
48
# only used if no exclude rule was defined
49
49
DEFAULT_CONTAINER_EXCLUDE = ["docker_image:gcr.io/google_containers/pause.*" , "image_name:openshift/origin-pod" ]
50
50
51
+ # only used for docer cloud users not willing to monitor the underlying containers of the docker cloud agent.
52
+ DOCKERCLOUD_EXCLUDE = ["docker_image:dockercloud/.*" ]
53
+
51
54
log = logging .getLogger (__name__ )
52
55
53
56
@@ -108,6 +111,10 @@ def __init__(self, **kwargs):
108
111
else :
109
112
self .filtering_enabled = True
110
113
114
+ if instance .get ('ignore_docker_cloud_containers' ):
115
+ self ._exclude = DOCKERCLOUD_EXCLUDE
116
+ self .filtering_enabled = False
117
+
111
118
if self .filtering_enabled :
112
119
self .build_filters ()
113
120
You can’t perform that action at this time.
0 commit comments