grafana-redis-datasource icon indicating copy to clipboard operation
grafana-redis-datasource copied to clipboard

can't add redis cluster in datasource - getInstance error: cannot decode redis array into string

Open Nurlan199206 opened this issue 2 years ago • 4 comments

grafana: 9.0.5 redis-datasource: 2.0.0

can't add 3 nodes redis cluster in datasource - error: getInstance error: cannot decode redis array into string

Address bar: 192.168.0.131:6379,192.168.0.132:6379,192.168.0.133:6379

image

Nurlan199206 avatar Aug 22 '22 17:08 Nurlan199206

also i've tried to use plugin version 2.1.1 but same error

Nurlan199206 avatar Aug 22 '22 17:08 Nurlan199206

@Nurlan199206 It looks like a connection issue to me, which was not parsed correctly.

What version of Redis do you use? Can you connect to all cluster nodes from the Grafana instance/container?

mikhail-vl avatar Aug 22 '22 17:08 mikhail-vl

yes, if connecting to each node as standalone everything is ok, redis version 7.0.4

image

image

image

Nurlan199206 avatar Aug 28 '22 19:08 Nurlan199206

@Nurlan199206 Redis 7 may changed the interface and the Radix client needs to be updated.

Let's wait for the Redis team response.

mikhail-vl avatar Aug 28 '22 20:08 mikhail-vl

I had the same issue with Redis cluster version 7.0.5

hoangphuocbk avatar Nov 14 '22 08:11 hoangphuocbk

@K-Jo

mikhail-vl avatar Nov 14 '22 12:11 mikhail-vl

I have the same issue. Any update?

madhur avatar Nov 23 '22 14:11 madhur

I still met the same issue nowadays with latest version (helm chart 8.3.11 - bitnami redis cluster), any follow up?

ikersuen avatar Mar 20 '23 02:03 ikersuen

@K-Jo There is a PR which waiting to merge https://github.com/RedisGrafana/grafana-redis-datasource/pull/284

mikhail-vl avatar Mar 20 '23 05:03 mikhail-vl

@mikhail-vl The PR has been open for some time now. When do you think the changes can be approved or is it still in progress?

calvinlu3 avatar Mar 22 '23 20:03 calvinlu3

Seems the merging is blocked for #284, any update for the fix?

ikersuen avatar Apr 13 '23 06:04 ikersuen

Same issues exists for me by when we can expect this Fix please.

prat3033 avatar May 01 '23 11:05 prat3033

Closing as this should be resolved in v2.1.2

slorello89 avatar Jun 15 '23 12:06 slorello89

Closing as this should be resolved in v2.1.2

The issue has re-surface: https://github.com/RedisGrafana/grafana-redis-datasource/issues/323

tanvp112 avatar Apr 09 '24 15:04 tanvp112