Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion promql/parser/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ func (p *parser) newAggregateExpr(op Item, modifier, args Node) (ret *AggregateE
if !EnableExperimentalFunctions && ret.Op.IsExperimentalAggregator() {
// In mimir we return a custom message which doesn't mention the CLI flag that should be used to enable
// experimental functions, given it's different (and in SaaS customers don't even have access to it).
p.addParseErrf(ret.PositionRange(), "limitk() and limit_ratio() functions are not enabled")
p.addParseErrf(ret.PositionRange(), `function %q is not enabled`, ret.Op)
return
}
desiredArgs = 2
Expand Down
Loading