We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7442be3 commit 1aa43d4Copy full SHA for 1aa43d4
utils/dockerutil.py
@@ -48,6 +48,9 @@ class CGroupException(Exception):
48
# only used if no exclude rule was defined
49
DEFAULT_CONTAINER_EXCLUDE = ["docker_image:gcr.io/google_containers/pause.*", "image_name:openshift/origin-pod"]
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
+
54
log = logging.getLogger(__name__)
55
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
118
if self.filtering_enabled:
119
self.build_filters()
120
0 commit comments