public class CorrelationContextManagerSdk extends Object implements io.opentelemetry.correlationcontext.CorrelationContextManager
CorrelationContextManagerSdk
is SDK implementation of CorrelationContextManager
.Constructor and Description |
---|
CorrelationContextManagerSdk() |
Modifier and Type | Method and Description |
---|---|
io.opentelemetry.correlationcontext.CorrelationContext.Builder |
contextBuilder() |
io.opentelemetry.correlationcontext.CorrelationContext |
getCurrentContext() |
io.opentelemetry.context.Scope |
withContext(io.opentelemetry.correlationcontext.CorrelationContext distContext) |
public io.opentelemetry.correlationcontext.CorrelationContext getCurrentContext()
getCurrentContext
in interface io.opentelemetry.correlationcontext.CorrelationContextManager
public io.opentelemetry.correlationcontext.CorrelationContext.Builder contextBuilder()
contextBuilder
in interface io.opentelemetry.correlationcontext.CorrelationContextManager
public io.opentelemetry.context.Scope withContext(io.opentelemetry.correlationcontext.CorrelationContext distContext)
withContext
in interface io.opentelemetry.correlationcontext.CorrelationContextManager