Span

natchez.Span$
See theSpan companion trait
object Span

Attributes

Companion:
trait
Source:
Span.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Span.type

Members list

Concise view

Value members

Concrete methods

def dropTracing[F[_] : Applicative]: FunctionK[[_] =>> Kleisli[F, Span[F], _$16], F]

Resolves a Kleisli[F, Span[F], A] to a F[A] by ignoring all span creation.

Resolves a Kleisli[F, Span[F], A] to a F[A] by ignoring all span creation.

Attributes

Source:
Span.scala
def makeRoots[F[_] : Applicative](ep: EntryPoint[F]): Span[F]

A Span implementation which creates a new root span using the supplied EntryPoint for each requested child span.

A Span implementation which creates a new root span using the supplied EntryPoint for each requested child span.

Attributes

Source:
Span.scala
def noop[F[_] : Applicative]: Span[F]

A no-op Span implementation which ignores all child span creation.

A no-op Span implementation which ignores all child span creation.

Attributes

Source:
Span.scala
def putErrorFields[F[_] : Applicative](span: Resource[F, Span[F]]): Resource[F, Span[F]]

Ensure that Fields mixin data is added to a span when an error is raised.

Ensure that Fields mixin data is added to a span when an error is raised.

Attributes

Source:
Span.scala
def rootTracing[F[_] : Applicative](ep: EntryPoint[F]): FunctionK[[_] =>> Kleisli[F, Span[F], _$18], F]

Resolves a Kleisli[F, Span[F], A] to a F[A] by creating a new root span for each direct child span.

Resolves a Kleisli[F, Span[F], A] to a F[A] by creating a new root span for each direct child span.

Attributes

Source:
Span.scala