NoOp

zio.blocks.telemetry.Span.NoOp
object NoOp extends Span

A no-op span that performs zero allocations. All methods are no-ops.

Attributes

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

Members list

Value members

Concrete methods

def addEvent(name: String): Unit

Attributes

Source
Span.scala
def addEvent(name: String, attributes: Attributes): Unit

Attributes

Source
Span.scala
def addEvent(name: String, timestamp: Long, attributes: Attributes): Unit

Attributes

Source
Span.scala
def end(): Unit

Attributes

Source
Span.scala
def end(endTimeNanos: Long): Unit

Attributes

Source
Span.scala
def setAttribute[A](key: AttributeKey[A], value: A): Unit

Attributes

Source
Span.scala
def setAttribute(key: String, value: String): Unit

Attributes

Source
Span.scala
def setAttribute(key: String, value: Long): Unit

Attributes

Source
Span.scala
def setAttribute(key: String, value: Double): Unit

Attributes

Source
Span.scala
def setAttribute(key: String, value: Boolean): Unit

Attributes

Source
Span.scala
def setStatus(status: SpanStatus): Unit

Attributes

Source
Span.scala

Attributes

Source
Span.scala

Concrete fields

val isRecording: Boolean

Attributes

Source
Span.scala
val kind: SpanKind

Attributes

Source
Span.scala
val name: String

Attributes

Source
Span.scala

Attributes

Source
Span.scala