mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
removed comments
Signed-off-by: Vanshikav123 <vanshikav928@gmail.com>
This commit is contained in:
parent
eeb97899ea
commit
86634fcd75
|
@ -311,7 +311,6 @@ func mergeSeriesWithExemplars(ss storage.SeriesSet, exemplars []exemplar.QueryRe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wrap the original SeriesSet to inject exemplars into the series.
|
|
||||||
return &seriesSetWithExemplars{
|
return &seriesSetWithExemplars{
|
||||||
SeriesSet: ss,
|
SeriesSet: ss,
|
||||||
exemplarMap: exemplarMap,
|
exemplarMap: exemplarMap,
|
||||||
|
@ -323,7 +322,6 @@ type seriesSetWithExemplars struct {
|
||||||
exemplarMap map[uint64][]prompb.Exemplar
|
exemplarMap map[uint64][]prompb.Exemplar
|
||||||
}
|
}
|
||||||
|
|
||||||
// At returns a series with exemplars if they exist for the series' labels.
|
|
||||||
func (sswe *seriesSetWithExemplars) At() storage.Series {
|
func (sswe *seriesSetWithExemplars) At() storage.Series {
|
||||||
series := sswe.SeriesSet.At()
|
series := sswe.SeriesSet.At()
|
||||||
key := series.Labels().Hash()
|
key := series.Labels().Hash()
|
||||||
|
|
Loading…
Reference in a new issue