@Override
    public NodeMetrics getNodeMetrics() {
        return this.metrics;
    }
Returns the node metrics.

@return returns metrics of current node.
jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java