From 56d27a95a9926999df97de791134c1fc7ec40d81 Mon Sep 17 00:00:00 2001 From: Tom Czarniecki Date: Sun, 14 Aug 2022 06:41:53 +1000 Subject: [PATCH] bug: ok rather than fail --- scraper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper.go b/scraper.go index f405aa6..5a685e0 100644 --- a/scraper.go +++ b/scraper.go @@ -255,7 +255,7 @@ func (s *Scraper) scrape() { bindCounter.WithLabelValues("fail").Inc() return } - bindCounter.WithLabelValues("fail").Inc() + bindCounter.WithLabelValues("ok").Inc() } scrapeRes := "ok"