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.
- Alphabetic
- By Inheritance
- Span
- Serializable
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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
- val AnnotationsField: TField
- val AnnotationsFieldManifest: Manifest[Seq[Annotation]]
- val BinaryAnnotationsField: TField
- val BinaryAnnotationsFieldManifest: Manifest[Seq[BinaryAnnotation]]
- val DebugField: TField
- val DebugFieldManifest: Manifest[Boolean]
- val DurationField: TField
- val DurationFieldManifest: Manifest[Long]
- val IdField: TField
- val IdFieldManifest: Manifest[Long]
- val NameField: TField
- val NameFieldManifest: Manifest[String]
- val ParentIdField: TField
- val ParentIdFieldManifest: Manifest[Long]
- val Struct: TStruct
- val TimestampField: TField
- val TimestampFieldManifest: Manifest[Long]
- val TraceIdField: TField
- val TraceIdFieldManifest: Manifest[Long]
- val TraceIdHighField: TField
- val TraceIdHighFieldManifest: Manifest[Long]
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decode(_iprot: TProtocol): Span
- Definition Classes
- Span → ThriftStructCodec
-
def
encode(_item: Span, _oproto: TProtocol): Unit
- Definition Classes
- Span → ThriftStructCodec
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
metaData: ThriftStructMetaData[Span]
- Definition Classes
- Span → ThriftStructCodec
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder(): StructBuilder[Span]
- Definition Classes
- Span → StructBuilderFactory
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val nullableIndices: Set[Int]
- val structAnnotations: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- def unapply(_item: Span): Option[(Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean, Option[Long], Option[Long], Option[Long])]
- lazy val unsafeEmpty: Span
-
def
validate(_item: Span): Unit
Checks that all required fields are non-null.
-
final
def
validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
-
final
def
validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
-
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
-
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
-
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
- @throws( ... ) @native()
- def withoutPassthroughFields(original: Span): Span
- object Immutable extends ThriftStructCodec3[Span] with Serializable