From 87e0de6b9f3a51c3e49fa92541f73e261bff4787 Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Thu, 10 Aug 2023 15:07:18 -0700 Subject: [PATCH] fix test Signed-off-by: Ben Ye --- pkg/querysharding/analyzer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/querysharding/analyzer_test.go b/pkg/querysharding/analyzer_test.go index b841690ac69..ba47b6638cf 100644 --- a/pkg/querysharding/analyzer_test.go +++ b/pkg/querysharding/analyzer_test.go @@ -203,7 +203,7 @@ sum by (container) ( { name: "binary expression with outer without grouping", expression: `sum(http_requests_total{code="400"} * http_requests_total) without (pod)`, - shardingLabels: []string{"pod"}, + shardingLabels: []string{"__name__", "pod"}, }, { name: "binary expression with vector matching and outer without grouping",