To connect to Redis with a password containing special characters such as '@&$'
DongEHome opened this issue · 0 comments
DongEHome commented
./redis_exporter -redis.addr redis://XXXX:XXX -redis.password '@LG3$jUfB' -redis.user XXXX --debug
DEBU[0005] connectToRedis( redis://XXXX:XXX ) err: dial redis: unknown network redis
DEBU[0005] scrapeRedisHost() done
DEBU[0005] Trying DialURL(): redis://XXXX:XXX
DEBU[0005] DialURL() failed, err: ERR wrong number of arguments for 'auth' command
DEBU[0005] Trying: Dial(): redis XXXX:XXX
ERRO[0005] Couldn't connect to redis instance (redis://XXXX:XXX )
DEBU[0005] connectToRedis( redis://XXXX:XXX ) err: dial redis: unknown network redis
DEBU[0005] scrapeRedisHost() done