postgres_exporter
postgres_exporter copied to clipboard
Multi-target (BETA) does not support passwordless users
I am trying out the new beta release v0.12.0-rc.0 on Linux (thank you all so much for working on this feature!!). I got it all working correctly, except for the user I have been monitoring with does not have a password, so when I configure using this account I get an error on scrape saying, "auth_module {my_module_name} has no username or password". I somewhat got around this by providing a bogus password, but using that method I do not get all of the metrics I expect (by comparing the current working version of the exporter). Both collectors (bgwriter and database) both return success (or 1), but the probe_success returns 0.
Are there any thoughts or concerns around supporting passwordless user accounts? My use case could be different than what was intended, and also I completely understand this is a brand new release so things will get worked out. I just wanted to throw this out there so someone else could see what I'm seeing.
Thanks again for your hard work everyone!!
Yea, I think empty/no password should be supported. What do you think @sysadmind?