mscluster: merge multiple collector into one (Click here for more information) (#1585)

This commit is contained in:
Jan-Otto Kröpke
2024-08-29 22:03:05 +02:00
committed by GitHub
parent c99ac2c5aa
commit 3ce25ff1ef
19 changed files with 1473 additions and 1652 deletions

View File

@@ -186,6 +186,7 @@ func (coll *Prometheus) execute(logger log.Logger, name string, c Collector, ctx
_ = level.Error(coll.logger).Log("msg", fmt.Sprintf("collector %s failed after %fs", name, duration), "err", err)
return failed
}
_ = level.Debug(coll.logger).Log("msg", fmt.Sprintf("collector %s succeeded after %fs.", name, duration))
return success
}