Merge "Move few docker_images* under 'defaults' logic"
diff --git a/docker/swarm/manager.yml b/docker/swarm/manager.yml
index 3b2d916..a1eb8b7 100644
--- a/docker/swarm/manager.yml
+++ b/docker/swarm/manager.yml
@@ -15,3 +15,8 @@
       options:
         log-opts:
           labels: "com.docker.stack.namespace,com.docker.swarm.service.name,com.docker.swarm.task.name"
+  telegraf:
+    agent:
+      input:
+        docker:
+          gather_services: true
diff --git a/docker/swarm/master.yml b/docker/swarm/master.yml
index d327796..a51a5c4 100644
--- a/docker/swarm/master.yml
+++ b/docker/swarm/master.yml
@@ -11,3 +11,8 @@
       options:
         log-opts:
           labels: "com.docker.stack.namespace,com.docker.swarm.service.name,com.docker.swarm.task.name"
+  telegraf:
+    agent:
+      input:
+        docker:
+          gather_services: true
diff --git a/docker/swarm/worker.yml b/docker/swarm/worker.yml
index 4bed790..6958efb 100644
--- a/docker/swarm/worker.yml
+++ b/docker/swarm/worker.yml
@@ -11,3 +11,8 @@
       master:
         host: ${_param:cluster_node01_address}
         port: ${_param:docker_swarm_master_port}
+  telegraf:
+    agent:
+      input:
+        docker:
+          gather_services: true