Skip to content

Instantly share code, notes, and snippets.

@nheath
Created September 13, 2017 17:08
Show Gist options
  • Select an option

  • Save nheath/fa3daa527c12b8b654c6188f1e1a9401 to your computer and use it in GitHub Desktop.

Select an option

Save nheath/fa3daa527c12b8b654c6188f1e1a9401 to your computer and use it in GitHub Desktop.
[agent]
interval = "10s"
round_interval = true
metric_buffer_limit = 5000
flush_buffer_when_full = true
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
debug = true
quiet = false
logfile = "/logs/telegraf.log"
hostname = ""
[[outputs.influxdb]]
urls = ["http://influxdb-server:8086"]
database = "test"
precision = "s"
timeout = "5s"
[[inputs.win_perf_counters]]
[[inputs.win_perf_counters.tags]]
test = "foo"
[[inputs.win_perf_counters.object]]
ObjectName = "System"
Measurement = "Processor"
Counters = [
"Context Switches/sec",
"Processor Queue Length",
"System Calls/sec",
"Threads",
]
Instances = ["------"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment