You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-08-14 01:02:26 +03:00
cleanup and README
Signed-off-by: Joe Adams <github@joeadams.io> Co-authored-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
@@ -102,12 +102,6 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// TODO(@sysadmind): Remove this with multi-target support
|
||||
// if len(dsn) == 0 {
|
||||
// level.Error(logger).Log("msg", "Couldn't find environment variables describing the datasource to use")
|
||||
// os.Exit(1)
|
||||
// }
|
||||
|
||||
opts := []ExporterOpt{
|
||||
DisableDefaultMetrics(*disableDefaultMetrics),
|
||||
DisableSettingsMetrics(*disableSettingsMetrics),
|
||||
|
Reference in New Issue
Block a user