Miroslav Zagorac | 70230c6 | 2020-12-09 16:54:31 +0100 | [diff] [blame] | 1 | [ot-test-fe] |
| 2 | ot-tracer ot-test-tracer |
| 3 | config fe/cfg-jaeger.yml |
| 4 | plugin libjaeger_opentracing_plugin-0.5.0.so |
| 5 | # log localhost:514 local7 debug |
| 6 | option dontlog-normal |
| 7 | option hard-errors |
| 8 | no option disabled |
| 9 | rate-limit 100.0 |
| 10 | |
| 11 | scopes client_session_start |
| 12 | scopes frontend_tcp_request |
| 13 | scopes frontend_http_request |
| 14 | scopes backend_tcp_request |
| 15 | scopes backend_http_request |
| 16 | scopes client_session_end |
| 17 | |
| 18 | scopes server_session_start |
| 19 | scopes tcp_response |
| 20 | scopes http_response |
| 21 | scopes server_session_end |
| 22 | |
| 23 | ot-scope client_session_start |
| 24 | span "HAProxy session" root |
| 25 | baggage "haproxy_id" var(sess.ot.uuid) |
| 26 | span "Client session" child-of "HAProxy session" |
| 27 | event on-client-session-start |
| 28 | |
| 29 | ot-scope frontend_tcp_request |
| 30 | span "Frontend TCP request" child-of "Client session" |
| 31 | event on-frontend-tcp-request |
| 32 | |
| 33 | ot-scope frontend_http_request |
| 34 | span "Frontend HTTP request" follows-from "Frontend TCP request" |
| 35 | tag "http.method" method |
| 36 | tag "http.url" url |
| 37 | tag "http.version" str("HTTP/") req.ver |
| 38 | finish "Frontend TCP request" |
| 39 | event on-frontend-http-request |
| 40 | |
| 41 | ot-scope backend_tcp_request |
| 42 | span "Backend TCP request" follows-from "Frontend HTTP request" |
| 43 | finish "Frontend HTTP request" |
| 44 | event on-backend-tcp-request |
| 45 | |
| 46 | ot-scope backend_http_request |
| 47 | span "Backend HTTP request" follows-from "Backend TCP request" |
| 48 | finish "Backend TCP request" |
| 49 | span "HAProxy session" |
| 50 | inject "ot-ctx" use-headers |
| 51 | event on-backend-http-request |
| 52 | |
| 53 | ot-scope client_session_end |
| 54 | finish "Client session" |
| 55 | event on-client-session-end |
| 56 | |
| 57 | ot-scope server_session_start |
| 58 | span "Server session" child-of "HAProxy session" |
| 59 | finish "Backend HTTP request" |
| 60 | event on-server-session-start |
| 61 | |
| 62 | ot-scope tcp_response |
| 63 | span "TCP response" child-of "Server session" |
| 64 | event on-tcp-response |
| 65 | |
| 66 | ot-scope http_response |
| 67 | span "HTTP response" follows-from "TCP response" |
| 68 | tag "http.status_code" status |
| 69 | finish "TCP response" |
| 70 | event on-http-response |
| 71 | |
| 72 | ot-scope server_session_end |
| 73 | finish * |
| 74 | event on-server-session-end |