4 ms·
You can pass along timing data from every aspect of the request [1] currently there are approximately 20 events supported. You can also send over just about any
by rogerdonut 5y ago
You can pass along timing data from every aspect of the request [1] currently there are approximately 20 events supported. You can also send over just about anything that can be stored within an HAProxy variable / header through a tag. Here's an example configuration for HAProxy (simple) [2] (advanced) [3] and the OpenTracing specific configuration (simple) [4] (advanced) [5]. I've included both simple and advanced configurations.
[1] https://github.com/haproxy/haproxy/blob/master/addons/ot/README#L410 https://github.com/haproxy/haproxy/blob/master/addons/ot/REA...
[2] https://github.com/haproxy/haproxy/blob/master/addons/ot/test/be/haproxy.cfg https://github.com/haproxy/haproxy/blob/master/addons/ot/tes...
[3] https://github.com/haproxy/haproxy/blob/master/addons/ot/test/ctx/haproxy.cfg https://github.com/haproxy/haproxy/blob/master/addons/ot/tes...
[4] https://github.com/haproxy/haproxy/blob/master/addons/ot/test/be/ot.cfg https://github.com/haproxy/haproxy/blob/master/addons/ot/tes...
[5] https://github.com/haproxy/haproxy/blob/master/addons/ot/test/ctx/ot.cfg https://github.com/haproxy/haproxy/blob/master/addons/ot/tes...
- bostonsre 5y agoYea, it's pretty flexible and you can attach any additional metadata that you want (e.g. app version info, user name).