fix(statistics): не двоить overlay и транзит в кубе
Docker images / prepare-release (push) Successful in 8s
Docker images / backend-test (push) Successful in 2m18s
Docker images / frontend-image (push) Successful in 3m25s
Docker images / updater-image (push) Successful in 48s
Docker images / backend-image (push) Successful in 3m9s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 14s

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Denozordec
2026-09-11 00:46:25 +07:00
co-authored by Cursor
parent c162a41bc0
commit 0c0dfa1df7
9 changed files with 456 additions and 41 deletions
+12 -1
View File
@@ -393,6 +393,15 @@ export default function StatisticsPage() {
</Alert>
) : null}
{!slices.serverId && isLive && !emptyCube ? (
<Alert>
<AlertTitle>Интернет сети</AlertTitle>
<AlertDescription>
KPI уникальный payload без overlay и транзита EN. Сумма WAN по серверам не равна интернету сети; для uplink откройте сервер.
</AlertDescription>
</Alert>
) : null}
<KpiStatGrid
aria-label="Сводка трафика"
isLoading={loading}
@@ -432,7 +441,9 @@ export default function StatisticsPage() {
id: "servers",
label: "Серверы",
value: String(kpis.servers),
hint: kpis.ifaces ? `${kpis.ifaces} iface` : undefined,
hint: slices.serverId
? (kpis.ifaces ? `${kpis.ifaces} iface` : undefined)
: "WAN — в слайсе сервера",
icon: <ServerIcon />,
iconClassName: "text-muted-foreground",
},