[go: nahoru, domu]

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

Writing to InfluxDB through influx-relay #15

Open
Dmitry1987 opened this issue Jul 9, 2017 · 2 comments
Open

Writing to InfluxDB through influx-relay #15

Dmitry1987 opened this issue Jul 9, 2017 · 2 comments

Comments

@Dmitry1987
Copy link

Hi,
I was using the plugin to write into single influxdb instance and it works perfect,
we not created HA influx setup with 2 nodes, and used this influx-relay proxy module which writes simultaneously to several databases and allows caching. It receives writes on port 9096 and writes to 8086 on influx.

Trying to use relay endpoint of :9096 fails in jmeter with

Uncaught Exception java.lang.IllegalStateException: Failed calling setupTest. See log file for details.

and works only when 8086 direct endpoint of influxdb specified.
(I thought the issue is port number, and set localhost:8086 iptables forwarding to "relay:9096" so jmeter setting was "localhost" and "8086", but it didn't help, so i guess it's something about endpoint protocol of relay, that it allows only /write and not /query commands?)

I want to ask if it's something that can be fixed\changed in the plugin to make it work? (I can try to submit a PR if you point me in right direction)
Thanks a lot!

@shanep2300
Copy link
shanep2300 commented Aug 17, 2017

I keep seeing that error as well, but I'm not using influx-relay.

Edit: Fixed the error on my end by making sure influxdb was actually running. Other colleagues were playing around with it and I didn't notice it wasn't running.

@Dmitry1987
Copy link
Author

For now I separated our main influx cluster, that works through influx-relay, from the instance into which i write from Jmeter. Thanks for sharing @shanep2300 👍

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