Skip to content

Commit

Permalink
Actually merge metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jeschkies committed Oct 2, 2024
1 parent 6762512 commit c7c9ad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/logql/count_min_sketch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit c7c9ad4

Please sign in to comment.