Default

natchez.Span$.Default
abstract class Default[F[_]] extends Span[F]

Attributes

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

Members list

Concise view

Value members

Abstract methods

def makeSpan(name: String, options: Options): Resource[F, Span[F]]

Like span but always creates a child span -- i.e., options.spanCreationPolicy is ignored.

Like span but always creates a child span -- i.e., options.spanCreationPolicy is ignored.

Attributes

Source:
Span.scala

Concrete methods

final override def span(name: String, options: Options): Resource[F, Span[F]]

Resource that yields a child span of this span.

Resource that yields a child span of this span.

Attributes

Definition Classes
Source:
Span.scala

Inherited methods

def attachError(err: Throwable, fields: (String, TraceValue)*): F[Unit]

Adds error information to this span.

Adds error information to this span.

Attributes

Inherited from:
Span
Source:
Span.scala
def kernel: F[Kernel]

The kernel for this span, which can be sent as headers to remote systems, which can then continue this trace by constructing spans that are children of this one.

The kernel for this span, which can be sent as headers to remote systems, which can then continue this trace by constructing spans that are children of this one.

Attributes

Inherited from:
Span
Source:
Span.scala
def log(event: String): F[Unit]

Logs a single event on this span.

Logs a single event on this span.

Attributes

Inherited from:
Span
Source:
Span.scala
def log(fields: (String, TraceValue)*): F[Unit]

Logs a sequence of fields on this span.

Logs a sequence of fields on this span.

Attributes

Inherited from:
Span
Source:
Span.scala
def mapK[G[_]](f: FunctionK[F, G])(implicit F: MonadCancel[F, _], G: MonadCancel[G, _]): Span[G]

Converts this Span[F] to a Span[G] using a F ~> G.

Converts this Span[F] to a Span[G] using a F ~> G.

Attributes

Inherited from:
Span
Source:
Span.scala
def put(fields: (String, TraceValue)*): F[Unit]

Puts a sequence of fields into this span.

Puts a sequence of fields into this span.

Attributes

Inherited from:
Span
Source:
Span.scala

A unique ID for this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

A unique ID for this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

Attributes

Inherited from:
Span
Source:
Span.scala

A unique ID for the trace of this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

A unique ID for the trace of this span, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

Attributes

Inherited from:
Span
Source:
Span.scala

A unique URI for this trace, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

A unique URI for this trace, if available. This can be useful to include in error messages for example, so you can quickly find the associated trace.

Attributes

Inherited from:
Span
Source:
Span.scala

Abstract fields