adjust logging

This commit is contained in:
Chris Lu
2020-09-20 15:38:59 -07:00
parent f498c71199
commit d013d09a9b
7 changed files with 11 additions and 17 deletions

View File

@@ -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 {