We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5060714 commit aec50daCopy full SHA for aec50da
pkg/controller/lifecycle/agent-healthz/helper/healthz_check.go
@@ -254,7 +254,7 @@ func (h *HealthzHelper) syncHeartBeatMap() {
254
_ = h.emitter.StoreInt64(metricsNameAgentNotFoundTotal, totalNotFoundNode[agent],
255
metrics.MetricTypeNameRaw, tag)
256
if nodeCount > 0 {
257
- _ = h.emitter.StoreFloat64(metricsNameAgentReadyRate, float64(totalNotReadyNode[agent])/float64(nodeCount),
+ _ = h.emitter.StoreFloat64(metricsNameAgentReadyRate, float64(totalReadyNode[agent])/float64(nodeCount),
258
259
}
260
0 commit comments