prometheus_client_php icon indicating copy to clipboard operation
prometheus_client_php copied to clipboard

Redis: CROSSSLOT Keys in request don't hash to the same slot

Open eliseubamaral opened this issue 2 years ago • 4 comments

Hey, When I use redis on cluster mode, I've received this error: CROSSSLOT Keys in request don't hash to the same slot. Is this lib compatible with redis on cluster mode?

eliseubamaral avatar Feb 09 '23 17:02 eliseubamaral

I was looking into this too. I don't think PromPHP supports Redis Clusters. http://github.com/PromPHP/prometheus_client_php/blob/82e42b5a491ee94127110548ee835052b9765a78/src/Prometheus/Storage/Redis.php#L60

dp85 avatar May 25 '23 22:05 dp85

Thanks @dp85. I've started to use APC. It has been work fine until now.

eliseubamaral avatar May 26 '23 12:05 eliseubamaral

@eliseubamaral did you figure out how to use RedisCluster in the meantime?

mvhirsch avatar Apr 23 '24 17:04 mvhirsch

No, I didn't @mvhirsch.

eliseubamaral avatar Apr 23 '24 18:04 eliseubamaral