SpanStatus

zio.blocks.telemetry.SpanStatus
See theSpanStatus companion trait
object SpanStatus

Attributes

Companion
trait
Source
SpanStatus.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
SpanStatus.type

Members list

Type members

Classlikes

final case class Error(description: String) extends SpanStatus

Error status - the span ended due to an error.

Error status - the span ended due to an error.

Value parameters

description

human-readable error message describing what went wrong

Attributes

Source
SpanStatus.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait SpanStatus
class Object
trait Matchable
class Any
Show all
case object Ok extends SpanStatus

Ok status - the span completed successfully.

Ok status - the span completed successfully.

The operation associated with the span completed without unhandled errors.

Attributes

Source
SpanStatus.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SpanStatus
class Object
trait Matchable
class Any
Show all
Self type
Ok.type
case object Unset extends SpanStatus

Unset status - the default status, meaning the span status was not set.

Unset status - the default status, meaning the span status was not set.

The span status can be updated by the instrumentation.

Attributes

Source
SpanStatus.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SpanStatus
class Object
trait Matchable
class Any
Show all
Self type
Unset.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala