how to test influxdb-relay working or not on multinode…?
karthikvemula opened this issue · 3 comments
how to test influxdb-relay working or not on multinode…?
server1: I install influxdb and influxdb-relay and both running
server2: I install influxdb and influxdb-relay and both running
so what next … I want exact steps to test influxdb-relay working or not
server 1:- influxdb-realy.conf file
-- toml --
InfluxDB && Prometheus
[[http]]
name = "example-http-influxdb"
bind-addr = "0.0.0.0:9096"
Timeout for /health route
After this time, the host may be considered down
health-timeout-ms = 10000
Request limiting (Applied to all backend)
rate-limit = 5
burst-limit = 10
Ping response code, default is 204
default-ping-response = 200
Enable HTTPS requests.
ssl-combined-pem = "/etc/ssl/certs/localhost.crt"
[[http.output]]
name = "local-influxdb01"
location = "http://127.0.0.1:8086/"
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout = "10s"
[[http.output]]
name = "local-influxdb02"
location = "http://10.192.192.6:8086/"
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout = "10s"
[[udp]]
name = "example-udp"
bind-addr = "0.0.0.0:9096"
read-buffer = 0 # default
Precision to use for timestamps
precision = "n" # Can be n, u, ms, s, m, h
[[udp.output]]
name = "local-influxdb01"
location = "127.0.0.1:8089"
mtu = 512
[[udp.output]]
name = "local-influxdb02"
location = "10.192.192.6:7089"
mtu = 1024
EOF
server2:- influxdb-relay.conf file
influxDB && Prometheus
[[http]]
name = "example-http-influxdb"
bind-addr = "0.0.0.0:9096"
Timeout for /health route
After this time, the host may be considered down
health-timeout-ms = 10000
Request limiting (Applied to all backend)
rate-limit = 5
burst-limit = 10
Ping response code, default is 204
default-ping-response = 200
Enable HTTPS requests.
ssl-combined-pem = "/etc/ssl/certs/localhost.crt"
[[http.output]]
name = "local-influxdb01"
location = "http://127.0.0.1:8086/"
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout = "10s"
[[http.output]]
name = "local-influxdb02"
location = "http://213.133.102.174:8086/"
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout = "10s"
[[udp]]
name = "example-udp"
bind-addr = "0.0.0.0:9096"
read-buffer = 0 # default
Precision to use for timestamps
precision = "n" # Can be n, u, ms, s, m, h
[[udp.output]]
name = "local-influxdb01"
location = "127.0.0.1:8089"
mtu = 512
[[udp.output]]
name = "local-influxdb02"
location = "213.133.102.174:7089"
mtu = 1024
EOF
I to also want to know how the relay is writing the data and we are mentioning the connection between the instance and relay and how do we mention the writing data from Prometheus to relay