NoopTrace

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

Attributes

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

Members list

Value members

Concrete methods

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

Adds error information to the current span.

Adds error information to the current span.

Attributes

Definition Classes
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, options: Options)(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 spanId(implicit A: Applicative[F]): F[Option[String]]

A unique ID for this span, if available.

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

Definition Classes
Source
NoopTrace.scala
override def spanR(name: String, options: Options): 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
override def traceId: F[Option[String]]

A unique ID for this trace, if available.

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

Definition Classes
Source
NoopTrace.scala
override def traceUri: F[Option[URI]]

A unique URI for this trace, if available.

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

Definition Classes
Source
NoopTrace.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Same as span, expressed as a cats.arrow.FunctionK.

Same as span, expressed as a cats.arrow.FunctionK.

Attributes

Inherited from:
Trace
Source
Trace.scala