Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Adams <[email protected]>
  • Loading branch information
sysadmind committed Mar 5, 2023
1 parent 799f3e1 commit 66f6e11
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/postgres_exporter/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc

// TODO(@sysadmind): Timeout

// probeSuccessGauge := prometheus.NewGauge(prometheus.GaugeOpts{
// Name: "probe_success",
// Help: "Displays whether or not the probe was a success",
// })
// probeDurationGauge := prometheus.NewGauge(prometheus.GaugeOpts{
// Name: "probe_duration_seconds",
// Help: "Returns how long the probe took to complete in seconds",
// })

tl := log.With(logger, "target", target)

// start := time.Now()
Expand Down

0 comments on commit 66f6e11

Please sign in to comment.