mirror of
https://gitverse.ru/kpa39l/garage-s3-cluster.git
synced 2026-09-29 09:15:07 +00:00
Initial commit: Hermes skill garage-s3-cluster
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Scrape config for the Garage cluster (3 nodes over WireGuard).
|
||||
# Copy into prometheus.yml scrape_configs. Replace <metrics_token> 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: '<metrics_token>'
|
||||
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
|
||||
Reference in New Issue
Block a user