Skip to content

Commit

Permalink
Add test case
Browse files Browse the repository at this point in the history
Signed-off-by: haanhvu <haanh6594@gmail.com>
  • Loading branch information
haanhvu committed Aug 29, 2022
1 parent b1ae69a commit a0d131e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/querysharding/analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ sum by (container) (
http_requests_total`,
shardingLabels: []string{"cluster", "pod"},
},
{
name: "histogram quantile",
expression: "histogram_quantile(0.95, sum(rate(metric[1m])) without (le, cluster))",
shardingLabels: []string{"cluster"},
},
}

for _, test := range nonShardable {
Expand Down

0 comments on commit a0d131e

Please sign in to comment.