ЛР6: наблюдаемость, сквозные traces и исследование sampling

This commit is contained in:
2026-11-20 11:58:34 +03:00
parent 470d9d6f1e
commit 3b0f4ab281
80 changed files with 22966 additions and 50 deletions
+46
View File
@@ -0,0 +1,46 @@
global
maxconn 1024
nbthread 1
hard-stop-after 10s
defaults
mode http
timeout connect 500ms
timeout check 500ms
timeout queue 1s
timeout client 30s
timeout server 30s
timeout http-request 3s
retries 2
retry-on conn-failure
option http-server-close
resolvers docker
nameserver docker_dns 127.0.0.11:53
accepted_payload_size 8192
resolve_retries 2
timeout resolve 1s
timeout retry 1s
hold valid 1s
hold nx 1s
hold refused 1s
hold timeout 1s
hold other 1s
hold obsolete 1s
frontend public
bind :8080
default_backend replicas
backend replicas
balance roundrobin
option httpchk
http-check send meth GET uri /health/ready ver HTTP/1.1 hdr Host api
http-check expect status 200
default-server inter 1s fall 2 rise 2
server-template api 1-4 api:8080 check resolvers docker init-addr none resolve-prefer ipv4
listen metrics
bind :8404
stats enable
stats uri /stats