Packages

package transformers

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class ClientServerEventLogTransformer extends TraceTransformer

    add log events(if not present) using span.kind tag value

  2. class ClockSkewTransformer extends TraceTransformer

    Fixes clock skew between parent and child spans If any child spans reports a startTime earlier then parent span's startTime, corresponding delta will be added in the subtree with child span as root

    Fixes clock skew between parent and child spans If any child spans reports a startTime earlier then parent span's startTime, corresponding delta will be added in the subtree with child span as root

    addSkewInSubtree looks into each child of given subtreeRoot, calculates delta, and recursively applies delta in its subtree

  3. class DeDuplicateSpanTransformer extends TraceTransformer

    dedup the spans with the same span id

  4. class InvalidParentTransformer extends TraceTransformer

    If there are spans with invalid parentId in the trace, mark root to be their parentId

    If there are spans with invalid parentId in the trace, mark root to be their parentId

    **Apply this transformer only if you are not confident about clients sending in parentIds properly**

  5. class InvalidRootTransformer extends TraceTransformer

    If there are multiple roots in the given trace, use the first root based on startTime to be root mark other roots as children of the selected root If there is no root, assume loopback span or first span in time order to be root

    If there are multiple roots in the given trace, use the first root based on startTime to be root mark other roots as children of the selected root If there is no root, assume loopback span or first span in time order to be root

    **Apply this transformer only if you are not confident about clients sending in roots properly**

  6. class OrphanedTraceTransformer extends TraceTransformer
  7. class PartialSpanTransformer extends TraceTransformer

    Merges partial spans and generates a single Span combining a client and corresponding server span gracefully fallback to collapse to a single span if there are multiple or missing client/server spans

  8. class SortSpanTransformer extends TraceTransformer

    Orders spans in natural ordering - root followed by other spans ordered by start time

    Orders spans in natural ordering - root followed by other spans ordered by start time

    Assumes there is only one root in give spans List corresponding validations are done in com.expedia.www.haystack.trace.reader.readers.validators.RootValidator corresponding transformation are done in InvalidRootTransformer

  9. class TraceTransformationHandler extends AnyRef

    takes a sequence of TraceTransformer and apply transform functions on the chain

    takes a sequence of TraceTransformer and apply transform functions on the chain

    transformer functions takes Seq of Spans and generates a Seq of Spans TraceTransformationHandler takes a Seq of TraceTransformer and applies chaining on them, providing response List of a transformer to the next one

  10. trait TraceTransformer extends AnyRef

Value Members

  1. object OrphanedTraceTransformerConstants

    If the root span is missing within a trace, create a pseudo root span to wrap all the spans.

    If the root span is missing within a trace, create a pseudo root span to wrap all the spans.

    ** com.expedia.www.haystack.trace.reader.readers.validators.RootValidator and com.expedia.www.haystack.trace.reader.readers.validators.ParentIdValidator must be turned off for this to take into effect. ** ** Should place first in the POST transformers sequence of the configuration, as the other transformers may depend on or use the generated root during their transformation. **

Ungrouped