October 2018
Beginner to intermediate
348 pages
10h
English
By default, there will be a config file at /etc/telegraf/telegraf.conf that has all supported input, output, agent, global_tags, and so on. So based on our use case, we can customize it accordingly.
Here is a sample telgraf.conf that collects and publishes all network-related metrics:
[global_tags] env = "sandbox" app = "mastering apache cassandra" region = "central" ip = "127.0.0.1"[agent] interval = "10s" round_interval = true metric_buffer_limit = 1000 flush_buffer_when_full ...