Skip to content

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

@pthoelken

Description

@pthoelken

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions