postgres_exporter
postgres_exporter copied to clipboard
fix: default value of datasource when no environment variables
https://github.com/prometheus-community/postgres_exporter/blob/92bdb8755de886b2366de245e559538030ba3668/cmd/postgres_exporter/main.go#L88-L97
default value of datasource when no environment variables
[postgresql://:@]
check is always false