From: Miroslav Zagorac Date: Sun, 13 Dec 2020 17:32:57 +0000 (+0100) Subject: DOC: opentracing: add the OpenTracing filter section X-Git-Tag: v2.4-dev4~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc32cd961bb166c3bdb633719918d89333060fa6;p=thirdparty%2Fhaproxy.git DOC: opentracing: add the OpenTracing filter section --- diff --git a/doc/configuration.txt b/doc/configuration.txt index e60e3428d9..32df1cac3a 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -118,6 +118,7 @@ Summary 9.3. Stream Processing Offload Engine (SPOE) 9.4. Cache 9.5. fcgi-app +9.6. OpenTracing 10. FastCGI applications 10.1. Setup @@ -20754,6 +20755,40 @@ See also: "use-fcgi-app", section 9.2 about the compression filter, section 9.4 about the cache filter and section 10 about FastCGI application. +9.6. OpenTracing +---------------- + +The OpenTracing filter adds native support for using distributed tracing in +HAProxy. This is enabled by sending an OpenTracing compliant request to one +of the supported tracers such as Datadog, Jaeger, Lightstep and Zipkin tracers. +Please note: tracers are not listed by any preference, but alphabetically. + +This feature is only enabled when haproxy was built with USE_OT=1. + +The OpenTracing filter activation is done explicitly by specifying it in the +HAProxy configuration. If this is not done, the OpenTracing filter in no way +participates in the work of HAProxy. + +filter opentracing [id ] config + + Arguments : + + is the OpenTracing filter id that will be used to find the + right scope in the configuration file. If no filter id is + specified, 'ot-filter' is used as default. If scope is not + specified in the configuration file, it applies to all defined + OpenTracing filters. + + is the path of the OpenTracing configuration file. The same + file can contain configurations for multiple OpenTracing + filters simultaneously. In that case we do not need to define + scope so the same configuration applies to all filters or each + filter must have its own scope defined. + +More detailed documentation related to the operation, configuration and use +of the filter can be found in the contrib/opentracing directory. + + 10. FastCGI applications -------------------------