diff --git a/pkg/store/storepb/prompb/samples.go b/pkg/store/storepb/prompb/samples.go index cbef0d542da..a276d9264ea 100644 --- a/pkg/store/storepb/prompb/samples.go +++ b/pkg/store/storepb/prompb/samples.go @@ -42,7 +42,7 @@ func SamplesFromPromqlSamples(samples ...promql.Sample) ([]Sample, []Histogram) return floats, histograms } -// SamplesFromPromqlSeries converts promql.Series to a slice of Sample. +// SamplesFromPromqlSeries converts promql.Series to a slice of Sample and a slice of Histogram. func SamplesFromPromqlSeries(series promql.Series) ([]Sample, []Histogram) { floats := make([]Sample, 0, len(series.Floats)) for _, f := range series.Floats {