Package

com.beachape

zipkin

Permalink

package zipkin

Visibility
  1. Public
  2. All

Type Members

  1. trait ReqHeaderToSpanImplicit extends AnyRef

    Permalink
  2. class ZipkinHeaderFilter extends Filter

    Permalink

    A Global filter that should be inserted at the beginning of the filter list for monitoring purposes.

    A Global filter that should be inserted at the beginning of the filter list for monitoring purposes.

    Most of the work is delegated, but on a high-level, this is a Filter that intercepts RequestHeaders and:

    1. Checks to see if there are Zipkin-related Http headers in the request
      • If there are headers that represent a parent Span, creates a new child Span
      • If there aren't headers that represent a parent Span, creates a new Span 2. Adds a ServerReceived annotation to the Span 3. Adds Zipkin header key-value pairs to the RequestHeader's header so that the they are available inside the app for further processing by in controllers or further filters 4. Upon completion of the request, adds a ServerSent annotation to the Span and sends it to the Zipkin Collector

Value Members

  1. object Implicits extends ReqHeaderToSpanImplicit

    Permalink
  2. object ZipkinHeaderFilter

    Permalink

Ungrouped