Skip to content

Commit

Permalink
Require at least 5 machines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Sep 21, 2023
1 parent d0ebc7f commit 5dfa910
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ additionalPrometheusRulesMap:
annotations:
description: "Partition {{ $labels.partition }} has {{ $value }} DEAD Machines"
- alert: MachineCapacityLow
expr: avg(metal_partition_capacity_free{size!="unknown"} > 10) by (partition, size) / avg(metal_partition_capacity_total{size!="unknown"} > 10) by (partition, size) < 0.10
expr: avg(metal_partition_capacity_free{size!="unknown"} > 5) by (partition, size) / avg(metal_partition_capacity_total{size!="unknown"} > 5) by (partition, size) < 0.10
for: 10m
labels:
severity: "warning"
Expand Down

0 comments on commit 5dfa910

Please sign in to comment.