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

Type members

Classlikes

abstract class Default[F[_]] extends Span[F]

Attributes

Source:
Span.scala
Graph
Supertypes
trait Span[F]
class Object
trait Matchable
class Any
object Options

Attributes

Companion:
trait
Source:
Span.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Options.type
sealed trait Options

Options for creating a new span.

Options for creating a new span.

Attributes

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

Value members

Concrete methods

def dropTracing[F[_] : Applicative]: FunctionK[[_] =>> Kleisli[F, Span[F], _$17], 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], _$19], 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