Packages

object Span extends ValidatingThriftStructCodec3[Span] with StructBuilderFactory[Span] with Serializable

A trace is a series of spans (often RPC calls) which form a latency tree.

The root span is where trace_id = id and parent_id = Nil. The root span is usually the longest interval in the trace, starting with a SERVER_RECV annotation and ending with a SERVER_SEND.

Linear Supertypes
Serializable, Serializable, StructBuilderFactory[Span], ValidatingThriftStructCodec3[Span], ThriftStructCodec3[Span], ThriftStructCodec[Span], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. Serializable
  3. Serializable
  4. StructBuilderFactory
  5. ValidatingThriftStructCodec3
  6. ThriftStructCodec3
  7. ThriftStructCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Span

    The default read-only implementation of Span.

    The default read-only implementation of Span. You typically should not need to directly reference this class; instead, use the Span.apply method to construct new instances.

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 AnnotationsField: TField
  5. val AnnotationsFieldManifest: Manifest[Seq[Annotation]]
  6. val BinaryAnnotationsField: TField
  7. val BinaryAnnotationsFieldManifest: Manifest[Seq[BinaryAnnotation]]
  8. val DebugField: TField
  9. val DebugFieldManifest: Manifest[Boolean]
  10. val DurationField: TField
  11. val DurationFieldManifest: Manifest[Long]
  12. val IdField: TField
  13. val IdFieldManifest: Manifest[Long]
  14. val NameField: TField
  15. val NameFieldManifest: Manifest[String]
  16. val ParentIdField: TField
  17. val ParentIdFieldManifest: Manifest[Long]
  18. val Struct: TStruct
  19. val TimestampField: TField
  20. val TimestampFieldManifest: Manifest[Long]
  21. val TraceIdField: TField
  22. val TraceIdFieldManifest: Manifest[Long]
  23. val TraceIdHighField: TField
  24. val TraceIdHighFieldManifest: Manifest[Long]
  25. def apply(traceId: Long, name: String, id: Long, parentId: Option[Long] = _root_.scala.None, annotations: Seq[Annotation] = ..., binaryAnnotations: Seq[BinaryAnnotation] = ..., debug: Boolean, timestamp: Option[Long] = _root_.scala.None, duration: Option[Long] = _root_.scala.None, traceIdHigh: Option[Long] = _root_.scala.None): Span
  26. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  27. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. def decode(_iprot: TProtocol): Span
    Definition Classes
    Span → ThriftStructCodec
  29. def encode(_item: Span, _oproto: TProtocol): Unit
    Definition Classes
    Span → ThriftStructCodec
  30. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  32. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Field information in declaration order.

  33. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. lazy val metaData: ThriftStructMetaData[Span]
    Definition Classes
    Span → ThriftStructCodec
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. def newBuilder(): StructBuilder[Span]
    Definition Classes
    Span → StructBuilderFactory
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. lazy val nullableIndices: Set[Int]
  43. val structAnnotations: Map[String, String]
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. def ttypeToString(byte: Byte): String
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  47. def unapply(_item: Span): Option[(Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean, Option[Long], Option[Long], Option[Long])]
  48. lazy val unsafeEmpty: Span
  49. def validate(_item: Span): Unit

    Checks that all required fields are non-null.

  50. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  51. final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  52. def validateInstanceValue(item: Span): Set[ThriftValidationViolation]

    Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.

    Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.

    Definition Classes
    Span → ValidatingThriftStructCodec3
  53. def validateNewInstance(item: Span): Seq[Issue]

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Span → ValidatingThriftStructCodec3
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  57. def withoutPassthroughFields(original: Span): Span
  58. object Immutable extends ThriftStructCodec3[Span] with Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from StructBuilderFactory[Span]

Inherited from ValidatingThriftStructCodec3[Span]

Inherited from ThriftStructCodec3[Span]

Inherited from ThriftStructCodec[Span]

Inherited from AnyRef

Inherited from Any

Ungrouped