fix: align deploy health checks with live endpoint
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
All checks were successful
CD Pipeline / deploy (push) Successful in 1m5s
This commit is contained in:
@@ -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
|
||||
|
||||
# ===========================================================================
|
||||
# 監控系統自身
|
||||
# ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user