package transformers
- Alphabetic
- Public
- All
Type Members
-
class
ClientServerEventLogTransformer extends TraceTransformer
add log events(if not present) using span.kind tag value
-
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.
-
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
-
class
DeDuplicateSpanTransformer extends TraceTransformer
dedup the spans with the same span id
-
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**
-
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**
- class OrphanedTraceTransformer extends SpanTreeTransformer
-
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
-
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
- class ServerClientSpanMergeTransformer extends SpanTreeTransformer
-
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
- trait SpanTreeTransformer extends AnyRef
-
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
- trait TraceTransformer extends AnyRef
Value Members
-
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. **