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"