From 0eabed804866bdfbdad6c20b68531e286711e72c Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Mon, 15 May 2017 15:06:54 +0100 Subject: [PATCH] Remove unused metric --- retrieval/scrape.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/retrieval/scrape.go b/retrieval/scrape.go index 0186712e7..8258892b8 100644 --- a/retrieval/scrape.go +++ b/retrieval/scrape.go @@ -55,12 +55,6 @@ var ( }, []string{"interval"}, ) - targetSkippedScrapes = prometheus.NewCounter( - prometheus.CounterOpts{ - Name: "prometheus_target_skipped_scrapes_total", - Help: "Total number of scrapes that were skipped because the metric storage was throttled.", - }, - ) targetReloadIntervalLength = prometheus.NewSummaryVec( prometheus.SummaryOpts{ Name: "prometheus_target_reload_length_seconds", @@ -94,7 +88,6 @@ var ( func init() { prometheus.MustRegister(targetIntervalLength) - prometheus.MustRegister(targetSkippedScrapes) prometheus.MustRegister(targetReloadIntervalLength) prometheus.MustRegister(targetSyncIntervalLength) prometheus.MustRegister(targetScrapePoolSyncsCounter)