3x-ui/internal/web
VAIO73 746bdbe9f4
fix(monitoring): read LXC CPU, swap and uptime from the container (#6920)
In an LXC container with LXCFS the Overview showed the container's RAM
beside the host's swap, the host's CPU topology and a CPU percentage from
the host's view. Swap and uptime now come from LXCFS's virtualised files
and CPU from the container's cgroup v2 counter, normalised by the visible
vCPUs and any quota; container CPU and swap history is kept apart from
the earlier host samples.

A value the reader cannot measure (the first CPU sample, or a layout it
cannot verify such as cgroup v1) is reported as unavailable instead of 0:
the dashboard, the node list, node CPU history and the Telegram and
Discord uptime show a dash, and nodes keep the flags in a new
unavailable_metrics column.
2026-10-24 20:24:34 +02:00
..
controller feat(tgbot): rebuild the Telegram bot around editable screens and inline lists (#6760) 2026-10-24 12:39:56 +02:00
entity feat(hosts): add drag-and-drop and global subscription ordering (#6895) 2026-10-24 07:27:47 +02:00
global refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
job fix(iplimit): keep recording client IPs with fail2ban disabled (#6830) 2026-10-24 06:09:01 +02:00
locale feat(discord): add Discord notification bot service (#6486) 2026-09-13 14:04:53 +02:00
middleware fix(middleware): log rejected CSRF requests with the trusted client address (#6692) 2026-10-24 04:51:21 +02:00
network feat(tuic): implement native in-process Go TUIC v5 server (#6577) 2026-10-03 02:56:02 +02:00
runtime perf(runtime): pool the local xray gRPC connection (#6916) 2026-10-24 19:30:09 +02:00
service fix(monitoring): read LXC CPU, swap and uptime from the container (#6920) 2026-10-24 20:24:34 +02:00
session refactor: focused service files, leaf subpackages, and an internal/ layout (#5167) 2026-06-10 15:19:22 +02:00
translation feat(tgbot): rebuild the Telegram bot around editable screens and inline lists (#6760) 2026-10-24 12:39:56 +02:00
websocket fix(tuic): client speed display and certificate button layout (#6723) 2026-10-05 19:46:46 +02:00
cadence_test.go Add remote routing URL support (#6168) 2026-08-18 16:02:11 +02:00
node_contract_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
routes_contract_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
schedule_test.go fix(settings): accept five-field crontab for report and LDAP schedules 2026-10-11 20:37:04 +02:00
web.go feat(tgbot): rebuild the Telegram bot around editable screens and inline lists (#6760) 2026-10-24 12:39:56 +02:00
web_mtls.go feat(node): node hardening — mTLS, hashed+zstd reconcile transport, per-node net metrics (#5382) 2026-06-16 12:19:33 +02:00
web_mtls_test.go feat(node): node hardening — mTLS, hashed+zstd reconcile transport, per-node net metrics (#5382) 2026-06-16 12:19:33 +02:00
web_shutdown_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
web_sublink_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00
web_tuic_shutdown_test.go fix(web): install the share-link provider before the panel serves (#6914) 2026-10-24 05:50:46 +02:00