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 341a961 commit ad70117Copy full SHA for ad70117
execution/aggregate/khashaggregate.go
@@ -70,7 +70,7 @@ func NewKHashAggregate(
70
return false // limitk doesnt require any sort logic
71
}
72
} else {
73
- return nil, errors.New("Unsupported aggregate expression")
+ return nil, errors.Newf("Unsupported aggregate expression: %v", aggregation)
74
75
// Grouping labels need to be sorted in order for metric hashing to work.
76
// https://github.com/prometheus/prometheus/blob/8ed39fdab1ead382a354e45ded999eb3610f8d5f/model/labels/labels.go#L162-L181
0 commit comments