Object

com.twitter.finagle.buoyant.linkerd

Headers

Related Doc: package linkerd

Permalink

object Headers

The finagle http stack manages a set of context headers that are read from server requests and written to client requests. The Headers module replaces these headers with linkerd-specific headers (prefixed by l5d-).

Context headers, read and written by each linkerd instance, include:

Additionally, linkerd honors the following headers on incoming requests:

In addition to the context headers, linkerd may emit the following headers on outgoing requests:

And in addition to the context headers, lay may emit the following headers on outgoing responses:

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Headers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

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. object Ctx

    Permalink
  5. object Dst

    Permalink

    Dst headers are encoded on outgoing requests so that downstream services are able to know how they are named by linkerd.

    Dst headers are encoded on outgoing requests so that downstream services are able to know how they are named by linkerd. Specifically, the l5d-dst-residual header may be useful to services that act as proxies and need to determine the next hop.

  6. object Err

    Permalink

    The l5d-err header is set on all responses in which linkerd encountered an error.

    The l5d-err header is set on all responses in which linkerd encountered an error. It can be used to distinguish linkerd responses from application responses.

  7. val Prefix: String

    Permalink
  8. object RequestId

    Permalink

    The l5d-reqid header is used to provide applications with a token that can be used in logging to correlate requests.

    The l5d-reqid header is used to provide applications with a token that can be used in logging to correlate requests. We use the _root_ span id so that this key can be used to correlate all related requests (i.e. in log messages) across services and linkerd instances.

  9. object Sample

    Permalink

    The l5d-sample lets clients determine the sample rate of a given request.

    The l5d-sample lets clients determine the sample rate of a given request. Tracers may, of course, choose to enforce additional sampling, so setting this header cannot ensure that a trace is recorded.

    l5d-sample values should be on [0.0, 1.0], however values outside of this range are rounded to the nearest valid value so that negative numbers are treated as 0 and positive numbers greater than 1 are rounded to 1. At 1.0, the trace is marked as sampled on all downstream requestes.

  10. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped