43 lines
850 B
YAML
43 lines
850 B
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets:
|
|
- alertmanager:9093
|
|
|
|
rule_files:
|
|
- /etc/prometheus/rules/*.yml
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets:
|
|
- prometheus:9090
|
|
|
|
- job_name: alloy
|
|
static_configs:
|
|
- targets:
|
|
- alloy:12345
|
|
|
|
- job_name: preprod-uptime
|
|
metrics_path: /probe
|
|
params:
|
|
module:
|
|
- http_2xx
|
|
static_configs:
|
|
- targets:
|
|
- http://web/
|
|
- http://api:8080/health/ready
|
|
relabel_configs:
|
|
- source_labels:
|
|
- __address__
|
|
target_label: __param_target
|
|
- source_labels:
|
|
- __param_target
|
|
target_label: instance
|
|
- target_label: __address__
|
|
replacement: blackbox:9115
|