diff --git a/cmd/converge/prometheus.go b/cmd/converge/prometheus.go index 109ea85..0c6972f 100644 --- a/cmd/converge/prometheus.go +++ b/cmd/converge/prometheus.go @@ -215,12 +215,6 @@ func updateDurations() { } func updateMetricsImpl(state *models.State) { - // This implemnetation has a small probability that the metric will be in a partially - // initialized state. This is however unlikely. It would lead to in incorrect determination - // that an agent or client is not available. However, each agent and client will have a UID - // so that is still possible to identify the client or agent even though some values might - // become 0. - agentGuids := make(map[string]models.Agent) clientGuids := make(map[string]models.Client)