From 881c9a009edf07061c82e45c0add928969481c7e Mon Sep 17 00:00:00 2001 From: zouyixiong Date: Sat, 14 Sep 2024 11:01:34 +0800 Subject: [PATCH] [master] master missing start LoopPushingMetric routine fixed. (#6018) --- weed/command/master.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/command/master.go b/weed/command/master.go index 1a6db1945..79c783091 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -134,8 +134,8 @@ func runMaster(cmd *Command, args []string) bool { *m.metricsHttpIp = *m.ip } go stats_collect.StartMetricsServer(*m.metricsHttpIp, *m.metricsHttpPort) + go stats_collect.LoopPushingMetric("masterServer", util.JoinHostPort(*m.ip, *m.port), *m.metricsAddress, *m.metricsIntervalSec) startMaster(m, masterWhiteList) - return true }