mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
feat(dashboard): network summary, server detail and connection routes
The traffic topic now carries each server's rates with its split by peer (null for servers that report none), link statistics and gauges. New routes: /api/diagnostics/network, /network/server (message types and a 10 minute series) and /network/connections (remote ends grouped by address). Addresses need the new network_ips permission; without it each is a salted token. They stay in memory from the last report only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -89,6 +89,7 @@ namespace {
|
||||
{ "logs_audit", "Logs", "Audit log", "What staff did on the dashboard", 8 },
|
||||
{ "logs_system", "Logs", "Server logs", "Server log files, log search and crash dumps", 8 },
|
||||
{ "health_view", "Logs", "Server health", "Player counts, running worlds, uptime and memory over time", 8 },
|
||||
{ "network_ips", "Logs", "Network addresses", "See the IP addresses of game and web clients on the Network page (without it they are shown as tokens)", 9 },
|
||||
{ "metrics_view", "Logs", "Prometheus metrics", "Read /metrics (and /api/metrics) with an API token, when metrics_enabled is on", 8 },
|
||||
|
||||
{ "reports_view", "Economy and map", "Economy reports", "Coins, U-score, items, trades and mail, item traces, duplicate scans, flags and the world map", 3 },
|
||||
|
||||
Reference in New Issue
Block a user