diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-19 00:03:00 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-19 00:03:00 -0700 |
| commit | 2c21eb19719d06a2fbf0b9e75cba46aa5e4e01c2 (patch) | |
| tree | bdac398e1103157b6ec2482503c603eaa6bcb62c /weed/command/s3.go | |
| parent | 2cbd1cf121921fd4c7f5c53ad0f0e64eaa85bcf4 (diff) | |
| download | seaweedfs-2c21eb19719d06a2fbf0b9e75cba46aa5e4e01c2.tar.xz seaweedfs-2c21eb19719d06a2fbf0b9e75cba46aa5e4e01c2.zip | |
volume: get metrics configuration from master
fix https://github.com/chrislusf/seaweedfs/issues/1354
Diffstat (limited to 'weed/command/s3.go')
| -rw-r--r-- | weed/command/s3.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go index b944c9bcf..ca1b06d3f 100644 --- a/weed/command/s3.go +++ b/weed/command/s3.go @@ -152,6 +152,8 @@ func (s3opt *S3Options) startS3Server() bool { break } } + + glog.V(0).Infof("s3 server sends metrics to %s every %d seconds", metricsAddress, metricsIntervalSec) if metricsAddress != "" && metricsIntervalSec > 0 { go stats_collect.LoopPushingMetric("s3", stats_collect.SourceName(uint32(*s3opt.port)), stats_collect.S3Gather, metricsAddress, metricsIntervalSec) } |
