The ServeHub-2 project infrastructure consists of two nodes: an Edge server and a Workload server. These nodes are connected via a private network to manage distributed services.
The Edge server, hosted on a VPS, handles network infrastructure, DNS filtering, and monitoring tasks. The Workload server, located at home, hosts databases, user applications, and personal files.
To automate diagnostics, the author implemented a centralized monitoring system. This setup collects metrics from both servers, aggregates Docker logs, and tracks service availability.
The architecture utilizes Prometheus and Grafana Alloy for data collection, while Loki is used for log storage. The system also includes automated alerting via Telegram for incident notification.




