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 ClockSkewFromParentTransformer extends SpanTreeTransformer

    Fixes clock skew between parent and child spans If any child spans reports a startTime earlier then parent span's startTime or an endTime later then the parent span's endTime, then the child span's startTime or endTime will be shifted.

    Fixes clock skew between parent and child spans If any child spans reports a startTime earlier then parent span's startTime or an endTime later then the parent span's endTime, then the child span's startTime or endTime will be shifted. Where the shift is set equal to the parent's startTime or endTime depending on which is off.

  3. class ClockSkewTransformer extends SpanTreeTransformer

    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

  4. class DeDuplicateSpanTransformer extends TraceTransformer

    dedup the spans with the same span id

  5. class InvalidParentTransformer extends SpanTreeTransformer

    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**

  6. class InvalidRootTransformer extends SpanTreeTransformer

    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**

  7. class OrphanedTraceTransformer extends SpanTreeTransformer
  8. class PartialSpanTransformer extends SpanTreeTransformer

    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

  9. class PostTraceTransformationHandler extends AnyRef

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

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

    transformer functions takes MutableSpanForest and generates a transformed MutableSpanForest PostTraceTransformationHandler takes a Seq of SpanTreeTransformer and applies chaining on them, providing response List of a transformer to the next one

  10. class SortSpanTransformer extends SpanTreeTransformer

    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

  11. trait SpanTreeTransformer extends AnyRef
  12. 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

  13. 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