I see the below example for recording rules.
groups:
- name: example
rules:
- record: job:http_inprogress_requests:sum
expr: sum by (job) (http_inprogress_requests)
Our setup uses Consul for recording rules and I want to group recording rules. I tried the above example it doesn't work. If I supply an array of rules it works but If I supply an array of groups it doesn't work. Does anyone have a working example with Consul?