mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 23:40:41 +01:00
volume: get metrics configuration from master
fix https://github.com/chrislusf/seaweedfs/issues/1354
This commit is contained in:
1 parent
2cbd1cf121
commit
2c21eb1971
6 files changed
+30
-17
No files matched your search
@@ -156,6 +156,9 @@ func (fs *FilerServer) maybeStartMetrics() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
glog.V(0).Infof("filer sends metrics to %s every %d seconds", fs.metricsAddress, fs.metricsIntervalSec)
|
||||
|
||||
if fs.metricsAddress == "" && fs.metricsIntervalSec <= 0 {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user