[GH-ISSUE #235] Support sentinel redis #753

Closed
opened 2026-03-15 21:29:00 +03:00 by kerem · 5 comments
Owner

Originally created by @linhbkhn95 on GitHub (Apr 26, 2022).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/235

Thanks everyone about lib asynq. So, Currently, I use Redis sentinel for storage tasks, I wanna view stats on asynqmon. However, I have never seen this lib asynqmon tell about integrating with Redis sentinel. Please support me. or I can contribute for this issue if it has not.
Thanks all,

Originally created by @linhbkhn95 on GitHub (Apr 26, 2022). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/235 Thanks everyone about lib `asynq`. So, Currently, I use Redis sentinel for storage tasks, I wanna view stats on `asynqmon`. However, I have never seen this lib `asynqmon` tell about integrating with Redis sentinel. Please support me. or I can contribute for this issue if it has not. Thanks all,
kerem 2026-03-15 21:29:00 +03:00
Author
Owner

@hibiken commented on GitHub (Apr 26, 2022):

@linhbkhn95 Thank you for opening this issue!

You should be able to provide the --redis-url flag with the format:

redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName]

Let me know if that doesn't work for you!

I'll update the documentation so that others don't come across this same issue.

<!-- gh-comment-id:1110352949 --> @hibiken commented on GitHub (Apr 26, 2022): @linhbkhn95 Thank you for opening this issue! You should be able to provide the `--redis-url` flag with the format: ``` redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName] ``` Let me know if that doesn't work for you! I'll update the documentation so that others don't come across this same issue.
Author
Owner

@linhbkhn95 commented on GitHub (Apr 27, 2022):

many thanks @hibiken

<!-- gh-comment-id:1110824657 --> @linhbkhn95 commented on GitHub (Apr 27, 2022): many thanks @hibiken
Author
Owner

@linhbkhn95 commented on GitHub (Apr 29, 2022):

I try to test, So I can not run app, please help me :(

<!-- gh-comment-id:1113423513 --> @linhbkhn95 commented on GitHub (Apr 29, 2022): I try to test, So I can not run app, please help me :(
Author
Owner

@piupuer commented on GitHub (May 1, 2022):

@linhbkhn95 Thank you for opening this issue!

You should be able to provide the --redis-url flag with the format:

redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName]

Let me know if that doesn't work for you!

I'll update the documentation so that others don't come across this same issue.

I add it in docker container, get error log:
redis: invalid URL scheme: redis-sentinel
and I saw the source code, use redis.ParseURL, maybe u can use asynq.ParseRedisURI
please fix it, thanks

<!-- gh-comment-id:1114238588 --> @piupuer commented on GitHub (May 1, 2022): > @linhbkhn95 Thank you for opening this issue! > > You should be able to provide the `--redis-url` flag with the format: > > ``` > redis-sentinel://[:password@]host1[:port][,host2:[:port]][,hostN:[:port]][?master=masterName] > ``` > > Let me know if that doesn't work for you! > > I'll update the documentation so that others don't come across this same issue. I add it in docker container, get error log: `redis: invalid URL scheme: redis-sentinel` and I saw the source code, use redis.ParseURL, maybe u can use asynq.ParseRedisURI please fix it, thanks
Author
Owner

@linhbkhn95 commented on GitHub (May 3, 2022):

@hibiken I have a PR to fix this problem at https://github.com/hibiken/asynqmon/pull/240
@piupuer you can use my docker customize at https://hub.docker.com/repository/docker/linhbkhn95/asynqmon/tags, It will support Redis sentinels, currently my project need it for view tasks
many thanks

<!-- gh-comment-id:1115763757 --> @linhbkhn95 commented on GitHub (May 3, 2022): @hibiken I have a PR to fix this problem at https://github.com/hibiken/asynqmon/pull/240 @piupuer you can use my docker customize at https://hub.docker.com/repository/docker/linhbkhn95/asynqmon/tags, It will support Redis sentinels, currently my project need it for view tasks many thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#753
No description provided.