private void doCollectStats ( final TSDB tsdb , final StatsCollector collector , final boolean canonical ) { collector . addHostTag ( canonical ) ; ConnectionManager . collectStats ( collector ) ; RpcHandler . collectStats ( collector ) ; RpcManager . collectStats ( collector ) ; collectThreadStats ( collector ) ; tsdb . collectStats ( collector ) ; }
Helper to record the statistics for the current TSD