package validators
Type Members
-
class
ParentIdValidator extends TraceValidator
validates if spans in the trace has a valid parentIds assumes that traceId is a non-empty string and there is a single root, apply TraceIdValidator and RootValidator to make sure
-
class
RootValidator extends TraceValidator
validates if the trace has a single root or not assumes that traceId is a non-empty string, apply TraceIdValidator to make sure
-
class
TraceIdValidator extends TraceValidator
validates if the traceId is non empty and consistent for all the spans
-
class
TraceValidationHandler extends AnyRef
takes a sequence of TraceValidator and apply validations on the trace will either return Success or Failure with the first failed validation as exception
- trait TraceValidator extends AnyRef