refactor(web): 优化b12集群相关内容

This commit is contained in:
2024-01-03 17:06:15 +08:00
parent 1a271d84f2
commit 64fbd9153d
4 changed files with 12 additions and 11 deletions

View File

@@ -165,7 +165,7 @@ function overviewYarnJob(cluster, search, queue, yarnQueue) {
'(',
{
type: 'tpl',
tpl: "<span class='font-bold white-space-pre'>${PADSTART(total, 4)}</span>",
tpl: "<span class='font-bold white-space-pre'>${PADSTART(total, 5)}</span>",
},
',',
{
@@ -180,7 +180,7 @@ function overviewYarnJob(cluster, search, queue, yarnQueue) {
',',
{
type: 'tpl',
tpl: '<span class="font-bold text-danger">${PADSTART(failure, 3)}</span>',
tpl: '<span class="font-bold text-danger">${PADSTART(failure, 4)}</span>',
},
')',
]
@@ -230,7 +230,7 @@ function overviewTab() {
]
},
{type: 'divider'},
'<span class="italic text-gray-500 my-2">集群 (集群总资源使用,队列资源使用)(总压缩任务数,调度中任务数,运行中任务数,失败任务数)</span>',
'<span class="italic text-gray-500 my-2">集群 (集群总资源使用,队列资源使用)(总任务数,调度中任务数,运行中任务数,失败任务数)</span>',
overviewYarnJob('b5-sync', 'Sync', undefined, 'default'),
overviewYarnJob('b12', 'Sync', undefined, 'default'),
{type: 'divider'},
@@ -247,11 +247,11 @@ function overviewTab() {
}
]
},
'<span class="italic text-gray-500 my-2">集群 压缩队列任务数(集群总资源使用,队列资源使用)(总压缩任务数,调度中任务数,运行中任务数,失败任务数)</span>',
'<span class="italic text-gray-500 my-2">集群 压缩队列任务数(集群总资源使用,队列资源使用)(总任务数,调度中任务数,运行中任务数,失败任务数)</span>',
overviewYarnJob('b12', 'Compaction', 'compaction-queue-b12', 'default'),
overviewYarnJob('b1', 'Compaction', 'compaction-queue-b1', 'datalake'),
overviewYarnJob('b5', 'Compaction', 'compaction-queue-b5', 'ten_iap.datalake'),
overviewYarnJob('a4', 'Compaction', 'compaction-queue-a4', 'ten_iap.datalake'),
overviewYarnJob('b12', 'Compaction', 'compaction-queue-b12', 'default'),
{type: 'divider'},
{
type: 'service',