Class/Object

com.ccadllc.cedi.dtrace

Span

Related Docs: object Span | package dtrace

Permalink

case class Span(spanId: SpanId, spanName: Name, startTime: Instant, failure: Option[FailureDetail], duration: FiniteDuration, notes: Vector[Note]) extends Product with Serializable

Represents a single span for a distributed trace. A span is the traced execution of an effectful program F.

spanId

- the SpanId representing this span's identity and its place in a distributed trace's hiearchy of spans.

spanName

- the human readable name of this span - it is the logical name of the effectful program whose execution this span is recording.

startTime

- the java.time.Instant representing the timestamp at which the program started execution

failure

- the FailureDetail is present and provides a means to render the detail of a program execution failure if the execution failed; otherwise is it not present.

duration

- the elapsed time of the execution of the program.

notes

- a Vector of Notes used to annotate the program's execution with metadata, which can be derived both from the program's inputs as well as its results.

Source
Span.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Span(spanId: SpanId, spanName: Name, startTime: Instant, failure: Option[FailureDetail], duration: FiniteDuration, notes: Vector[Note])

    Permalink

    spanId

    - the SpanId representing this span's identity and its place in a distributed trace's hiearchy of spans.

    spanName

    - the human readable name of this span - it is the logical name of the effectful program whose execution this span is recording.

    startTime

    - the java.time.Instant representing the timestamp at which the program started execution

    failure

    - the FailureDetail is present and provides a means to render the detail of a program execution failure if the execution failed; otherwise is it not present.

    duration

    - the elapsed time of the execution of the program.

    notes

    - a Vector of Notes used to annotate the program's execution with metadata, which can be derived both from the program's inputs as well as its results.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to any2stringadd[Span] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Span, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to ArrowAssoc[Span] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val duration: FiniteDuration

    Permalink

    - the elapsed time of the execution of the program.

  9. def ensuring(cond: (Span) ⇒ Boolean, msg: ⇒ Any): Span

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to Ensuring[Span] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (Span) ⇒ Boolean): Span

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to Ensuring[Span] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): Span

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to Ensuring[Span] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): Span

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to Ensuring[Span] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. val failure: Option[FailureDetail]

    Permalink

    - the FailureDetail is present and provides a means to render the detail of a program execution failure if the execution failed; otherwise is it not present.

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to StringFormat[Span] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. val notes: Vector[Note]

    Permalink

    - a Vector of Notes used to annotate the program's execution with metadata, which can be derived both from the program's inputs as well as its results.

  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val root: Boolean

    Permalink

    Indicates whether or not this span is the root span of the overall trace.

  24. val spanId: SpanId

    Permalink

    - the SpanId representing this span's identity and its place in a distributed trace's hiearchy of spans.

  25. val spanName: Name

    Permalink

    - the human readable name of this span - it is the logical name of the effectful program whose execution this span is recording.

  26. val startTime: Instant

    Permalink

    - the java.time.Instant representing the timestamp at which the program started execution

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    Span → AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (Span, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Span to ArrowAssoc[Span] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Span to any2stringadd[Span]

Inherited by implicit conversion StringFormat from Span to StringFormat[Span]

Inherited by implicit conversion Ensuring from Span to Ensuring[Span]

Inherited by implicit conversion ArrowAssoc from Span to ArrowAssoc[Span]

Ungrouped