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
- Alphabetic
- By Inheritance
- SpanPair
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SpanPair()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBackingSpans: List[LightSpan]
Returns the backing LightSpan objects
Returns the backing LightSpan objects
- returns
list of LightSpan objects or an empty list
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- def getId: String
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
#getGraphEdgeand#getLatencydata- spanOne
lightSpan to be merged with the current SpanPair
- spanTwo
lightSpan to be merged with the current SpanPair
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SpanPair → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )