Top Description Methods
io.opentelemetry.context

public Interface ContextStorageProvider

Imports
java.util.concurrent.Executor

A Java SPI (Service Provider Interface) to allow replacing the default ContextStorage. This can be useful if, for example, you want to store OpenTelemetry Context in another context propagation system. For example, the returned ContextStorage could delegate to methods in

com.linecorp.armeria.common.RequestContext, io.grpc.context.Context, or org.eclipse.microprofile.context.ThreadContext

if you are already using one of those systems in your application. Then you would not have to use methods like Context#wrap(Executor) and can use your current system instead.

Method Summary

Modifier and TypeMethod and Description
public ContextStorage
get()

Returns the ContextStorage to use to store Context.

Method Detail

getback to summary
public ContextStorage get()

Returns the ContextStorage to use to store Context.