Skip to content

Instantly share code, notes, and snippets.

@o
Created May 3, 2019 08:59
Show Gist options
  • Save o/ef67554248b8eebc54bb7437dfd9f72f to your computer and use it in GitHub Desktop.
Save o/ef67554248b8eebc54bb7437dfd9f72f to your computer and use it in GitHub Desktop.
My Telegraf configuration
[agent]
flush_interval = "10s"
flush_jitter = "0s"
interval = "10s"
round_interval = true
[inputs.cpu]
percpu = false
[inputs.disk]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "overlay", "aufs", "squashfs"]
[inputs.diskio]
[inputs.kernel]
[inputs.linux_sysctl_fs]
[inputs.mem]
[inputs.net]
ignore_protocol_stats = true
[inputs.netstat]
[inputs.processes]
[inputs.swap]
[inputs.system]
[outputs.graphite]
prefix = "telegraf"
servers = ["localhost:2003"]
template = "host.measurement.tags.field"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment