blob: 4182d5c8b08bc1a967338d8b56aa19bbeed0ee18 [file] [log] [blame]
Bartosz Kupidurabc698cc2017-03-10 09:14:06 +01001=======================
2Salt Telegraf formula
3=======================
4
5Power your metrics and alerting with a leading open-source monitoring
6solution.
7
8Sample pillars
9==============
10
11.. code-block:: yaml
12
13 telegraf:
14 agent:
15 enabled: true
16 interval: 15
17 round_interval: false
18 metric_batch_size: 1000
19 metric_buffer_limit: 10000
20 collection_jitter: 2
21 output:
22 prometheus_client:
23 bind:
24 address: 0.0.0.0
25 port: 9126
26 engine: prometheus
Bartosz Kupiduraf2810912017-04-10 14:09:43 +020027
Petr Michalecd65015f2017-09-14 09:51:53 +020028Influx output
29-------------
30
31.. code-block:: yaml
32
33 telegraf:
34 agent:
35 output:
36 influxdb:
37 urls:
38 - http://127.0.0.1:8086
39 database: test-telegraf
40 write_consistency: any
41 timeout: 10s
Kostiantyn Ovchynnykovf16c2752021-03-09 11:42:29 +020042
43Multiple outputs of the same type
44---------------------------------
45
46.. code-block:: yaml
47
48 telegraf:
49 agent:
50 output:
51 prometheus_client:
52 bind:
53 address: 0.0.0.0
54 port: 9126
55 engine: prometheus
56 expiration_interval: 1m
57 namedrop:
58 - custom_metric
59 string_as_label: false
60 prometheus_client_custom:
61 bind:
62 address: 0.0.0.0
63 port: 9127
64 engine: prometheus
65 expiration_interval: 10m
66 namepass:
67 - custom_metric
68 string_as_label: false
69 template: telegraf/files/output/prometheus_client.conf