[master] master missing start LoopPushingMetric routine fixed. (#6018)

This commit is contained in:
zouyixiong 2024-09-14 11:01:34 +08:00 committed by GitHub
parent 7340c62c47
commit 881c9a009e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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