A Storage implementation that keeps track of all Contexts across all Threads in the application and exposes them
through its companion object. Using the Debug storage can only be enabled when the System Property
"kamon.context.debug" is set to "true" (we don't allow this be discovered from configuration because it can cause
initialization issues when Kamon is first initialized via instrumentation trying to access the current Context).
This implementation is considerably less efficient than the default implementation since it is taking at least two
different stack traces for every store/close operation pair. Do not use this for any reason other than debugging
Context propagation issues (like, dirty Threads) in a controlled environment.
A Storage implementation that keeps track of all Contexts across all Threads in the application and exposes them through its companion object. Using the Debug storage can only be enabled when the System Property "kamon.context.debug" is set to "true" (we don't allow this be discovered from configuration because it can cause initialization issues when Kamon is first initialized via instrumentation trying to access the current Context).
This implementation is considerably less efficient than the default implementation since it is taking at least two different stack traces for every store/close operation pair. Do not use this for any reason other than debugging Context propagation issues (like, dirty Threads) in a controlled environment.