Class/Object

com.twitter.finagle.tracing

TraceId

Related Docs: object TraceId | package tracing

Permalink

final case class TraceId(_traceId: Option[SpanId], _parentId: Option[SpanId], spanId: SpanId, _sampled: Option[Boolean], flags: Flags) extends Product with Serializable

A trace id represents one particular trace for one request.

_traceId

The id for this request.

_parentId

The id for the request one step up the service stack.

spanId

The id for this particular request

_sampled

Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.

flags

Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TraceId
  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 TraceId(_traceId: Option[SpanId], _parentId: Option[SpanId], spanId: SpanId, _sampled: Option[Boolean], flags: Flags)

    Permalink

    _traceId

    The id for this request.

    _parentId

    The id for the request one step up the service stack.

    spanId

    The id for this particular request

    _sampled

    Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.

    flags

    Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.

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 _parentId: Option[SpanId]

    Permalink

    The id for the request one step up the service stack.

  5. val _sampled: Option[Boolean]

    Permalink

    Should we sample this request or not? True means sample, false means don't, none means we defer decision to someone further down in the stack.

  6. val _traceId: Option[SpanId]

    Permalink

    The id for this request.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    TraceId → Equals → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. val flags: Flags

    Permalink

    Flags relevant to this request.

    Flags relevant to this request. Could be things like debug mode on/off. The sampled flag could eventually be moved in here.

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    TraceId → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def parentId: SpanId

    Permalink
  20. lazy val sampled: Option[Boolean]

    Permalink
  21. val spanId: SpanId

    Permalink

    The id for this particular request

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    TraceId → AnyRef → Any
  24. def traceId: SpanId

    Permalink
  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