feat(platform): show release in quality health

This commit is contained in:
lingniu
2026-07-04 15:40:41 +08:00
parent d72da88c3f
commit eaf7fcaa0e
2 changed files with 8 additions and 5 deletions

View File

@@ -640,10 +640,11 @@ export function Quality({
))}
</div>
<Row gutter={16}>
<Col span={6}><Card bordered title="Kafka Lag">{formatLag(health?.kafkaLag)}</Card></Col>
<Col span={6}><Card bordered title="活跃连接">{formatLag(health?.activeConnections)}</Card></Col>
<Col span={6}><Card bordered title="Redis 在线 Key">{formatLag(health?.redisOnlineKeys)}</Card></Col>
<Col span={6}>
<Col span={5}><Card bordered title="Kafka Lag">{formatLag(health?.kafkaLag)}</Card></Col>
<Col span={5}><Card bordered title="活跃连接">{formatLag(health?.activeConnections)}</Card></Col>
<Col span={5}><Card bordered title="Redis 在线 Key">{formatLag(health?.redisOnlineKeys)}</Card></Col>
<Col span={5}><Card bordered title="运行版本">{health?.runtime?.platformRelease || '未标记'}</Card></Col>
<Col span={4}>
<Card bordered title="存储读取">
<Tag color={statusColor[storageReadStatus(health)] ?? 'grey'}>
{storageReadStatus(health) === 'pending' ? '检测中' : storageReadStatus(health) === 'ok' ? '正常' : '异常'}