0
0

Merge pull request #598 from abhinavdangeti/master

MB-24560: Add moss store|collection histograms to stats
This commit is contained in:
Marty Schoch 2017-05-26 12:07:14 -04:00 committed by GitHub
commit cd5b307cde

View File

@ -44,6 +44,12 @@ func (s *stats) statsMap() map[string]interface{} {
ms["kv"] = s.s.llstats()
}
if msw, ok := s.s.llstore.(*mossStoreWrapper); ok {
ms["store_histograms"] = msw.Actual().Histograms().String()
}
ms["coll_histograms"] = s.s.ms.Histograms().String()
return ms
}