Here you’ll find a few observability notions concerning metrics, along with my personal metrics stack for the VPS hosting farnetiandrea.it.
Four components, two machines (VPS + a dedicated scraper VM):
- Node Exporter: host-native exporter on the VPS, exposes system metrics on
:9100/metrics. - VMAgent: runs on a dedicated VM, pulls metrics from the VPS targets and forwards them via
remote_writeto VictoriaMetrics. - VictoriaMetrics: Docker container on the VPS, TSDB and PromQL query engine.
- Grafana: Docker container on the VPS for dashboards and visualization, exposed publicly at farnetiandrea.it/metrics as a read-only public preview.
For the full step-by-step walkthrough, check out my Grafana stack.