haproxy/addons/otel/test/full/haproxy.cfg
Miroslav Zagorac 579d1247f2 MINOR: otel: test: added full-event test config
Added the 'full' test configuration that exercises all 29 supported OTel
filter events with all three signal types (traces, metrics, logs).  Every
instrument definition has a corresponding update.
2026-04-13 09:23:26 +02:00

29 lines
794 B
INI

global
stats socket /tmp/haproxy.sock mode 666 level admin
listen stats
mode http
bind *:8001
stats uri /
stats admin if TRUE
stats refresh 10s
frontend otel-test-full-frontend
bind *:10080
default_backend servers-backend
# ACL used to distinguish successful from error responses
acl acl-http-status-ok status 100:399
# OTel filter
filter opentelemetry id otel-test-full config full/otel.cfg
# run response scopes for successful responses
http-response otel-group otel-test-full http_response_group if acl-http-status-ok
# run after-response scopes for error responses
http-after-response otel-group otel-test-full http_after_response_group if !acl-http-status-ok
backend servers-backend
server server-1 127.0.0.1:8000