From 1652a0c7b9ca1e71fe5f6cb0b783084ed5c8b597 Mon Sep 17 00:00:00 2001 From: Alvaro Alda Date: Fri, 5 Apr 2019 16:59:41 +0200 Subject: [PATCH] Remove unused metric definitions --- metrics/definitions.go | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/metrics/definitions.go b/metrics/definitions.go index 10a8c8e35..877147a19 100644 --- a/metrics/definitions.go +++ b/metrics/definitions.go @@ -33,30 +33,6 @@ var ( // BALLOON - QedBalloonAddDurationSeconds = prometheus.NewSummary( - prometheus.SummaryOpts{ - Name: "qed_balloon_add_duration_seconds", - Help: "Duration of the add operation.", - }, - ) - QedBalloonMembershipDurationSeconds = prometheus.NewSummary( - prometheus.SummaryOpts{ - Name: "qed_balloon_membership_duration_seconds", - Help: "Duration of the membership queries.", - }, - ) - QedBalloonDigestMembershipDurationSeconds = prometheus.NewSummary( - prometheus.SummaryOpts{ - Name: "qed_balloon_digest_membership_duration_seconds", - Help: "Duration of the membership by digest queries.", - }, - ) - QedBalloonIncrementalDurationSeconds = prometheus.NewSummary( - prometheus.SummaryOpts{ - Name: "qed_balloon_incremental_duration_seconds", - Help: "Duration of the incremental queries.", - }, - ) QedBalloonAddTotal = prometheus.NewCounter( prometheus.CounterOpts{ Name: "qed_balloon_add_total", @@ -87,11 +63,6 @@ var ( DefaultMetrics = []prometheus.Collector{ QedAPIHealthcheckRequestsTotal, - QedBalloonAddDurationSeconds, - QedBalloonMembershipDurationSeconds, - QedBalloonDigestMembershipDurationSeconds, - QedBalloonIncrementalDurationSeconds, - QedBalloonAddTotal, QedBalloonMembershipTotal, QedBalloonDigestMembershipTotal,