-
Notifications
You must be signed in to change notification settings - Fork 876
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
Support usernames in password file #820
Comments
I think that'd be useful but I wonder if you could try working the username into the URL schema and then supply the password via the password file.
I haven't had a chance to try it but you could see if this works. |
@oliver006 thanks for the quick reply! |
Ah yes, that works as long it's always the same user. I think this issue has come up before, maybe it's worth expanding the json file to include usernames. |
you can set default user password. |
Hi guys! I used generic K8S secrets (base64 encrypted). In my case, I did the deployments with Helm, https://artifacthub.io/packages/helm/prometheus-community/prometheus-redis-exporter
host.json file to secrets deploy:
json connection:
Thank you Oliver! |
@nicosistemas your reply doesn't include usernames though. |
Describe the problem
redis_exporter
supports multi-target approach which is a convenient way to monitor multiple Redis servers.In case you use auth in those servers, you can either add
--redis.user
&--redis.password
or create a password file (if credentials are not the same for all servers)The problem is that the password file does not support usernames which are used in Redis 6+
Since there're no another way to set usernames in multi-target approach, it would be great to add usernames support into password file.
What version of redis_exporter are you running?
1.51.0
The text was updated successfully, but these errors were encountered: