NoopTrace

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

Attributes

Source:
NoopTrace.scala
Graph
Supertypes
trait Product
trait Equals
trait Trace[F]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def attachError(err: Throwable): F[Unit]

Adds error information to the current span.

Adds error information to the current span.

Attributes

Source:
NoopTrace.scala
override def kernel: F[Kernel]

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

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

Attributes

Definition Classes
Source:
NoopTrace.scala
override def log(fields: (String, TraceValue)*): F[Unit]

Logs a sequence of fields on the current span.

Logs a sequence of fields on the current span.

Attributes

Definition Classes
Source:
NoopTrace.scala
override def log(event: String): F[Unit]

Logs a single event on the current span.

Logs a single event on the current span.

Attributes

Definition Classes
Source:
NoopTrace.scala
override def put(fields: (String, TraceValue)*): F[Unit]

Puts a sequence of fields into the current span.

Puts a sequence of fields into the current span.

Attributes

Definition Classes
Source:
NoopTrace.scala
override def span[A](name: String)(k: F[A]): F[A]

Create a new span, and within it run the continuation k.

Create a new span, and within it run the continuation k.

Attributes

Definition Classes
Source:
NoopTrace.scala
override def span[A](name: String, kernel: Kernel)(k: F[A]): F[A]

Create a new span and add current span and kernel to parents of new span

Create a new span and add current span and kernel to parents of new span

Attributes

Definition Classes
Source:
NoopTrace.scala
override def spanR(name: String, kernel: Option[Kernel]): Resource[F, FunctionK[F, F]]

Creates a new span as a resource.

Creates a new span as a resource.

Attributes

Definition Classes
Source:
NoopTrace.scala

A unique ID 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 ID 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

Source:
NoopTrace.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

Source:
NoopTrace.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product