diff --git a/admin/src/views/Dashboard.vue b/admin/src/views/Dashboard.vue index 19650ad..3ad91de 100644 --- a/admin/src/views/Dashboard.vue +++ b/admin/src/views/Dashboard.vue @@ -27,6 +27,61 @@ + + + + 应用带宽观测 + {{ bwUpdatedAt }} + + + + 以下为本 Go 进程统计的 HTTP 请求/响应字节量,用于粗估负载;若前面还有 Nginx/CDN,公网出口带宽可能更高。WebSocket(如直播信令)升级后的流量可能未完全计入。 + + + + + 出站累计(用户下载为主) + {{ formatBytes(bandwidth.bytes_out_total) }} + + + + + 入站累计(上传/POST) + {{ formatBytes(bandwidth.bytes_in_total) }} + + + + + 近 60 秒出站 · 约 Mbps + {{ bandwidth.recent_egress_mbps }} + {{ formatBytes(bandwidth.bytes_out_last_60s) }} / 60s + + + + + 自启动平均出站 · Mbps + {{ bandwidth.avg_egress_mbps }} + 运行 {{ formatUptime(bandwidth.uptime_seconds) }} + + + + + + + 近 60 秒入站约 Mbps + {{ bandwidth.recent_ingress_mbps }} + {{ formatBytes(bandwidth.bytes_in_last_60s) }} / 60s + + + + + 自启动平均入站 · Mbps + {{ bandwidth.avg_ingress_mbps }} + + + + + 快捷入口 @@ -41,7 +96,7 @@ diff --git a/admin/src/views/sites/LiveBroadcast.vue b/admin/src/views/sites/LiveBroadcast.vue index 723d086..67a3305 100644 --- a/admin/src/views/sites/LiveBroadcast.vue +++ b/admin/src/views/sites/LiveBroadcast.vue @@ -91,7 +91,7 @@