public static ThreadLocal<Timer.Context> timerThreadLocal() {
        return timerThreadLocal;
    }
Return the global registry of metric instances.
jraft-core/src/main/java/com/alipay/sofa/jraft/util/ThreadPoolMetricRegistry.java