private String opWithClientMeterName(Object op) {
      // Extract meter name containing the client IP
      String clientIP = RpcServer.getRemoteIp() != null ? RpcServer.getRemoteIp().toString() : "";
      if (clientIP.isEmpty()) {
        return "";
      }
      MetaTableOps ops = opsNameMap.get(op.getClass());
      if (ops == null) {
        return "";
      }
      switch (ops) {
        case GET:
          return String.format("MetaTable_client_%s_get_request", clientIP);
        case PUT:
          return String.format("MetaTable_client_%s_put_request", clientIP);
        case DELETE:
          return String.format("MetaTable_client_%s_delete_request", clientIP);
        default:
          return "";
      }
    }
Get regionId from Ops such as: get, put, delete.
@param op such as get, put or delete.
hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MetaTableMetrics.java