2016-08-24 23:55:25 +00:00
|
|
|
[agent]
|
2016-09-02 17:16:11 +00:00
|
|
|
interval = "10s"
|
2016-08-24 23:55:25 +00:00
|
|
|
round_interval = true
|
|
|
|
metric_batch_size = 10000
|
|
|
|
metric_buffer_limit = 100000
|
|
|
|
collection_jitter = "0s"
|
|
|
|
flush_interval = "10s"
|
|
|
|
flush_jitter = "0s"
|
|
|
|
precision = "s"
|
|
|
|
debug = false
|
|
|
|
quiet = false
|
|
|
|
hostname = ""
|
|
|
|
omit_hostname = false
|
|
|
|
|
|
|
|
[[outputs.influxdb]]
|
|
|
|
urls = ["http://localhost:8086"] # required
|
|
|
|
database = "telegraf" # required
|
|
|
|
retention_policy = ""
|
|
|
|
write_consistency = "any"
|
|
|
|
timeout = "5s"
|
|
|
|
|
|
|
|
[[inputs.rabbit_mq_parser]]
|
|
|
|
rabbitmq_address = "amqp://guest:guest@localhost:5672/"
|
|
|
|
queue_name = "task_queue"
|
|
|
|
prefetch = 1000
|
2016-09-02 19:19:31 +00:00
|
|
|
dropped_log = "/Users/johnzampolin/.rabbitmq/drops.log"
|
2016-08-24 23:55:25 +00:00
|
|
|
|