Bartosz Kupidura | bc698cc | 2017-03-10 09:14:06 +0100 | [diff] [blame] | 1 | telegraf: |
| 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 Polreich | 9690d17 | 2017-05-17 15:22:32 +0200 | [diff] [blame^] | 9 | 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 Kupidura | bc698cc | 2017-03-10 09:14:06 +0100 | [diff] [blame] | 20 | output: |
| 21 | prometheus_client: |
| 22 | bind: |
| 23 | address: 127.0.0.1 |
| 24 | port: 9126 |
| 25 | engine: prometheus |
Martin Polreich | 9690d17 | 2017-05-17 15:22:32 +0200 | [diff] [blame^] | 26 | input: |
| 27 | cpu: |
| 28 | totalcpu: totalcpu_value |
| 29 | tags: |
| 30 | cpu_tag_1: cpu_value_1 |
| 31 | disk: |
| 32 | mountpoints: 2 |
| 33 | tags: |
| 34 | disk_tag_1: disk_value_1 |
| 35 | diskio: |
| 36 | skip_serial_number: false |
| 37 | tags: |
| 38 | diskio_tag_1: diskio_value_1 |
| 39 | docker: |
| 40 | endpoint: endpoint_name |
| 41 | tags: |
| 42 | docker_tag_1: docker_value_1 |
| 43 | mem: |
| 44 | tags: |
| 45 | mem_tag_1: mem_value_1 |
| 46 | net: |
| 47 | tags: |
| 48 | net_tag_1: net_value_1 |
| 49 | netstat: |
| 50 | tags: |
| 51 | netstat_tag_1: netstat_value_1 |
| 52 | processes: |
| 53 | tags: |
| 54 | processes_tag_1: processes_value_1 |
| 55 | procstat: |
| 56 | pid_file: pid_file_name |
| 57 | tags: |
| 58 | procstat_tag_1: procstat_value_1 |
| 59 | system: |
| 60 | tags: |
| 61 | system_tag_1: system_value_1 |