core / pragma.logging / DefaultRequestBaggagePlugin /
DefaultRequestBaggagePlugin #
open class DefaultRequestBaggagePlugin : RequestBaggagePlugin
This plugin adds a distributed traceId to inbound requests when traceLogging is enabled. This traceId will be propagated throughout service-to-service requests to provide a reliable unique id within logs for to trace distributed call paths.
Constructors #
DefaultRequestBaggagePlugin | fun DefaultRequestBaggagePlugin() |
Functions #
| Name | Summary |
|---|---|
Adds a traceId to support distributed tracing. | |
Includes all entries in ‘current’ and adds a traceId if not present. |