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

Colect Multiple ports #1

Open
lbardelli opened this issue Aug 9, 2016 · 0 comments
Open

Colect Multiple ports #1

lbardelli opened this issue Aug 9, 2016 · 0 comments

Comments

@lbardelli
Copy link

lbardelli commented Aug 9, 2016

Hi, I have multiple redis-server in different ports on the same instance, can I include this differents ports on the script ?

Something like that:

def collect_redis_info():
r = redis.StrictRedis('localhost', port='6379,6380' db=0)
info = r.info()
cmd_info = r.info('commandstats')

Thanks

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

1 participant