feat(platform): expose active connection capacity

This commit is contained in:
lingniu
2026-07-04 08:52:57 +08:00
parent b26a37f6f7
commit e29f8768ca
6 changed files with 49 additions and 17 deletions

View File

@@ -188,8 +188,8 @@ 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}><Card bordered title="BFF 请求超时">{formatRequestTimeout(health)}</Card></Col>
<Col span={6}>
<Card bordered title="存储读取">
<Tag color={statusColor[storageReadStatus(health)] ?? 'grey'}>