...
|
...
|
@@ -157,7 +157,7 @@ function displatyTetail(ip){ |
|
|
var ipport=value.split(":");
|
|
|
return ipport[1];
|
|
|
},
|
|
|
width : "8%"
|
|
|
width : "6%"
|
|
|
},{
|
|
|
title : "角色",
|
|
|
field : "paramMonitor",
|
...
|
...
|
@@ -169,7 +169,7 @@ function displatyTetail(ip){ |
|
|
return paramMonitor[1];
|
|
|
}
|
|
|
},
|
|
|
width : "7%"
|
|
|
width : "6%"
|
|
|
},{
|
|
|
title : "最大内存",
|
|
|
field : "paramMonitor",
|
...
|
...
|
@@ -205,7 +205,7 @@ function displatyTetail(ip){ |
|
|
return paramMonitor[3];
|
|
|
}
|
|
|
},
|
|
|
width : "8%"
|
|
|
width : "6%"
|
|
|
},{
|
|
|
title : "状态",
|
|
|
field : "paramMonitor",
|
...
|
...
|
@@ -266,7 +266,20 @@ function displatyTetail(ip){ |
|
|
|
|
|
},
|
|
|
width : "5%"
|
|
|
}]
|
|
|
},{
|
|
|
title : "hit rate",
|
|
|
field : "paramMonitor",
|
|
|
formatter : function(value, rowData, rowIndex) {
|
|
|
var paramMonitor=value.split(",");
|
|
|
if(paramMonitor[6]==null){
|
|
|
return "";
|
|
|
}else{
|
|
|
return (Number(paramMonitor[6]) * 100).toFixed(2) + " %";
|
|
|
}
|
|
|
|
|
|
},
|
|
|
width : "5%"
|
|
|
}]
|
|
|
});
|
|
|
$("#myModalLabel").text("twemproxy详细信息");
|
|
|
$("#myRedisProxyDetail").modal('show');
|
...
|
...
|
|