Packages

trait Span[F[_]] extends AnyRef

An span that can be passed around and used to create child spans.

Source
Span.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def attachError(err: Throwable): F[Unit]

    Adds error information to this span.

  2. abstract def kernel: F[Kernel]

    The kernel for this span, which can be sent as headers to remote systems, which can then continue this trace by constructing spans that are children of this one.

  3. abstract def log(event: String): F[Unit]

    Logs a single event on this span.

  4. abstract def log(fields: (String, TraceValue)*): F[Unit]

    Logs a sequence of fields on this span.

  5. abstract def put(fields: (String, TraceValue)*): F[Unit]

    Puts a sequence of fields into this span.

  6. abstract def span(name: String, kernel: Kernel): Resource[F, Span[F]]

    Resource that yields a child span of both this span and the given kernel.

  7. abstract def span(name: String): Resource[F, Span[F]]

    Resource that yields a child span with the given name.

  8. abstract def spanId: F[Option[String]]

    A unique ID for this span, if available.

    A unique ID for this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

  9. abstract def traceId: F[Option[String]]

    A unique ID for the trace of this span, if available.

    A unique ID for the trace of this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

  10. abstract def traceUri: F[Option[URI]]

    A unique URI for this trace, if available.

    A unique URI for this trace, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def mapK[G[_]](f: ~>[F, G])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): Span[G]

    Converts this Span[F] to a Span[G] using a F ~> G.

  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped