Skip to content

Commit

Permalink
Merge pull request #782 from sradco/update_number_of_running_vms_rule
Browse files Browse the repository at this point in the history
Update cnv:vmi_status_running:count
  • Loading branch information
kubevirt-bot authored Dec 22, 2023
2 parents 5428531 + 58f33d9 commit 89041d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/operands/metrics/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func getAlertRules() ([]promv1.Rule, error) {

return []promv1.Rule{
{
Expr: intstr.FromString("sum(kubevirt_vmi_phase_count{phase=\"running\"}) by (node,os,workload,flavor)"),
Expr: intstr.FromString("sum(kubevirt_vmi_phase_count{phase=\"running\"}) by (node,os,workload,flavor,instance_type,preference)"),
Record: "cnv:vmi_status_running:count",
},
{
Expand Down

0 comments on commit 89041d0

Please sign in to comment.