Describe the bug
Error "multiple matcher groups are not supported in GetShards" when summing over sum of two rates.
To Reproduce
Loki version k316
Query: sum by (cluster,namespace)((rate({app="foo"}[1s]) + rate({app="bar"}[1s])))
Receive error failed to get shards for expression, got *status.statusError: rpc error: code = Code(500) desc = multiple matcher groups are not supported in GetShards. This is likely an internal bug as binary operations should be dispatched separately in planning: rpc error: code = Code(500) desc = multiple matcher groups are not supported in GetShards. This is likely an internal bug as binary operations should be dispatched separately in planning.
Expected behavior
The query should complete normally.
Describe the bug
Error "multiple matcher groups are not supported in GetShards" when summing over sum of two rates.
To Reproduce
Loki version k316
Query:
sum by (cluster,namespace)((rate({app="foo"}[1s]) + rate({app="bar"}[1s])))Receive error
failed to get shards for expression, got *status.statusError: rpc error: code = Code(500) desc = multiple matcher groups are not supported in GetShards. This is likely an internal bug as binary operations should be dispatched separately in planning: rpc error: code = Code(500) desc = multiple matcher groups are not supported in GetShards. This is likely an internal bug as binary operations should be dispatched separately in planning.Expected behavior
The query should complete normally.