postgres_exporter/cmd/postgres_exporter
Will Rouesnel 4117fb2afc Ensure pg_up is always set to 0 when the initial database connection fails.
This did in fact turn out to be an oversight in the error handling. Now, any
error in the initial connection path will always trip pg_up to be 0.

Fixes #160
2018-03-06 07:57:44 +10:00
..
tests Refactor repository layout and convert build system to Mage. 2018-03-06 07:29:35 +10:00
pg_setting.go Refactor repository layout and convert build system to Mage. 2018-03-06 07:29:35 +10:00
pg_setting_test.go Refactor repository layout and convert build system to Mage. 2018-03-06 07:29:35 +10:00
postgres_exporter.go Ensure pg_up is always set to 0 when the initial database connection fails. 2018-03-06 07:57:44 +10:00
postgres_exporter_integration_test.go Refactor repository layout and convert build system to Mage. 2018-03-06 07:29:35 +10:00
postgres_exporter_test.go Refactor repository layout and convert build system to Mage. 2018-03-06 07:29:35 +10:00