trait EntryPoint[F[_]] extends AnyRef
An entry point, for creating root spans or continuing traces that were started on another system.
- Source
- EntryPoint.scala
- Alphabetic
- By Inheritance
- EntryPoint
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def continue(name: String, kernel: Kernel): Resource[F, Span[F]]
Resource that creates a new span as the child of the span specified by the given kernel, which typically arrives via request headers.
Resource that creates a new span as the child of the span specified by the given kernel, which typically arrives via request headers. By this mechanism we can continue a trace that began in another system. If the required headers are not present in
kernel
an exception will be raised inF
. - abstract def continueOrElseRoot(name: String, kernel: Kernel): Resource[F, Span[F]]
Resource that attempts to creates a new span as with
continue
, but falls back to a new root span as withroot
if the kernel does not contain the required headers.Resource that attempts to creates a new span as with
continue
, but falls back to a new root span as withroot
if the kernel does not contain the required headers. In other words, we continue the existing span if we can, otherwise we start a new one. - abstract def root(name: String): Resource[F, Span[F]]
Resource that creates a new root span in a new trace.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()