diff --git a/prompb/custom.go b/prompb/custom.go index 5fcb54c498..890be8afac 100644 --- a/prompb/custom.go +++ b/prompb/custom.go @@ -26,6 +26,7 @@ func (h Histogram) IsFloatHistogram() bool { _, ok := h.GetCount().(*Histogram_CountFloat) return ok } + func (h MinHistogram) IsFloatHistogram() bool { _, ok := h.GetCount().(*MinHistogram_CountFloat) return ok