Use valid sslmode setting in postgres-exporter
-
allow
is proper sslmode syntax for PostgreSQL proper, but it is not valid for pq under golang - add an
sslmode
setting which is default todisable
and make the exporter select a mode based on this setting - deployments that were manually fixed will retain their fixes
- if a site deployed HOSTSSL, they were broken and will remain broken until we add hostssl support
- if a site deployed without hostssl, then their exporter will now work
Closes #3570 (closed)
Signed-off-by: Robert Marshall rmarshall@gitlab.com
Closes #3570 (closed)