# Docker with all options migrated
[[inputs.docker]]
  endpoint = "unix:///var/run/docker.sock"
  gather_services = true
  container_name_include = ["web", "api"]
  perdevice_include = ["cpu", "network", "blkio"]
  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