public void setNodeId(int nodeId) {
    this.nodeId = nodeId;
    this.upTimeInNs = System.nanoTime();
  }
Update rpc address and rpc port of monitored node.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java