Initial commit: stats-gateway gRPC service + dashboard + CLI

This commit is contained in:
2026-05-05 21:04:32 +05:00
commit 4059e94759
44 changed files with 2513 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS samples (
id INTEGER PRIMARY KEY AUTOINCREMENT,
node TEXT NOT NULL,
ts TEXT NOT NULL,
http_latency_ms REAL NOT NULL,
tcp_rtt_ms REAL NOT NULL,
dns_resolve_ms REAL NOT NULL,
tls_handshake_ms REAL NOT NULL,
throughput_kbps INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX IF NOT EXISTS idx_samples_node_ts ON samples (node, ts DESC);