mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
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.
29 lines
794 B
INI
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
|