浏览代码

fix(internal metrics): removed local dev code

Torkel Ödegaard 9 年之前
父节点
当前提交
f79600b352
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      pkg/metrics/publish.go

+ 1 - 3
pkg/metrics/publish.go

@@ -58,9 +58,7 @@ func updateTotalStats() {
 
 	// every interval also publish totals
 	metricPublishCounter++
-	if metricPublishCounter%2 == 0 {
-		metricsLogger.Info("Stats!")
-
+	if metricPublishCounter%10 == 0 {
 		// get stats
 		statsQuery := m.GetSystemStatsQuery{}
 		if err := bus.Dispatch(&statsQuery); err != nil {