We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f230915 commit e87bd2fCopy full SHA for e87bd2f
pkg/query/querier.go
@@ -234,7 +234,7 @@ func aggrsFromFunc(f string) []storepb.Aggr {
234
if strings.HasPrefix(f, "sum_") {
235
return []storepb.Aggr{storepb.Aggr_SUM}
236
}
237
- if f == "increase" || f == "rate" || f == "irate" || f == "resets" {
+ if f == "increase" || f == "rate" || f == "irate" || f == "resets" || f == "xincrease" || f == "xrate" {
238
return []storepb.Aggr{storepb.Aggr_COUNTER}
239
240
// In the default case, we retrieve count and sum to compute an average.
0 commit comments