NoopEntrypoint

natchez.noop.NoopEntrypoint
final case class NoopEntrypoint[F[_]]()(implicit evidence$1: Applicative[F]) extends EntryPoint[F]

Attributes

Source
NoopEntrypoint.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EntryPoint[F]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def continue(name: String, kernel: Kernel, options: Options): Resource[F, Span[F]]

Attributes

Definition Classes
Source
NoopEntrypoint.scala
override def continueOrElseRoot(name: String, kernel: Kernel, options: Options): Resource[F, Span[F]]

Attributes

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

Attributes

Definition Classes
Source
NoopEntrypoint.scala

Inherited methods

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

Attributes

Inherited from:
EntryPoint
Source
EntryPoint.scala

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.

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

Inherited from:
EntryPoint
Source
EntryPoint.scala
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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final 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

Inherited from:
EntryPoint
Source
EntryPoint.scala