feat:add node group health and back off metrics
This commit is contained in:
parent
044c03d09f
commit
1255c95f27
|
|
@ -568,7 +568,7 @@ func UpdateNodeGroupBackOffStatus(nodeGroup string, backOff bool, reason string)
|
|||
if backOff {
|
||||
nodeGroupBackOffStatus.WithLabelValues(nodeGroup, reason).Set(1)
|
||||
} else {
|
||||
nodeGroupBackOffStatus.WithLabelValues(nodeGroup, reason).Set(0)
|
||||
nodeGroupBackOffStatus.WithLabelValues(nodeGroup, "").Set(0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue