Miroslav Zagorac | 70230c6 | 2020-12-09 16:54:31 +0100 | [diff] [blame] | 1 | [ot-test-ctx] |
| 2 | ot-tracer ot-test-tracer |
| 3 | log localhost:514 local7 debug |
| 4 | config ctx/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_1 |
| 15 | scopes client_session_start_2 |
| 16 | scopes frontend_tcp_request |
| 17 | scopes http_wait_request |
| 18 | scopes http_body_request |
| 19 | scopes frontend_http_request |
| 20 | scopes switching_rules_request |
| 21 | scopes backend_tcp_request |
| 22 | scopes backend_http_request |
| 23 | scopes process_server_rules_request |
| 24 | scopes http_process_request |
| 25 | scopes tcp_rdp_cookie_request |
| 26 | scopes process_sticking_rules_request |
| 27 | scopes client_session_end |
| 28 | scopes server_unavailable |
| 29 | |
| 30 | scopes server_session_start |
| 31 | scopes tcp_response |
| 32 | scopes http_wait_response |
| 33 | scopes process_store_rules_response |
| 34 | scopes http_response http_response-error |
| 35 | scopes server_session_end |
| 36 | |
| 37 | ot-group http_response_group |
| 38 | scopes http_response_1 |
| 39 | scopes http_response_2 |
| 40 | |
| 41 | ot-scope http_response_1 |
| 42 | span "HTTP response" |
| 43 | log "hdr.content" res.hdr("content-type") str("; length: ") res.hdr("content-length") str(" bytes") |
| 44 | |
| 45 | ot-scope http_response_2 |
| 46 | span "HTTP response" |
| 47 | log "hdr.date" res.hdr("date") str(" / ") res.hdr("last-modified") |
| 48 | |
| 49 | ot-group http_after_response_group |
| 50 | scopes http_after_response |
| 51 | |
| 52 | ot-scope http_after_response |
| 53 | span "HAProxy response" child-of "HAProxy session" |
| 54 | tag "error" bool(true) |
| 55 | tag "http.status_code" status |
| 56 | |
| 57 | ot-scope client_session_start_1 |
| 58 | span "HAProxy session" root |
| 59 | inject "ot_ctx_1" use-headers use-vars |
| 60 | baggage "haproxy_id" var(sess.ot.uuid) |
| 61 | event on-client-session-start |
| 62 | |
| 63 | ot-scope client_session_start_2 |
| 64 | extract "ot_ctx_1" use-vars |
| 65 | span "Client session" child-of "ot_ctx_1" |
| 66 | inject "ot_ctx_2" use-headers use-vars |
| 67 | event on-client-session-start |
| 68 | |
| 69 | ot-scope frontend_tcp_request |
| 70 | extract "ot_ctx_2" use-vars |
| 71 | span "Frontend TCP request" child-of "ot_ctx_2" |
| 72 | inject "ot_ctx_3" use-headers use-vars |
| 73 | event on-frontend-tcp-request |
| 74 | |
| 75 | ot-scope http_wait_request |
| 76 | extract "ot_ctx_3" use-vars |
| 77 | span "HTTP wait request" follows-from "ot_ctx_3" |
| 78 | inject "ot_ctx_4" use-headers use-vars |
| 79 | finish "Frontend TCP request" "ot_ctx_3" |
| 80 | event on-http-wait-request |
| 81 | |
| 82 | ot-scope http_body_request |
| 83 | extract "ot_ctx_4" use-vars |
| 84 | span "HTTP body request" follows-from "ot_ctx_4" |
| 85 | inject "ot_ctx_5" use-headers use-vars |
| 86 | finish "HTTP wait request" "ot_ctx_4" |
| 87 | event on-http-body-request |
| 88 | |
| 89 | ot-scope frontend_http_request |
| 90 | extract "ot_ctx_5" use-vars |
| 91 | span "Frontend HTTP request" follows-from "ot_ctx_5" |
| 92 | tag "http.method" method |
| 93 | tag "http.url" url |
| 94 | tag "http.version" str("HTTP/") req.ver |
| 95 | inject "ot_ctx_6" use-headers use-vars |
| 96 | finish "HTTP body request" "ot_ctx_5" |
| 97 | event on-frontend-http-request |
| 98 | |
| 99 | ot-scope switching_rules_request |
| 100 | extract "ot_ctx_6" use-vars |
| 101 | span "Switching rules request" follows-from "ot_ctx_6" |
| 102 | inject "ot_ctx_7" use-headers use-vars |
| 103 | finish "Frontend HTTP request" "ot_ctx_6" |
| 104 | event on-switching-rules-request |
| 105 | |
| 106 | ot-scope backend_tcp_request |
| 107 | extract "ot_ctx_7" use-vars |
| 108 | span "Backend TCP request" follows-from "ot_ctx_7" |
| 109 | inject "ot_ctx_8" use-headers use-vars |
| 110 | finish "Switching rules request" "ot_ctx_7" |
| 111 | event on-backend-tcp-request |
| 112 | |
| 113 | ot-scope backend_http_request |
| 114 | extract "ot_ctx_8" use-vars |
| 115 | span "Backend HTTP request" follows-from "ot_ctx_8" |
| 116 | inject "ot_ctx_9" use-headers use-vars |
| 117 | finish "Backend TCP request" "ot_ctx_8" |
| 118 | event on-backend-http-request |
| 119 | |
| 120 | ot-scope process_server_rules_request |
| 121 | extract "ot_ctx_9" use-vars |
| 122 | span "Process server rules request" follows-from "ot_ctx_9" |
| 123 | inject "ot_ctx_10" use-headers use-vars |
| 124 | finish "Backend HTTP request" "ot_ctx_9" |
| 125 | event on-process-server-rules-request |
| 126 | |
| 127 | ot-scope http_process_request |
| 128 | extract "ot_ctx_10" use-vars |
| 129 | span "HTTP process request" follows-from "ot_ctx_10" |
| 130 | inject "ot_ctx_11" use-headers use-vars |
| 131 | finish "Process server rules request" "ot_ctx_10" |
| 132 | event on-http-process-request |
| 133 | |
| 134 | ot-scope tcp_rdp_cookie_request |
| 135 | extract "ot_ctx_11" use-vars |
| 136 | span "TCP RDP cookie request" follows-from "ot_ctx_11" |
| 137 | inject "ot_ctx_12" use-headers use-vars |
| 138 | finish "HTTP process request" "ot_ctx_11" |
| 139 | event on-tcp-rdp-cookie-request |
| 140 | |
| 141 | ot-scope process_sticking_rules_request |
| 142 | extract "ot_ctx_12" use-vars |
| 143 | span "Process sticking rules request" follows-from "ot_ctx_12" |
| 144 | inject "ot_ctx_13" use-headers use-vars |
| 145 | finish "TCP RDP cookie request" "ot_ctx_12" |
| 146 | event on-process-sticking-rules-request |
| 147 | |
| 148 | ot-scope client_session_end |
| 149 | finish "Client session" "ot_ctx_2" |
| 150 | event on-client-session-end |
| 151 | |
| 152 | ot-scope server_unavailable |
| 153 | finish * |
| 154 | event on-server-unavailable |
| 155 | |
| 156 | ot-scope server_session_start |
| 157 | span "Server session" child-of "ot_ctx_1" |
| 158 | inject "ot_ctx_14" use-vars |
| 159 | extract "ot_ctx_13" use-vars |
| 160 | finish "Process sticking rules request" "ot_ctx_13" |
| 161 | event on-server-session-start |
| 162 | |
| 163 | ot-scope tcp_response |
| 164 | extract "ot_ctx_14" use-vars |
| 165 | span "TCP response" child-of "ot_ctx_14" |
| 166 | inject "ot_ctx_15" use-vars |
| 167 | event on-tcp-response |
| 168 | |
| 169 | ot-scope http_wait_response |
| 170 | extract "ot_ctx_15" use-vars |
| 171 | span "HTTP wait response" follows-from "ot_ctx_15" |
| 172 | inject "ot_ctx_16" use-headers use-vars |
| 173 | finish "TCP response" "ot_ctx_15" |
| 174 | event on-http-wait-response |
| 175 | |
| 176 | ot-scope process_store_rules_response |
| 177 | extract "ot_ctx_16" use-vars |
| 178 | span "Process store rules response" follows-from "ot_ctx_16" |
| 179 | inject "ot_ctx_17" use-headers use-vars |
| 180 | finish "HTTP wait response" "ot_ctx_16" |
| 181 | event on-process-store-rules-response |
| 182 | |
| 183 | ot-scope http_response |
| 184 | extract "ot_ctx_17" use-vars |
| 185 | span "HTTP response" follows-from "ot_ctx_17" |
| 186 | tag "http.status_code" status |
| 187 | finish "Process store rules response" "ot_ctx_17" |
| 188 | event on-http-response |
| 189 | |
| 190 | ot-scope http_response-error |
| 191 | span "HTTP response" |
| 192 | tag "error" bool(true) |
| 193 | event on-http-response if !acl-http-status-ok |
| 194 | |
| 195 | ot-scope server_session_end |
| 196 | finish * |
| 197 | event on-server-session-end |