mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-22 12:42:49 +00:00
feat(dashboard): Network page with a live traffic flow diagram
Next to Diagnostics (health_view): game and web clients, auth, chat, worlds per zone (expandable), other reporting servers, master, the dashboard and the UGC server, with a lane each way per link sized by bytes/s, animated by packets/s and coloured by load against its own 5 minute peak. Estimated links (servers without a split) are dashed. Clicking a box shows its links, busiest message types and a sparkline, with a link to Diagnostics (which now takes ?server=). A connections table lists each remote address; single clients can be drawn too. Narrow screens get a list. Drawing stops while the tab is hidden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -473,6 +473,7 @@ void RegisterDashboardRoutes() {
|
||||
SimplePage("/leaderboards", Perm("leaderboards_view"), "leaderboards.jinja2", "leaderboards", "Leaderboards for every activity");
|
||||
SimplePage("/health", Perm("health_view"), "health.jinja2", "health", "Player counts, worlds, uptime and memory over time; crash dumps");
|
||||
SimplePage("/diagnostics", Perm("health_view"), "diagnostics.jinja2", "diagnostics", "Packets, bytes and HTTP requests per second of every server");
|
||||
SimplePage("/network", Perm("health_view"), "network.jinja2", "network", "Live diagram of the traffic between players, the servers and web clients, and the traffic of each connection");
|
||||
SimplePage("/players", Perm("players_view"), "players.jinja2", "players", "Who is online, with kick, rescue and teleport");
|
||||
SimplePage("/backups", Perm("backups"), "backups.jinja2", "backups", "Database backups");
|
||||
// The GM level tabs need permissions_manage, the grants tab grants_manage
|
||||
|
||||
Reference in New Issue
Block a user