feat:add node group health and back off metrics

This commit is contained in:
Guo Peng 2023-12-21 17:59:14 +08:00 committed by guopengguopeng
parent 044c03d09f
commit 1255c95f27
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}