diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-20 15:38:59 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-20 15:38:59 -0700 |
| commit | d013d09a9be3fd6a9eea2da6b01d6991d777ba93 (patch) | |
| tree | 9cf955391f974fc90377eeedd973e4ca964b17ae /weed/stats/metrics.go | |
| parent | f498c71199069b3c6b9719417438b56189889dd8 (diff) | |
| download | seaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.tar.xz seaweedfs-d013d09a9be3fd6a9eea2da6b01d6991d777ba93.zip | |
adjust logging
Diffstat (limited to 'weed/stats/metrics.go')
| -rw-r--r-- | weed/stats/metrics.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go index 161cc1cda..29e7c8edf 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -133,6 +133,8 @@ func LoopPushingMetric(name, instance string, gatherer *prometheus.Registry, add return } + glog.V(0).Infof("%s server sends metrics to %s every %d seconds", name, addr, intervalSeconds) + pusher := push.New(addr, name).Gatherer(gatherer).Grouping("instance", instance) for { |
