@Override
    protected void reportTracedLeak(String resourceType, String records) {
        super.reportTracedLeak(resourceType, records);
        leakCounter.incrementAndGet();
        resetReportedLeaks();
    }
Pluggable ResourceLeakDetector to track metrics for leaks

Author: Arthur Gonigberg
Date: September 20, 2016
zuul-core/src/main/java/com/netflix/netty/common/metrics/InstrumentedResourceLeakDetector.java