blob: d1d7a4356990459131de3f0da8a2e9db90440403 [file] [log] [blame]
Bartosz Kupidurabc698cc2017-03-10 09:14:06 +01001telegraf:
2 agent:
3 enabled: true
4 interval: 15
5 round_interval: false
6 metric_batch_size: 1000
7 metric_buffer_limit: 10000
8 collection_jitter: 2
Martin Polreich9690d172017-05-17 15:22:32 +02009 flush_interval: 10
10 flush_jitter: 2
11 precision: ms
12 logfile: etc/telegraf/log
13 debug: true
14 quiet: false
15 hostname: hostname
16 omit_hostname: false
17 global_tags:
18 user: $USER
19 static_tag: global_tag_1
Bartosz Kupidurabc698cc2017-03-10 09:14:06 +010020 output:
21 prometheus_client:
22 bind:
23 address: 127.0.0.1
24 port: 9126
25 engine: prometheus
Petr Michalecd65015f2017-09-14 09:51:53 +020026 influxdb:
27 urls:
28 - http://127.0.0.1:8086
29 database: test-telegraf
30 write_consistency: any
31 timeout: 10s
Martin Polreich9690d172017-05-17 15:22:32 +020032 input:
33 cpu:
34 totalcpu: totalcpu_value
35 tags:
36 cpu_tag_1: cpu_value_1
37 disk:
38 mountpoints: 2
39 tags:
40 disk_tag_1: disk_value_1
41 diskio:
42 skip_serial_number: false
43 tags:
44 diskio_tag_1: diskio_value_1
45 docker:
46 endpoint: endpoint_name
47 tags:
48 docker_tag_1: docker_value_1
49 mem:
50 tags:
51 mem_tag_1: mem_value_1
52 net:
53 tags:
54 net_tag_1: net_value_1
55 netstat:
56 tags:
57 netstat_tag_1: netstat_value_1
58 processes:
59 tags:
60 processes_tag_1: processes_value_1
61 procstat:
62 pid_file: pid_file_name
63 tags:
64 procstat_tag_1: procstat_value_1
65 system:
66 tags:
67 system_tag_1: system_value_1