Monitoring Documentation

Prometheus, Grafana and Node Exporter provide infrastructure visibility.

What Is Running

ServicePurpose
PrometheusCollects and stores metrics.
Node ExporterExports host CPU, RAM, disk and network metrics.
GrafanaDisplays 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

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