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()

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. def IsSharedSpan: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBackingSpans: List[LightSpan]

    Returns the backing LightSpan objects

    Returns the backing LightSpan objects

    returns

    list of LightSpan objects or an empty list

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getClientSpan: LightSpan
  13. 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

  14. def getId: String
  15. 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

  16. def getServerSpan: LightSpan
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def isComplete: Boolean

    Returns true of the current instance has data for both server and client spans and their services are different

    Returns true of the current instance has data for both server and client spans and their services are different

    returns

    true or false

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def merge(spanOne: LightSpan, spanTwo: LightSpan): Unit

    Merges the given spans into the current instance of the SpanPair using spanType.

    Merges the given spans into the current instance of the SpanPair using spanType. Also, merge them if parent-child relationship is there between given spans to produce #getGraphEdge and #getLatency data

    spanOne

    lightSpan to be merged with the current SpanPair

    spanTwo

    lightSpan to be merged with the current SpanPair

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

Inherited from AnyRef

Inherited from Any

Ungrouped