What
A binary operator whose operands are both source-backed rejects nested across-series aggregations:
binary expressions with nested aggregations are not supported at this time
e.g. sum(max by (pod) (metric)) / sum(other). The aggregate-folding translation merges both operands into a single TimeSeriesAggregate, which cannot represent a per-operand two-level aggregation.
Notes
The vector matching translation (#155634) already translates each operand as an independent sub-pipeline joined afterwards; the same composition could lift this restriction for unmatched operators.
Rejection site: PromqlCommand post-analysis verification.
What
A binary operator whose operands are both source-backed rejects nested across-series aggregations:
e.g.
sum(max by (pod) (metric)) / sum(other). The aggregate-folding translation merges both operands into a singleTimeSeriesAggregate, which cannot represent a per-operand two-level aggregation.Notes
The vector matching translation (#155634) already translates each operand as an independent sub-pipeline joined afterwards; the same composition could lift this restriction for unmatched operators.
Rejection site:
PromqlCommandpost-analysis verification.