fix: align deploy health checks with live endpoint
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s

This commit is contained in:
ogt
2026-06-25 14:45:02 +08:00
parent 83561c8530
commit 903cf1a27a
12 changed files with 76 additions and 45 deletions

View File

@@ -119,7 +119,7 @@ scrape_configs:
module: [http_2xx]
static_configs:
- targets:
- https://momo.wooo.work/health
- https://mo.wooo.work/health
labels:
env: 'prod'
probe_type: 'http'
@@ -268,24 +268,6 @@ scrape_configs:
- target_label: __address__
replacement: blackbox-exporter:9115
- job_name: 'blackbox-dns-momo'
metrics_path: /probe
params:
module: [dns_check_momo]
static_configs:
- targets:
- 8.8.8.8 # Google DNS - momo.wooo.work
labels:
domain: 'momo.wooo.work'
probe_type: 'dns'
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox-exporter:9115
# ===========================================================================
# 監控系統自身
# ===========================================================================