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 Mar 7, 2022
1 parent d7f6f6f commit 3d744ce
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 3d744ce

Please sign in to comment.