Skip to content

Commit 91d198d

Browse files
author
charlyF
committed
adding option to ignore dockercloud containers
1 parent fa456d9 commit 91d198d

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pkg/config/config_template.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,17 @@ metadata_collectors:
275275
# about the docker daemon load.
276276
#
277277
# exclude_pause_container: true
278+
279+
# Exclude default containers from DockerCloud:
280+
# The following configuration will instruct the agent to ignore the containers from Docker Cloud.
281+
# You can remove the ones you want to collect.
282+
# ac_exclude: ["image:dockercloud/network-daemon","image:dockercloud/cleanup","image:dockercloud/logrotate","image:dockercloud/events","image:dockercloud/ntpd"]
283+
# ac_include: []
284+
#
285+
# You can also use the regex to ignore them all:
286+
# ac_exclude: ["image:dockercloud/*"]
287+
# ac_include: []
288+
278289
{{ end -}}
279290
{{- if .DockerTagging }}
280291
# Docker tag extraction
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
other:
3+
- |
4+
Document the exclusion of dockercloud containers.

0 commit comments

Comments
 (0)