CN-778 下钻table取值变更: npm、dns、link的throughput列取值改为totalBytes,单位改为byte

CN-776 NPM Dashboard维度表中分数添加颜色标识
This commit is contained in:
hyx
2022-11-01 10:33:23 +08:00
parent d568c748db
commit 5f448c0ccb
3 changed files with 24 additions and 7 deletions

View File

@@ -291,7 +291,7 @@ export const customTableTitlesForAppPerformance = [
{ label: 'network.score', prop: 'score', checked: true, tabColumn: false, columnType: tableColumnType.normal },
{
label: 'networkAppPerformance.throughput',
prop: 'totalBitsRate',
prop: 'totalBytes',
checked: true,
tabColumn: false,
columnType: tableColumnType.chainRatio,
@@ -379,7 +379,7 @@ export const customTableTitlesForLinkMonitor = [
{ label: 'network.score', prop: 'score', checked: true, tabColumn: false, columnType: tableColumnType.normal },
{
label: 'networkAppPerformance.throughput',
prop: 'totalBitsRate',
prop: 'totalBytes',
checked: true,
tabColumn: false,
columnType: tableColumnType.chainRatio,
@@ -475,7 +475,7 @@ export const customTableTitlesForDns = [
},
{ label: 'dns.queriesFromIE', prop: 'totalInExNum', checked: true, tabColumn: true, columnType: tableColumnType.percent },
{ label: 'dns.dnsResponseTime', prop: 'dnsResponseLatencyAvg', checked: true, tabColumn: true, columnType: tableColumnType.normal },
{ label: 'overall.throughput', prop: 'totalBitsRate', checked: true, tabColumn: true, columnType: tableColumnType.normal }
{ label: 'overall.throughput', prop: 'totalBytes', checked: true, tabColumn: true, columnType: tableColumnType.normal }
]
// NetworkOverview类型表格的列:prop 为接口响应数据中的属性名
export const customTableTitlesForNetworkOverview = [
@@ -1041,7 +1041,7 @@ export const dnsServiceInsightsTabList = [
// 用于组织数据时的名称,对应的属性名称
export const bytesColumnNameGroupForNpm = {
totalBitsRate: 'totalBitsRate',
totalBytes: 'totalBytes',
tcpConEstLatency: 'establishLatencyMs',
packetLoss: 'tcpLostlenPercent',
packetRetrans: 'pktRetransPercent',
@@ -1050,7 +1050,7 @@ export const bytesColumnNameGroupForNpm = {
}
export const bytesCycleColumnNameGroupForNpm = {
totalBitsRate: 'totalBitsRate'
totalBytes: 'totalBytes'
}
// 用于组织数据时的名称,对应的属性名称
@@ -1058,7 +1058,7 @@ export const bytesColumnNameGroupForDns = {
queryRate: 'queryRate',
totalInExNum: 'totalInternalQueryNum,totalExternalQueryNum',
dnsResponseLatencyAvg: 'dnsResponseLatencyAvg',
totalBitsRate: 'totalBitsRate'
totalBytes: 'totalBytes'
}
export const bytesCycleColumnNameGroupForDns = {