Skip to content

Commit d9d40e2

Browse files
committed
remove GetExemplars function
Signed-off-by: William Perron <william.perron@shopify.com>
1 parent cbf4c35 commit d9d40e2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

prometheus/histogram.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,6 @@ func (h *constHistogram) Write(out *dto.Metric) error {
611611
return nil
612612
}
613613

614-
func (h *constHistogram) GetExemplars() []*dto.Exemplar {
615-
if h != nil {
616-
return h.exemplars
617-
}
618-
return nil
619-
}
620-
621614
// NewConstHistogram returns a metric representing a Prometheus histogram with
622615
// fixed values for the count, sum, and bucket counts. As those parameters
623616
// cannot be changed, the returned value does not implement the Histogram

0 commit comments

Comments
 (0)