Files

1.4 KiB

Monitoring (Prometheus + Grafana) for the SSW590 droplet

Deployed at /opt/startup/monitoring with docker compose up -d.

Container Image (pinned) Port (private only)
prometheus prom/prometheus:v3.15.1 9090
grafana grafana/grafana:13.3.0 3000 (via Caddy as https://metrics.ssw590.abrdns.com)
node-exporter quay.io/prometheus/node-exporter:v1.12.1 9100
blackbox-exporter quay.io/prometheus/blackbox-exporter:v0.29.1 9115
  • .env holds image tags only (no secrets).
  • prometheus/prometheus.yml: 30 s scrapes; jobs prometheus, node, blackbox, https (Gitea and Jenkins login pages via Blackbox).
  • blackbox/blackbox.yml: http_2xx module, IPv4, TLS verification on.
  • grafana/provisioning/: data source (uid dg2y8czei4y68b) and dashboard provider.
  • grafana/dashboards/ssw590-ops.json: team dashboard (versioned definition).
  • grafana/alert-rules-export.yaml: sanitized export of the two Grafana-managed alert rules.
  • Grafana is attached to the existing startup_private network so Caddy can reach grafana:3000; Prometheus and exporters stay on the monitoring network.
  • Secrets (Grafana admin password, Discord webhook URL) are not in Git.

Validate before (re)starting:

docker compose config --quiet
docker compose run --rm --no-deps --entrypoint /bin/promtool prometheus check config /etc/prometheus/prometheus.yml

See RUNBOOK.md for alert response and rollback.