From 30e10ae55c66481113d859aaeab47817f736e0ff Mon Sep 17 00:00:00 2001 From: turanisl Date: Thu, 29 Oct 2026 00:11:18 +0000 Subject: [PATCH] Add Prometheus scrape jobs and HTTPS probe targets --- monitoring/prometheus/prometheus.yml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 monitoring/prometheus/prometheus.yml diff --git a/monitoring/prometheus/prometheus.yml b/monitoring/prometheus/prometheus.yml new file mode 100644 index 0000000..076d2ae --- /dev/null +++ b/monitoring/prometheus/prometheus.yml @@ -0,0 +1,40 @@ +global: + scrape_interval: 30s + evaluation_interval: 30s + +scrape_configs: + - job_name: prometheus + static_configs: + - targets: + - prometheus:9090 + + - job_name: node-exporter + static_configs: + - targets: + - node-exporter:9100 + + - job_name: blackbox-exporter + static_configs: + - targets: + - blackbox-exporter:9115 + + - job_name: https + metrics_path: /probe + params: + module: + - http_2xx + static_configs: + - targets: + - https://git.sespinal590.dev/ + - https://ci.165.227.90.215.sslip.io/login + relabel_configs: + - source_labels: + - __address__ + target_label: __param_target + + - source_labels: + - __param_target + target_label: instance + + - target_label: __address__ + replacement: blackbox-exporter:9115 \ No newline at end of file