← ZIO Telemetry docs

Tracing

zio.telemetry.opencensus.Tracing
See theTracing companion object
trait Tracing

Attributes

Companion
object
Source
Tracing.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object aspects

Attributes

Source
Tracing.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Tracing.this.Tracing.this.aspects.type

Value members

Abstract methods

def fromRemoteSpan[R, E, E1 <: E, A](remote: SpanContext, name: String, kind: Kind = ..., toErrorStatus: ErrorMapper[E] = ..., attributes: Map[String, AttributeValue] = ...)(zio: => ZIO[R, E1, A])(implicit trace: Trace): ZIO[R, E1, A]

Attributes

Source
Tracing.scala
def fromRootSpan[C, R, E, E1 <: E, A](format: TextFormat, carrier: C, getter: Getter[C], name: String, kind: Kind = ..., toErrorStatus: ErrorMapper[E] = ..., attributes: Map[String, AttributeValue] = ...)(zio: => ZIO[R, E1, A])(implicit trace: Trace): ZIO[R, E1, A]

Attributes

Source
Tracing.scala
def getCurrentSpan: UIO[Span]

Attributes

Source
Tracing.scala
def inject[C](format: TextFormat, carrier: C, setter: Setter[C])(implicit trace: Trace): UIO[Unit]

Attributes

Source
Tracing.scala
def putAttributes(attrs: Map[String, AttributeValue])(implicit trace: Trace): UIO[Unit]

Attributes

Source
Tracing.scala
def root[R, E, E1 <: E, A](name: String, kind: Kind = ..., toErrorStatus: ErrorMapper[E] = ..., attributes: Map[String, AttributeValue] = ...)(zio: => ZIO[R, E1, A])(implicit trace: Trace): ZIO[R, E1, A]

Attributes

Source
Tracing.scala
def span[R, E, E1 <: E, A](name: String, kind: Kind = ..., toErrorStatus: ErrorMapper[E] = ..., attributes: Map[String, AttributeValue] = ...)(zio: => ZIO[R, E1, A])(implicit trace: Trace): ZIO[R, E1, A]

Attributes

Source
Tracing.scala