WithContext

trace4cats.Trace$.WithContext
See theWithContext companion object
trait WithContext[F[_]] extends Trace[F]

Attributes

Companion
object
Graph
Supertypes
trait Trace[F]
class Object
trait Matchable
class Any
Known subtypes
class KleisliTrace[F]

Members list

Value members

Abstract methods

Inherited methods

def headers(toHeaders: ToHeaders): F[TraceHeaders]

Convert the span context into headers may be propagated outside of the application

Convert the span context into headers may be propagated outside of the application

Value parameters

toHeaders

ToHeaders implementation. Converts span context to headers that may be propagated outside of the application. Defaults to ToHeaders.standard, which is a collection of headers that conform to open standards. Other header implementations that do not conform to open standards are supported. See ToHeaders for details or use ToHeaders.all

Attributes

Returns

trace4cats.model.TraceHeaders

Inherited from:
Trace

Attributes

Inherited from:
Trace
def put(key: String, value: AttributeValue): F[Unit]

Attributes

Inherited from:
Trace
def putAll(fields: (String, AttributeValue)*): F[Unit]

Attributes

Inherited from:
Trace
def setStatus(status: SpanStatus): F[Unit]

Attributes

Inherited from:
Trace
def span[A](name: String, kind: SpanKind, errorHandler: ErrorHandler)(fa: F[A]): F[A]

Attributes

Inherited from:
Trace
def span[A](name: String, kind: SpanKind)(fa: F[A]): F[A]

Attributes

Inherited from:
Trace
def span[A](name: String, errorHandler: ErrorHandler)(fa: F[A]): F[A]

Attributes

Inherited from:
Trace
def span[A](name: String)(fa: F[A]): F[A]

Attributes

Inherited from:
Trace
def traceId: F[Option[String]]

Attributes

Inherited from:
Trace