public void updateRpc(CallStats stats) { this.callTimer.update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); this.reqHist.update(stats.getRequestSizeBytes()); this.respHist.update(stats.getResponseSizeBytes()); }
/** Update call stats for non-critical-path methods */ private void updateRpcGeneric(MethodDescriptor method, CallStats stats) { final String methodName = method.getService().getName() + "_" + method.getName(); getMetric(DRTN_BASE + methodName, rpcTimers, timerFactory) .update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); getMetric(REQ_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getRequestSizeBytes()); getMetric(RESP_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getResponseSizeBytes()); }
public void updateRpc(CallStats stats) { this.callTimer.update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); this.reqHist.update(stats.getRequestSizeBytes()); this.respHist.update(stats.getResponseSizeBytes()); }
/** Update call stats for non-critical-path methods */ private void updateRpcGeneric(MethodDescriptor method, CallStats stats) { final String methodName = method.getService().getName() + "_" + method.getName(); getMetric(DRTN_BASE + methodName, rpcTimers, timerFactory) .update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); getMetric(REQ_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getRequestSizeBytes()); getMetric(RESP_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getResponseSizeBytes()); }
public void updateRpc(CallStats stats) { this.callTimer.update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); this.reqHist.update(stats.getRequestSizeBytes()); this.respHist.update(stats.getResponseSizeBytes()); }
/** Update call stats for non-critical-path methods */ private void updateRpcGeneric(MethodDescriptor method, CallStats stats) { final String methodName = method.getService().getName() + "_" + method.getName(); getMetric(DRTN_BASE + methodName, rpcTimers, timerFactory) .update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); getMetric(REQ_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getRequestSizeBytes()); getMetric(RESP_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getResponseSizeBytes()); }
public void updateRpc(CallStats stats) { this.callTimer.update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); this.reqHist.update(stats.getRequestSizeBytes()); this.respHist.update(stats.getResponseSizeBytes()); }
/** Update call stats for non-critical-path methods */ private void updateRpcGeneric(MethodDescriptor method, CallStats stats) { final String methodName = method.getService().getName() + "_" + method.getName(); getMetric(DRTN_BASE + methodName, rpcTimers, timerFactory) .update(stats.getCallTimeMs(), TimeUnit.MILLISECONDS); getMetric(REQ_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getRequestSizeBytes()); getMetric(RESP_BASE + methodName, rpcHistograms, histogramFactory) .update(stats.getResponseSizeBytes()); }