From d9d40e249f7b4600a7cad32b5c0335017a1f52a7 Mon Sep 17 00:00:00 2001 From: William Perron Date: Tue, 15 Feb 2022 08:10:43 -0500 Subject: [PATCH] remove GetExemplars function Signed-off-by: William Perron --- prometheus/histogram.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/prometheus/histogram.go b/prometheus/histogram.go index b4440746d..af434ae64 100644 --- a/prometheus/histogram.go +++ b/prometheus/histogram.go @@ -611,13 +611,6 @@ func (h *constHistogram) Write(out *dto.Metric) error { return nil } -func (h *constHistogram) GetExemplars() []*dto.Exemplar { - if h != nil { - return h.exemplars - } - return nil -} - // NewConstHistogram returns a metric representing a Prometheus histogram with // fixed values for the count, sum, and bucket counts. As those parameters // cannot be changed, the returned value does not implement the Histogram