Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[performance] metrics query: range vector support streaming agg when no overlap #7380

Merged
Prev Previous commit
Next Next commit
Update pkg/logql/range_vector_test.go
Co-authored-by: Kaviraj Kanagaraj <kavirajkanagaraj@gmail.com>
  • Loading branch information
liguozhong and kavirajk authored Oct 11, 2022
commit 55abcbc241a584a143fb7e7813dadf85d20f0c02
2 changes: 1 addition & 1 deletion pkg/logql/range_vector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func Test_RangeVectorIteratorBadLabels(t *testing.T) {
Samples: samples,
}))
it, err := newRangeVectorIterator(badIterator,
&syntax.RangeAggregationExpr{Operation: "count_over_time"}, (30 * time.Second).Nanoseconds(),
&syntax.RangeAggregationExpr{Operation: syntax.OpRangeTypeCount}, (30 * time.Second).Nanoseconds(),
(30 * time.Second).Nanoseconds(), time.Unix(10, 0).UnixNano(), time.Unix(100, 0).UnixNano(), 0)
require.NoError(t, err)

Expand Down