A straightforward
TransitLayer implementation based on thread-local storage. This is the out-of-the-box
transit layer implementation provided by the Tracing Plane.
It is unlikely that you will need to manually configure the Tracing Plane to use this class -- depending on the
distribution you are using, it is likely to be configured by default.
Otherwise, to manually configure the
ThreadLocalTransitLayer, you must configure it using the
baggage.transit
property to use
ThreadLocalTransitLayerFactory, e.g.:
-Dbaggage.transit=brown.tracingplane.impl.ThreadLocalTransitLayerFactory
It can alternatively be configured in your typesafe config's
application.conf
, e.g.:
baggage.transit = "brown.tracingplane.impl.ThreadLocalTransitLayerFactory"