# Docker with all deprecated options
[[inputs.docker]]
  endpoint = "unix:///var/run/docker.sock"
  gather_services = true
  container_names = ["web", "api"]
  perdevice = true
  total = false
  source_tag = true
  timeout = "10s"
  docker_label_include = ["app", "version"]
  docker_label_exclude = ["internal"]
  tag_env = ["NODE_ENV", "PORT"]

  # TLS Configuration
  #tls_ca = "/etc/telegraf/ca.pem"
  #tls_cert = "/etc/telegraf/cert.pem"
  #tls_key = "/etc/telegraf/key.pem"
  insecure_skip_verify = false