Ver Fonte

Register debug.ReadGCStats, too.

Richard Crowley há 12 anos atrás
pai
commit
4e964b6581
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      debug.go

+ 1 - 0
debug.go

@@ -63,4 +63,5 @@ func RegisterDebugGCStats(r Registry) {
 	r.Register("debug.GCStats.Pause", debugMetrics.GCStats.Pause)
 	//r.Register("debug.GCStats.PauseQuantiles", debugMetrics.GCStats.PauseQuantiles)
 	r.Register("debug.GCStats.PauseTotal", debugMetrics.GCStats.PauseTotal)
+	r.Register("debug.ReadGCStats", debugMetrics.ReadGCStats)
 }