Initial commit

This commit is contained in:
rl544
2026-09-13 19:19:37 +09:00
commit 574783ab15
24 changed files with 942 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
DROP TABLE IF EXISTS client_metrics;
CREATE TABLE client_metrics (
id SERIAL PRIMARY KEY,
hostname VARCHAR(255) NOT NULL,
timestamp TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
total_cpu_percent FLOAT,
total_mem_percent FLOAT,
dpc_interrupt_percent FLOAT,
top_cpu_processes JSONB,
top_mem_processes JSONB,
top_io_processes JSONB,
network_connections JSONB,
hung_processes JSONB
);