diff --git a/plugins/inputs/docker/README.md b/plugins/inputs/docker/README.md index bae40aefd..1f5e9b37d 100644 --- a/plugins/inputs/docker/README.md +++ b/plugins/inputs/docker/README.md @@ -22,8 +22,7 @@ for the stat structure can be found endpoint = "unix:///var/run/docker.sock" # Only collect metrics for these containers, collect all if empty container_names = [] - ## Only collect these container labels from docker daemon, collect all if empty but note that - ## this will break prometheus output if containers have inconsistent label sets. + ## Only collect these container labels from docker daemon, collect all if empty container_labels = [] ``` diff --git a/plugins/inputs/docker/docker.go b/plugins/inputs/docker/docker.go index 4f1643eb3..1cebd8628 100644 --- a/plugins/inputs/docker/docker.go +++ b/plugins/inputs/docker/docker.go @@ -57,8 +57,7 @@ var sampleConfig = ` endpoint = "unix:///var/run/docker.sock" ## Only collect metrics for these containers, collect all if empty container_names = [] - ## Only collect these container labels from docker daemon, collect all if empty but note that - ## this will break prometheus output if containers have inconsistent label sets. + ## Only collect these container labels from docker daemon, collect all if empty container_labels = [] ## Timeout for docker list, info, and stats commands timeout = "5s"