public void updateRpcInstance(NodeType nodeType, String internalDatabase) {
    this.nodeType = nodeType;
    this.internalDatabase = internalDatabase;
  }
Update rpc address and rpc port of monitored node.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/config/MetricConfig.java