[agent]
  interval = "5s"
  round_interval = true
  metric_batch_size = 1000
  metric_buffer_limit = 10000
  collection_jitter = "0s"
  flush_interval = "5s"
  flush_jitter = "0s"
  precision = ""
  debug = false
  quiet = false
  logfile = ""
  hostname = "$HOSTNAME"
  omit_hostname = false

[[inputs.docker]]
  endpoint = "unix:///var/run/docker.sock"

[[outputs.influxdb_v2]]
  urls = ["http://influxdb:9999"]
  organization = "milvert"
  bucket = "home"
  token = "-I2TAAlmXdJ06yMw9wf-Mztf83ZzYZUdE8Ov2hMrnYabvXUnxL2cZfDzNHR6LTbW7ND5rE95CdvV2-Cy8IMHZQ"

[[inputs.http_listener_v2]]
  ## Address and port to host HTTP listener on
  service_address = ":8081"

  ## Path to listen to.
   path = "/write"

  ## HTTP methods to accept.
   methods = ["POST", "PUT"]

  data_format = "influx"
