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

[Feature Request] Add support for IORedis.Cluster #198

Open
azaiter opened this issue Mar 26, 2021 · 3 comments
Open

[Feature Request] Add support for IORedis.Cluster #198

azaiter opened this issue Mar 26, 2021 · 3 comments

Comments

@azaiter
Copy link

azaiter commented Mar 26, 2021

IORedis has support to connect to redis clusters. I didn't find a way for bull_exporter to connect to redis clusters without a small adjustment (changing the constructor from IORedis(opts) to IORedis.Cluster([opts]).

Opening up this issue to track the status of the feature.

@ghost
Copy link

ghost commented May 10, 2021

Did you find any solution? i am stuck in the same problem

@azaiter
Copy link
Author

azaiter commented May 10, 2021

Did you find any solution? i am stuck in the same problem

The solution/workaround is mentioned above:

changing the IORedis constructor from IORedis(opts) to IORedis.Cluster([opts]).

@filipeestacio
Copy link

I tried implementing the workaround, but IORedis.Cluster does not implement ping or scanstream? This looks a bit more complex that simply changing the constructor. Could you share the changes made, please?

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