1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00
monitoring-mixins-website/assets/gluster/rules.yaml

9 lines
400 B
YAML

groups:
- name: gluster-volume.rules
rules:
- expr: |
sum(max(gluster_subvol_capacity_used_bytes{job="glusterd2-client"}) BY (volume, subvolume)) BY (volume)
record: gluster:volume_capacity_used_bytes_total:sum
- expr: |
sum(max(gluster_subvol_capacity_total_bytes{job="glusterd2-client"}) BY (volume, subvolume)) BY (volume)
record: gluster:volume_capacity_total_bytes:sum