From c7c9ad46f7ba3ec30578b9240545b05ac278efd7 Mon Sep 17 00:00:00 2001 From: Karsten Jeschkies Date: Wed, 2 Oct 2024 13:46:36 +0200 Subject: [PATCH] Actually merge metrics --- pkg/logql/count_min_sketch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/logql/count_min_sketch.go b/pkg/logql/count_min_sketch.go index f92203a59bffc..b16e7486dfaee 100644 --- a/pkg/logql/count_min_sketch.go +++ b/pkg/logql/count_min_sketch.go @@ -58,6 +58,7 @@ func (v *CountMinSketchVector) Merge(right *CountMinSketchVector) (*CountMinSket for _, r := range right.Metrics { if _, duplicate := processed[r.String()]; !duplicate { processed[r.String()] = struct{}{} + v.Metrics = append(v.Metrics, r) } }