Files
infra/prometheus/prometheus.yml
T

33 lines
737 B
YAML

global:
scrape_interval: 10s
rule_files:
- /etc/prometheus/alert.rules.yml
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
scrape_configs:
- job_name: alertmanager
static_configs:
- targets:
- alertmanager:9093
- job_name: blackbox_http
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- https://www.qpismont.fr
- https://gitea.qpismont.fr
- https://woodpecker.qpismont.fr
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox_exporter:9115