Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to test influxdb-relay working or not on multinode…? #77

Open
karthikvemula opened this issue Aug 23, 2019 · 3 comments
Open

how to test influxdb-relay working or not on multinode…? #77

karthikvemula opened this issue Aug 23, 2019 · 3 comments

Comments

@karthikvemula
Copy link

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

@karthikvemula
Copy link
Author

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

@karthikvemula
Copy link
Author

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

@mohan-nagandlla
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants