You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[inputs.docker]]
## Docker Endpoint
## To use TCP, set endpoint = "tcp://[ip]:[port]"
## To use environment variables (ie, docker-machine), set endpoint = "ENV"
## exp: unix:///var/run/docker.sock
endpoint = "localhost"
## Set to true to collect Swarm metrics(desired_replicas, running_replicas)
gather_services = false
## Only collect metrics for these containers, collect all if empty
container_names = []
## Containers to include and exclude. Globs accepted.
## Note that an empty array for both will include all containers
container_name_include = []
container_name_exclude = []
## Container states to include and exclude. Globs accepted.
## When empty only containers in the "running" state will be captured.
# container_state_include = []
# container_state_exclude = []
## Timeout for docker list, info, and stats commands
timeout = "5s"
## Whether to report for each container per-device blkio (8:0, 8:1...) and
## network (eth0, eth1, ...) stats or not
perdevice = true
## Whether to report for each container total blkio and network stats or not
total = false
## Which environment variables should we use as a tag
##tag_env = ["JAVA_HOME", "HEAP_SIZE"]
## 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 = []
System info:
Telegraf version: master 3c4e737
operating system name: Mac OS 10.14.2
and other relevant details: Docker isn't running
Steps to reproduce:
add config for docker
ensure docker isn't running (but the address is invalid so it wouldn't matter)
Relevant telegraf.conf:
System info:
Telegraf version: master 3c4e737
operating system name: Mac OS 10.14.2
and other relevant details: Docker isn't running
Steps to reproduce:
Expected behavior:
telegraf doesn't panic
Actual behavior:
telegraf panics
Additional info:
[Include gist of relevant config, logs, etc.]
The text was updated successfully, but these errors were encountered: