SpanId

zio.blocks.telemetry.SpanId
See theSpanId companion class
object SpanId

Attributes

Companion
class
Source
SpanId.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SpanId.type

Members list

Value members

Concrete methods

def apply(value: Long): SpanId

Attributes

Source
SpanId.scala
def fromHex(s: String): Option[SpanId]

Parses a 16-character hexadecimal string into a SpanId.

Parses a 16-character hexadecimal string into a SpanId.

Returns None if the string is not exactly 16 characters or contains non-hex characters.

Attributes

Source
SpanId.scala
def random: SpanId

Generates a random valid span ID.

Generates a random valid span ID.

If the generated value is zero, regenerates until a valid one is obtained.

Attributes

Source
SpanId.scala

Concrete fields

The invalid/zero span ID (represents "no span").

The invalid/zero span ID (represents "no span").

Attributes

Source
SpanId.scala