Collector Configuration Details
[[inputs.docker]]
endpoint = "unix:///var/run/docker.sock"
container_names = []
timeout = "5s"
perdevice = true
## Whether to report for each container total blkio and network stats or not
total = false
## docker labels to include and exclude as tags. Globs accepted.
## Note that an empty array for both will include all labels as tags
docker_label_include = []
docker_label_exclude = []
[[outputs.influxdb]]
urls = ["http://$INFLUX_HOST:$INFLUX_PORT"] # required
database = "telegraf" # required
retention_policy = ""
write_consistency = "any"
timeout = "5s"