mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-08 02:01:23 +00:00
Remove more dead code
Signed-off-by: Joe Adams <github@joeadams.io>
This commit is contained in:
parent
8d6ce0558c
commit
55263868e0
@ -85,8 +85,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc
|
||||
// Run the probe
|
||||
pc, err := collector.NewProbeCollector(tl, excludeDatabases, registry, dsn)
|
||||
if err != nil {
|
||||
// probeSuccessGauge.Set(0)
|
||||
// probeDurationGauge.Set(time.Since(start).Seconds())
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user