// Number 4 includes getProtocolVersion()
assertCounter("RpcProcessingTime_num_ops", 4L, rb);
assertCounterGt("SentBytes", 0L, rb);
assertCounterGt("ReceivedBytes", 0L, rb);
MetricsSource detailed = rpcMetrics.detailed();
rb = getMetrics(detailed);
assertCounter("getProtocolVersion_num_ops", 1L, rb);
// Number of calls to ping method should be 1
assertCounter("ping_num_ops", 1L, rb);
// Number of calls to echo method should be 2