forked from veepee-oss/influxdb-relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold_sample.conf
29 lines (26 loc) · 894 Bytes
/
old_sample.conf
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
# -*- toml -*-
# InfluxDB
[[http]]
name = "example-http-influxdb"
bind-addr = "127.0.0.1:9096"
output = [
{ name="local-influxdb01", location = "http://127.0.0.1:8086/write", timeout="10s", type="influxdb" },
{ name="local-influxdb02", location = "http://127.0.0.1:7086/write", timeout="10s", type="influxdb" },
]
# Prometheus
[[http]]
name = "example-http-prometheus"
bind-addr = "127.0.0.1:9096"
output = [
{ name="local-influxdb01", location="http://127.0.0.1:8086/api/v1/prom/write", timeout="10s", type="prometheus" },
{ name="local-influxdb02", location="http://127.0.0.1:7086/api/v1/prom/write", timeout="10s", type="prometheus" },
]
[[udp]]
name = "example-udp"
bind-addr = "127.0.0.1:9096"
read-buffer = 0 # default
output = [
{ name="local-influxdb01", location="127.0.0.1:8089", mtu=512 },
{ name="local-influxdb02", location="127.0.0.1:7089", mtu=1024 },
]
# EOF