Browse Source

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

pull/6021/head
zouyixiong 3 months ago
committed by GitHub
parent
commit
881c9a009e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      weed/command/master.go

2
weed/command/master.go

@ -134,8 +134,8 @@ func runMaster(cmd *Command, args []string) bool {
*m.metricsHttpIp = *m.ip *m.metricsHttpIp = *m.ip
} }
go stats_collect.StartMetricsServer(*m.metricsHttpIp, *m.metricsHttpPort) 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) startMaster(m, masterWhiteList)
return true return true
} }

Loading…
Cancel
Save