Monitoring Documentation
Prometheus, Grafana and Node Exporter provide infrastructure visibility.
What Is Running
| Service | Purpose |
|---|---|
| Prometheus | Collects and stores metrics. |
| Node Exporter | Exports host CPU, RAM, disk and network metrics. |
| Grafana | Displays dashboards and graphs. |
Metrics Flow
Node Exporter exposes /metrics -> Prometheus scrapes every interval -> Prometheus stores time-series data -> Grafana queries Prometheus -> User sees dashboards
What To Monitor
- CPU usage
- RAM usage
- Disk usage
- Network throughput
- Container uptime
- Nginx request rate
- Kubernetes node and pod health later
Useful URLs
http://5.39.37.7/grafana/ http://5.39.37.7/prometheus/
Commands
docker logs prometheus docker logs grafana docker logs node-exporter curl http://127.0.0.1:9100/metrics curl http://127.0.0.1:9090/prometheus/-/healthy