# Scrape config for the Garage cluster (3 nodes over WireGuard). # Copy into prometheus.yml scrape_configs. Replace with the # metrics_token from [admin] in garage.toml (all nodes share one in this cluster). - job_name: 'garage' metrics_path: /metrics scheme: http authorization: type: Bearer credentials: '' static_configs: - targets: ['10.8.0.1:3903', '10.8.0.2:3903', '10.8.0.4:3903'] labels: cluster: garage # Health probe (200 = quorum ok, 503 = lost quorum) - job_name: 'garage_health' metrics_path: /health scheme: http static_configs: - targets: ['10.8.0.1:3903', '10.8.0.2:3903', '10.8.0.4:3903'] labels: cluster: garage