Class/Object

com.twitter.finagle.zipkin.core

Span

Related Docs: object Span | package core

Permalink

case class Span(traceId: TraceId, _serviceName: Option[String], _name: Option[String], annotations: Seq[ZipkinAnnotation], bAnnotations: Seq[BinaryAnnotation], endpoint: Endpoint, created: Time) extends Product with Serializable

The span itself is an immutable datastructure. Mutations are done through copying & updating span references elsewhere.

traceId

Contains the Trace id (same for whole trace), Span id (same for just one rpc call) and parent id (links to the parent span in this trace, if None this is the root span)

_serviceName

The name of the service handling the RPC

_name

The name of the RPC method

annotations

A sequence of annotations made in this span

bAnnotations

Key-Value annotations, used to attach non timestamped data

endpoint

This is the local endpoint the span was created on.

created

Optional span creation time.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Span(traceId: TraceId, _serviceName: Option[String], _name: Option[String], annotations: Seq[ZipkinAnnotation], bAnnotations: Seq[BinaryAnnotation], endpoint: Endpoint)

    Permalink
  2. new Span(traceId: TraceId, _serviceName: Option[String], _name: Option[String], annotations: Seq[ZipkinAnnotation], bAnnotations: Seq[BinaryAnnotation], endpoint: Endpoint, created: Time)

    Permalink

    traceId

    Contains the Trace id (same for whole trace), Span id (same for just one rpc call) and parent id (links to the parent span in this trace, if None this is the root span)

    _serviceName

    The name of the service handling the RPC

    _name

    The name of the RPC method

    annotations

    A sequence of annotations made in this span

    bAnnotations

    Key-Value annotations, used to attach non timestamped data

    endpoint

    This is the local endpoint the span was created on.

    created

    Optional span creation time.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val _name: Option[String]

    Permalink

    The name of the RPC method

  5. val _serviceName: Option[String]

    Permalink

    The name of the service handling the RPC

  6. val annotations: Seq[ZipkinAnnotation]

    Permalink

    A sequence of annotations made in this span

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val bAnnotations: Seq[BinaryAnnotation]

    Permalink

    Key-Value annotations, used to attach non timestamped data

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val created: Time

    Permalink

    Optional span creation time.

  11. val endpoint: Endpoint

    Permalink

    This is the local endpoint the span was created on.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def idString: String

    Permalink

    returns

    a pretty string for this span ID.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val name: String

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val serviceName: String

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toThrift: thrift.thrift.Span

    Permalink
  24. val traceId: TraceId

    Permalink

    Contains the Trace id (same for whole trace), Span id (same for just one rpc call) and parent id (links to the parent span in this trace, if None this is the root span)

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped