Skip to content

Commit

Permalink
fix(logqlmetric): do not group vector aggregation by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Apr 29, 2024
1 parent 92ba4b5 commit c8ee43d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/logql/logqlengine/logqlmetric/vector_agg.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ func VectorAggregation(
expr *logql.VectorAggregationExpr,
) (StepIterator, error) {
var (
grouper = nopGrouper
grouper = func(al logqlabels.AggregatedLabels, _ ...logql.Label) logqlabels.AggregatedLabels {
return logqlabels.EmptyAggregatedLabels()
}
groupLabels []logql.Label
)
if g := expr.Grouping; g != nil {
Expand Down

0 comments on commit c8ee43d

Please sign in to comment.