redis-cloudwatch icon indicating copy to clipboard operation
redis-cloudwatch copied to clipboard

Colect Multiple ports

Open lbardelli opened this issue 9 years ago • 0 comments

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

lbardelli avatar Aug 09 '16 14:08 lbardelli