Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: two config ways both work #934

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZZYhho
Copy link

@ZZYhho ZZYhho commented Aug 7, 2024

I want to use a redis_exporter to monitor multiple versions of Redis. I typically use non-default users with -redis.user=exporter and -redis.password. However, for Redis versions lower than 6.0, only the default user can be used. Therefore, I am submitting this request: for lower versions of Redis, please allow the use of --redis.password-file, while for other versions, I would like to continue using -redis.user=exporter and -redis.password. the both config ways all work.
example: ./redis_exporter -redis.user=exporter -redis.password=xxx --redis.password-file=./passwd.json

@oliver006 oliver006 force-pushed the master branch 2 times, most recently from ad70547 to 3526bf7 Compare September 9, 2024 05:39
@oliver006 oliver006 force-pushed the master branch 13 times, most recently from 8de7834 to 267a715 Compare October 14, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant