This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
operation-and-maintenance-a…/ansible-playbook-test1/telegraf/telegraf.conf
2020-02-16 11:51:34 +08:00

41 lines
830 B
Plaintext

[global_tags]
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
debug = false
quiet = false
logfile = ""
hostname = ""
omit_hostname = false
[[outputs.influxdb]]
urls = ["http://ip:58086"]
database = "tsg_stat"
# HTTP Basic Auth
username = "admin"
password = "tsg2019"
[[outputs.influxdb]]
urls = ["http://ip:58086"]
database = "tsg_stat"
# HTTP Basic Auth
username = "admin"
password = "tsg2019"
[[inputs.statsd]]
protocol = "udp4"
service_address = ":58125"
percentiles = [20,30,40,50,60,70,80,90,95,99]
percentile_limit = 100000000
[[inputs.udp_listener]]
ServiceAddress= ":58126"
data_format = "influx"