Authored by Xu

redis结构调整

... ... @@ -16,7 +16,7 @@ function refreshTable() {
columns: [
{
title: "",
width:"50px",
width:"20px",
field: "ip",
formatter: function (value, rowData, rowIndex) {
var div = $("<div>");
... ... @@ -27,40 +27,53 @@ function refreshTable() {
},
{
title: "ip",
width: "150px",
width: "100px",
field: "ip"
},
{
title: "QPS(分钟)",
width: "100",
field: "count",
sortable: true,
title: "单IP总的访问次数",
width: "70",
field: "allCount",
},
{
title: "QPS(秒)",
width: "100",
field: "count",
sortable: true,
title: "敏感接口访问次数",
width: "70",
field: "impCount",
},
{
title: "单ip访问次数占比",
width: "70",
field: "ipPrecent",
formatter: function (value, rowData, rowIndex) {
return parseInt(value / 60);
return value + "%";
}
},
{
title: "百分比",
width: "80",
field: "percent",
title: "敏感接口占比",
width: "70",
field: "impApiPrecent",
formatter: function (value, rowData, rowIndex) {
return value + "%";
}
},
{
title: "udid个数",
width: "70",
field: "udidCount",
},
{
title: "不存在的udid个数",
width: "70",
field: "notExsitUdidCount",
},
{
title: "时间",
width: "200",
width: "100",
field: "time"
},
{
title: "详情",
width: "200px",
width: "50px",
field: "ip",
formatter: function (value, rowData, rowIndex) {
var div = $("<div>");
... ...
... ... @@ -54,7 +54,7 @@ function refreshTable() {
},
{
title: "详情",
width: "200px",
width: "50px",
field: "ip",
formatter: function (value, rowData, rowIndex) {
var div = $("<div>");
... ...
... ... @@ -56,7 +56,7 @@ function refreshTable() {
},
{
title: "详情",
width: "200px",
width: "50px",
field: "ip",
formatter: function (value, rowData, rowIndex) {
var div = $("<div>");
... ...
... ... @@ -29,7 +29,7 @@ function refreshTableRemove() {
field: "ip"
},
{
title: "剩余时间()",
title: "剩余时间(小时)",
width: "100px",
field: "ttl"
}]
... ...