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):
4848# only used if no exclude rule was defined
4949DEFAULT_CONTAINER_EXCLUDE = ["docker_image:gcr.io/google_containers/pause.*" , "image_name:openshift/origin-pod" ]
5050
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+
5154log = logging .getLogger (__name__ )
5255
5356
@@ -108,6 +111,10 @@ def __init__(self, **kwargs):
108111 else :
109112 self .filtering_enabled = True
110113
114+ if instance .get ('ignore_docker_cloud_containers' ):
115+ self ._exclude = DOCKERCLOUD_EXCLUDE
116+ self .filtering_enabled = False
117+
111118 if self .filtering_enabled :
112119 self .build_filters ()
113120
You can’t perform that action at this time.
0 commit comments