Skip to content

Commit 44301fc

Browse files
committed
Remove commented code
Signed-off-by: Joe Adams <github@joeadams.io>
1 parent 2ea6f91 commit 44301fc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd/postgres_exporter/probe.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc
6161

6262
// TODO(@sysadmind): Timeout
6363

64-
// probeSuccessGauge := prometheus.NewGauge(prometheus.GaugeOpts{
65-
// Name: "probe_success",
66-
// Help: "Displays whether or not the probe was a success",
67-
// })
68-
// probeDurationGauge := prometheus.NewGauge(prometheus.GaugeOpts{
69-
// Name: "probe_duration_seconds",
70-
// Help: "Returns how long the probe took to complete in seconds",
71-
// })
72-
7364
tl := log.With(logger, "target", target)
7465

7566
// start := time.Now()

0 commit comments

Comments
 (0)