blob: ae7413b9584c15b63ee5e04f9f59ba7e591ded87 [file] [log] [blame]
Miroslav Zagorac70230c62020-12-09 16:54:31 +01001[ot-test-sa]
2 ot-tracer ot-test-tracer
3 log localhost:514 local7 debug
4 config sa/cfg-jaeger.yml
5 plugin libjaeger_opentracing_plugin-0.5.0.so
6 option dontlog-normal
7 option hard-errors
8 no option disabled
9 rate-limit 100.0
10
11 groups http_response_group
12 groups http_after_response_group
13
14 scopes client_session_start
15 scopes frontend_tcp_request
16 scopes http_wait_request
17 scopes http_body_request
18 scopes frontend_http_request
19 scopes switching_rules_request
20 scopes backend_tcp_request
21 scopes backend_http_request
22 scopes process_server_rules_request
23 scopes http_process_request
24 scopes tcp_rdp_cookie_request
25 scopes process_sticking_rules_request
26 scopes client_session_end
27 scopes server_unavailable
28
29 scopes server_session_start
30 scopes tcp_response
31 scopes http_wait_response
32 scopes process_store_rules_response
33 scopes http_response http_response-error
34 scopes server_session_end
35
36 ot-group http_response_group
37 scopes http_response_1
38 scopes http_response_2
39
40 ot-scope http_response_1
41 span "HTTP response"
42 log "hdr.content" res.hdr("content-type") str("; length: ") res.hdr("content-length") str(" bytes")
43
44 ot-scope http_response_2
45 span "HTTP response"
46 log "hdr.date" res.hdr("date") str(" / ") res.hdr("last-modified")
47
48 ot-group http_after_response_group
49 scopes http_after_response
50
51 ot-scope http_after_response
52 span "HAProxy response" child-of "HAProxy session"
53 tag "error" bool(true)
54 tag "http.status_code" status
55
56 ot-scope client_session_start
57 span "HAProxy session" root
58 baggage "haproxy_id" var(sess.ot.uuid)
59 span "Client session" child-of "HAProxy session"
60 acl acl-test-src-ip src 127.0.0.1
61 event on-client-session-start if acl-test-src-ip
62
63 ot-scope frontend_tcp_request
64 span "Frontend TCP request" child-of "Client session"
65 event on-frontend-tcp-request
66
67 ot-scope http_wait_request
68 span "HTTP wait request" follows-from "Frontend TCP request"
69 finish "Frontend TCP request"
70 event on-http-wait-request
71
72 ot-scope http_body_request
73 span "HTTP body request" follows-from "HTTP wait request"
74 finish "HTTP wait request"
75 event on-http-body-request
76
77 ot-scope frontend_http_request
78 span "Frontend HTTP request" follows-from "HTTP body request"
79 tag "http.method" method
80 tag "http.url" url
81 tag "http.version" str("HTTP/") req.ver
82 finish "HTTP body request"
83 event on-frontend-http-request
84
85 ot-scope switching_rules_request
86 span "Switching rules request" follows-from "Frontend HTTP request"
87 finish "Frontend HTTP request"
88 event on-switching-rules-request
89
90 ot-scope backend_tcp_request
91 span "Backend TCP request" follows-from "Switching rules request"
92 finish "Switching rules request"
93 event on-backend-tcp-request
94
95 ot-scope backend_http_request
96 span "Backend HTTP request" follows-from "Backend TCP request"
97 finish "Backend TCP request"
98 event on-backend-http-request
99
100 ot-scope process_server_rules_request
101 span "Process server rules request" follows-from "Backend HTTP request"
102 finish "Backend HTTP request"
103 event on-process-server-rules-request
104
105 ot-scope http_process_request
106 span "HTTP process request" follows-from "Process server rules request"
107 finish "Process server rules request"
108 event on-http-process-request
109
110 ot-scope tcp_rdp_cookie_request
111 span "TCP RDP cookie request" follows-from "HTTP process request"
112 finish "HTTP process request"
113 event on-tcp-rdp-cookie-request
114
115 ot-scope process_sticking_rules_request
116 span "Process sticking rules request" follows-from "TCP RDP cookie request"
117 finish "TCP RDP cookie request"
118 event on-process-sticking-rules-request
119
120 ot-scope client_session_end
121 finish "Client session"
122 event on-client-session-end
123
124 ot-scope server_unavailable
125 finish *
126 event on-server-unavailable
127
128 ot-scope server_session_start
129 span "Server session" child-of "HAProxy session"
130 finish "Process sticking rules request"
131 event on-server-session-start
132
133 ot-scope tcp_response
134 span "TCP response" child-of "Server session"
135 event on-tcp-response
136
137 ot-scope http_wait_response
138 span "HTTP wait response" follows-from "TCP response"
139 finish "TCP response"
140 event on-http-wait-response
141
142 ot-scope process_store_rules_response
143 span "Process store rules response" follows-from "HTTP wait response"
144 finish "HTTP wait response"
145 event on-process-store-rules-response
146
147 ot-scope http_response
148 span "HTTP response" follows-from "Process store rules response"
149 tag "http.status_code" status
150 finish "Process store rules response"
151 event on-http-response
152
153 ot-scope http_response-error
154 span "HTTP response"
155 tag "error" bool(true)
156 event on-http-response if !acl-http-status-ok
157
158 ot-scope server_session_end
159 finish *
160 event on-server-session-end