Packages

object SpanUtils

Object with utility methods to process a Span

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

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. val CLIENT: String
  5. val CLIENT_RECV_EVENT: String
  6. val CLIENT_SEND_EVENT: String
  7. val SERVER: String
  8. val SERVER_RECV_EVENT: String
  9. val SERVER_SEND_EVENT: String
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getEventTimestamp(span: Span, eventValue: String): Option[Long]

    Finds the timestamp of the log entry in the given span that has a key named "event" with value that matches the given eventValue

    Finds the timestamp of the log entry in the given span that has a key named "event" with value that matches the given eventValue

    span

    Span from which event timestamp to be read

    eventValue

    value if the "event" field to match

    returns

    Some(Long) of the timestamp read or None

  17. def getSpanType(span: Span): SpanType

    Given a span, this method looks for ('cs', 'cr') and ('sr', 'ss') pairs in log fields with key as "event" to identify a span type.

    Given a span, this method looks for ('cs', 'cr') and ('sr', 'ss') pairs in log fields with key as "event" to identify a span type. Presence of ('cs', 'cr') events will result in SpanType.CLIENT and presence of events ('sr', 'ss') events will result in SpanType.SERVER. All other spans will be identified as OTHER

    span

    Span to identify

    returns

    Some(SpanType) of the given span or None

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def isAccumulableSpan(span: Span): Boolean

    Given a span check if it is eligible for accumulation and can be a light span

    Given a span check if it is eligible for accumulation and can be a light span

    span

    span to validate

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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
    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