Packages

class SpanPair extends AnyRef

An instance of SpanPair can contain data from both server and client spans. SpanPair is considered "complete" if it has data fields from both server and client span of the same SpanId

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpanPair
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpanPair(spanId: String)

    spanId

    Unique identifier of a Span

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def getBackingSpans: List[WeighableSpan]

    Returns the backing WeighableSpan objects

    Returns the backing WeighableSpan objects

    returns

    list of WeighableSpan objects or an empty list

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getGraphEdge: Option[GraphEdge]

    Returns an instance of GraphEdge if the current SpanPair is complete.

    Returns an instance of GraphEdge if the current SpanPair is complete. A GraphEdge contains the client span's ServiceName, it's OperationName and the corresponding server span's ServiceName. These three data points acts as the two nodes and edge of a graph relationship

    returns

    an instance of GraphEdge or None if the current SpanPair is inComplete

  12. def getLatency: Option[MetricPoint]

    Returns an instance of MetricPoint that measures the latency of the current Span.

    Returns an instance of MetricPoint that measures the latency of the current Span. Latency of the current Span is computed as client span's duration minus it's corresponding server span's duration. MetricPoint instance returned will be of type Gauge tagged with the current (client span's) service name and operation name.

    returns

    an instance of MetricPoint or None if the current spanPair instance is incomplete

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def isComplete: Boolean

    Returns true of the current instance has data from both server and client spans of the same SpanId

    Returns true of the current instance has data from both server and client spans of the same SpanId

    returns

    true or false

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def merge(weighableSpan: WeighableSpan): Unit

    Merges the given span into the current instance of the SpanPair.

    Merges the given span into the current instance of the SpanPair. If the spanId of the given span matches the spanId of the SpanPair, then it is held by the LighSpan to produce #getGraphEdge and #getLatency data

    weighableSpan

    WeighableSpan to be merged with the current SpanPair

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val spanId: String
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    SpanPair → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped