repos / ops

infra for pico services
git clone https://github.com/picosh/ops.git

commit
588e3e6
parent
df047f8
author
Antonio Mika
date
2024-02-02 13:06:57 +0000 UTC
Ensure imgs redirect to prose works
1 files changed,  +34, -2
M monitoring/prometheus/config/prometheus.yml
+34, -2
 1@@ -217,7 +217,6 @@ scrape_configs:
 2           - https://prose.sh
 3           - https://pastes.sh
 4           - https://lists.sh
 5-          - https://imgs.sh
 6           - https://pgs.sh
 7           - https://feeds.sh
 8           - https://monitoring.pico.sh
 9@@ -241,11 +240,44 @@ scrape_configs:
10           - https://prose.sh
11           - https://pastes.sh
12           - https://lists.sh
13-          - https://imgs.sh
14           - https://pgs.sh
15           - https://feeds.sh
16           - https://monitoring.pico.sh
17           - https://chat.pico.sh
18+  - job_name: blackbox_exporter_https_3xx
19+    metrics_path: "/probe"
20+    params:
21+      module:
22+        - https_get_3xx
23+    relabel_configs:
24+      - source_labels:
25+          - __address__
26+        target_label: __param_target
27+      - source_labels:
28+          - __param_target
29+        target_label: instance
30+      - target_label: __address__
31+        replacement: blackbox_exporter:9115
32+    static_configs:
33+      - targets:
34+          - https://imgs.sh
35+  - job_name: blackbox_exporter_https_3xx_ip6
36+    metrics_path: "/probe"
37+    params:
38+      module:
39+        - https_get_3xx_ip6
40+    relabel_configs:
41+      - source_labels:
42+          - __address__
43+        target_label: __param_target
44+      - source_labels:
45+          - __param_target
46+        target_label: instance
47+      - target_label: __address__
48+        replacement: blackbox_exporter:9115
49+    static_configs:
50+      - targets:
51+          - https://imgs.sh
52   - job_name: blackbox_exporter_https_4xx
53     metrics_path: "/probe"
54     params: