ContextStorage

zio.telemetry.opentelemetry.context.ContextStorage
sealed trait ContextStorage

An interface crafted to offer abstraction from the approach of context propagation.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def get(implicit trace: Trace): UIO[Context]
def getAndSet(context: Context)(implicit trace: Trace): UIO[Context]
def locally[R, E, A](context: Context)(zio: ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]
def locallyScoped(context: Context)(implicit trace: Trace): ZIO[Scope, Nothing, Unit]
def set(context: Context)(implicit trace: Trace): UIO[Unit]
def updateAndGet(f: Context => Context)(implicit trace: Trace): UIO[Context]