0.3.0: mongodb and jolokia

This commit is contained in:
Cameron Sparr
2015-12-19 13:31:22 -07:00
parent 64a832467e
commit 30d8ed411a
4 changed files with 38 additions and 84 deletions

View File

@@ -44,7 +44,8 @@ func (s *Server) gatherData(acc plugins.Accumulator) error {
NewStatLine(*s.lastResult, *result, s.Url.Host, true, durationInSeconds),
s.getDefaultTags(),
)
data.AddDefaultStats(acc)
data.AddDefaultStats()
data.flush(acc)
}
return nil
}