Skip to content

Use valid sslmode setting in postgres-exporter

Robert Marshall requested to merge 3570-update-sslmode-postgres-exporter into master
  • allow is proper sslmode syntax for PostgreSQL proper, but it is not valid for pq under golang
  • add an sslmode setting which is default to disable 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)

Merge request reports