use of com.alipay.common.tracer.core.reporter.stat.manager.SofaTracerStatisticReporterManager in project sofa-rpc by sofastack.
the class AbstractTracerBase method removeRpcDigestStatLogType.
protected void removeRpcDigestStatLogType() throws Exception {
System.setProperty("stat_log_interval", "5");
AsyncCommonDigestAppenderManager asyncDigestManager = SofaTracerDigestReporterAsyncManager.getSofaTracerDigestReporterAsyncManager();
// stat
Map<Long, SofaTracerStatisticReporterManager> cycleTimesManager = SofaTracerStatisticReporterCycleTimesManager.getCycleTimesManager();
for (Map.Entry<Long, SofaTracerStatisticReporterManager> entry : cycleTimesManager.entrySet()) {
SofaTracerStatisticReporterManager manager = entry.getValue();
manager.getStatReporters().clear();
}
}
Aggregations