Clean up stats configuration

This commit is contained in:
Justin Li
2014-07-23 17:25:01 -04:00
parent cf619aa50f
commit 88d68a99a2
4 changed files with 36 additions and 38 deletions

View File

@@ -71,9 +71,7 @@ func Boot() {
glog.V(1).Infof("Loaded config file: %s", configPath)
}
stats.DefaultBufferSize = cfg.StatsBufferSize
stats.DefaultIncludeMemStats = cfg.IncludeMemStats
stats.DefaultVerboseMemStats = cfg.VerboseMemStats
stats.DefaultStats = stats.New(cfg.StatsConfig)
tkr, err := tracker.New(cfg)
if err != nil {