LightstepEntryPoint

natchez.lightstep.LightstepEntryPoint
final class LightstepEntryPoint[F[_]](tracer: Tracer)(implicit evidence$1: Sync[F]) extends EntryPoint[F]

Attributes

Source:
LightstepEntryPoint.scala
Graph
Supertypes
trait EntryPoint[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override 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. 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 in F.

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 in F.

Attributes

Definition Classes
Source:
LightstepEntryPoint.scala
override 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 with root 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.

Resource that attempts to creates a new span as with continue, but falls back to a new root span as with root 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.

Attributes

Definition Classes
Source:
LightstepEntryPoint.scala
override def root(name: String): Resource[F, Span[F]]

Resource that creates a new root span in a new trace.

Resource that creates a new root span in a new trace.

Attributes

Definition Classes
Source:
LightstepEntryPoint.scala

Inherited methods

def mapK[G[_]](f: FunctionK[F, G])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): EntryPoint[G]

Converts this EntryPoint[F] to an EntryPoint[G] using an F ~> G.

Converts this EntryPoint[F] to an EntryPoint[G] using an F ~> G.

Attributes

Inherited from:
EntryPoint
Source:
EntryPoint.scala