#867·gorush

Bug in configuration read in Redis Sentinel Section for "stats:"

Author: pthoelkenCreated Mar 18, 2026Updated Apr 13, 2026

Hello,

I got some trouble with the conifguration in stats: at the sentinel redis section.

My config as like you describe here https://github.com/appleboy/gorush/blob/master/config/testdata/config.yml#L103

            stat:
                engine: "redis"
                redis:
                    cluster: true
                    addr: "redis-sentinel-0.redis-sentinel-headless:26379,redis-sentinel-1.redis-sentinel-headless:26379,redis-sentinel-2.redis-sentinel-headless:26379"
                    username: ""
                    password: "xxx"
                    db: 0

and I got this kind of error at my pod:

2026/03/18 13:46:53 Configuration error: configuration validation failed: invalid Redis address format: redis-sentinel-0.redis-sentinel-headless:26379,redis-sentinel-1.redis-sentinel-headless:26379,redis-sentinel-2.redis-sentinel-headle │
│ ss:26379

Another question: is there a way to support Redis Sentinal for queue: as well?