There was an error while loading. Please reload this page.
1 parent 8d6ce05 commit 5526386Copy full SHA for 5526386
cmd/postgres_exporter/probe.go
@@ -85,8 +85,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc
85
// Run the probe
86
pc, err := collector.NewProbeCollector(tl, excludeDatabases, registry, dsn)
87
if err != nil {
88
-// probeSuccessGauge.Set(0)
89
-// probeDurationGauge.Set(time.Since(start).Seconds())
90
http.Error(w, err.Error(), http.StatusInternalServerError)
91
return
92
}
0 commit comments