public final Timer.Context indexTimer(String type, String op) { String name = index + ":" + type + ":" + op + ":ts"; return MetricCollectorImpl.current().getTimer(clazz, name); }
public final void failedIncr(String type, String op, Exception e) { String name = index + ":" + type + ":" + op + ":" + e.getClass().getSimpleName(); MetricCollectorImpl.current().incrementCounter(clazz, name); }
public final void indexIncr(String type, String op) { String name = index + ":" + type + ":" + op; MetricCollectorImpl.current().incrementCounter(clazz, name); }