-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtelegraf.conf
More file actions
38 lines (29 loc) · 831 Bytes
/
telegraf.conf
File metadata and controls
38 lines (29 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Configuration for telegraf agent
[agent]
interval = "2s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "2s"
flush_jitter = "0s"
precision = ""
# hostname = "rabbitmq-container"
hostname = "localhost"
omit_hostname = false
[[outputs.influxdb_v2]]
urls = ["http://influx_festival:8086"]
token = "$INFLUX_TOKEN"
organization = "DIGIT-BENCH"
bucket = "FESTIVAL_DEMO"
# AMQP consumer plugin
[[inputs.amqp_consumer]]
brokers = ["amqp://rabbitmq-container:5672"]
username = "guest"
password = "guest"
#exchange = "cosim_exchange"
queue = "telegraf_queue"
# AMQP queue durability can be "transient" or "durable".
queue_durability = "transient"
data_format = "json"
# auto_delete = "True"