Skip to content

Commit

Permalink
infrastructure: cluster1: kube-prometheus-stack: Collect blackbox.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Jan 28, 2024
1 parent 58b59eb commit 6aafd61
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
1 change: 0 additions & 1 deletion dotfiles/guixsd/guixsd.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,6 @@ location / {

(service prometheus-blackbox-exporter-service-type
(prometheus-blackbox-exporter-configuration
(listen-address "127.0.0.1:9115")
(log-level "error")
(config-file
(computed-file
Expand Down
25 changes: 25 additions & 0 deletions infrastructure/cluster1/kube-prometheus-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,31 @@ prometheus:
- 127.0.0.1:9153
honor_labels: true
job_name: dnsmasq
- static_configs:
- targets:
- https://wugi.info/
- https://guix.wugi.info/
- https://blog.wugi.info/
- https://peertube.home.wugi.info/
- http://ci.guix.gnu.org.intr
- http://ci.guix.gnu.org.wugi.info
- https://ci.guix.gnu.org
- https://bordeaux.guix.gnu.org
scrape_interval: 30s
metrics_path: /probe
params:
module:
- http_2xx
relabel_configs:
- source_labels:
- __address__
target_label: __param_target
- source_labels:
- __param_target
target_label: instance
- replacement: 192.168.0.145:9115
target_label: __address__
job_name: http
ingress:
enabled: true
ingressClassName: nginx
Expand Down

0 comments on commit 6aafd61

Please sign in to comment.