feat: full collector with macOS support, metrics, and one-click installer

- Collect CPU, memory, swap, disk, disk I/O, network (per-second rates),
  load average, system info, uptime, and top processes via gopsutil
- Install script supports both Linux (systemd) and macOS (launchd)
- Auto-detect OS and architecture for binary download
- Accept TOKEN env var for non-interactive installs
- Config at /etc/pulsewise-collector/config with simple KEY=VALUE format
- Debug mode logs full response body
- Hostname auto-detected if not set in config
This commit is contained in:
Joel Male
2026-02-15 16:04:57 +10:00
parent 9d754726b1
commit 4aa08d0ef4
7 changed files with 1079 additions and 0 deletions
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
set -e
go build -o pulsewise-collector .
echo "Built: pulsewise-collector"