Skip to content

Commit

Permalink
remove GetExemplars function
Browse files Browse the repository at this point in the history
Signed-off-by: William Perron <william.perron@shopify.com>
  • Loading branch information
wperron committed Feb 15, 2022
1 parent cbf4c35 commit d9d40e2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions prometheus/histogram.go
Expand Up @@ -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
Expand Down

0 comments on commit d9d40e2

Please sign in to comment.