We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ea6127 commit 43e1b0fCopy full SHA for 43e1b0f
backend/haproxy/config/haproxy.cfg
@@ -15,6 +15,12 @@ defaults
15
16
default-server check inter 10s fall 2 rise 1
17
18
+frontend prometheus
19
+ bind :8405
20
+ mode http
21
+ http-request use-service prometheus-exporter if { path /metrics }
22
+ no log
23
+
24
frontend internal
25
bind :8445 ssl crt /usr/local/etc/haproxy/itmo-dating-backend.pem
26
bind :8446 ssl crt /usr/local/etc/haproxy/itmo-dating-backend.pem
backend/prometheus/prometheus.yml
@@ -87,3 +87,10 @@ scrape_configs:
87
scheme: https
88
tls_config:
89
insecure_skip_verify: true
90
91
+ - job_name: haproxy
92
+ dns_sd_configs:
93
+ - names:
94
+ - haproxy.dating.se.ifmo.ru
95
+ type: 'A'
96
+ port: 8405
0 commit comments