diff options
Diffstat (limited to 'weed/server/filer_server.go')
| -rw-r--r-- | weed/server/filer_server.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go index de271a483..ec0a4fb3e 100644 --- a/weed/server/filer_server.go +++ b/weed/server/filer_server.go @@ -54,7 +54,6 @@ type FilerOption struct { recursiveDelete bool Cipher bool Filers []string - MetricsHttpPort int } type FilerServer struct { @@ -158,8 +157,7 @@ func (fs *FilerServer) maybeStartMetrics() { } } - go stats.StartMetricsServer(stats.FilerGather, fs.option.MetricsHttpPort) - go stats.LoopPushingMetric("filer", stats.SourceName(fs.option.Port), stats.FilerGather, fs.metricsAddress, fs.metricsIntervalSec) + go stats.LoopPushingMetric("filer", stats.SourceName(fs.option.Port), fs.metricsAddress, fs.metricsIntervalSec) } func readFilerConfiguration(grpcDialOption grpc.DialOption, masterAddress string) (metricsAddress string, metricsIntervalSec int, err error) { |
