Add memory statistics

This commit is contained in:
Justin Li
2014-07-23 17:08:06 -04:00
parent d47cf7d4bc
commit cf619aa50f
4 changed files with 106 additions and 7 deletions

View File

@@ -72,6 +72,8 @@ func Boot() {
}
stats.DefaultBufferSize = cfg.StatsBufferSize
stats.DefaultIncludeMemStats = cfg.IncludeMemStats
stats.DefaultVerboseMemStats = cfg.VerboseMemStats
tkr, err := tracker.New(cfg)
if err != nil {