Open karthikvemula opened 5 years ago
server 1:- influxdb-realy.conf file
[[http]] name = "example-http-influxdb" bind-addr = "0.0.0.0:9096"
health-timeout-ms = 10000
rate-limit = 5 burst-limit = 10
default-ping-response = 200
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 = "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
server2:- influxdb-relay.conf file
[[http]] name = "example-http-influxdb" bind-addr = "0.0.0.0:9096"
health-timeout-ms = 10000
rate-limit = 5 burst-limit = 10
default-ping-response = 200
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 = "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
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
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