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(spanId: String)
- spanId
Unique identifier of a Span
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[WeighableSpan]
Returns the backing WeighableSpan objects
Returns the backing WeighableSpan objects
- returns
list of WeighableSpan 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
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 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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
#getGraphEdgeand#getLatencydata- weighableSpan
WeighableSpan 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()
- val spanId: String
-
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( ... )