package trend
Type Members
-
abstract
class
AverageBoundCheckCalculator extends CheckCalculator with WindowParams
Base for all
average bound
trend checks -
case class
AverageBoundFullCheckCalculator(checkId: String, baseMetric: String, compareThreshold: Double, rule: TrendCheckRule, windowSize: String, windowOffset: Option[String]) extends AverageBoundCheckCalculator with Product with Serializable
Average bound FULL
check calculator: verifies if metric value differs from its historical average value by less than a given thresholdAverage bound FULL
check calculator: verifies if metric value differs from its historical average value by less than a given threshold- checkId
Check ID
- baseMetric
Base metric ID
- compareThreshold
Difference threshold
- rule
Rule to build time window (either record or duration)
- windowSize
Size of the window to pull historical results
- windowOffset
Offset current date/record
-
case class
AverageBoundLowerCheckCalculator(checkId: String, baseMetric: String, compareThreshold: Double, rule: TrendCheckRule, windowSize: String, windowOffset: Option[String]) extends AverageBoundCheckCalculator with Product with Serializable
Average bound LOWER
check calculator: verifies if metric value is greater than (or equals to) its historical average value factored down by a given threshold.Average bound LOWER
check calculator: verifies if metric value is greater than (or equals to) its historical average value factored down by a given threshold.- checkId
Check ID
- baseMetric
Base metric ID
- compareThreshold
Lower threshold
- rule
Rule to build time window (either record or duration)
- windowSize
Size of the window to pull historical results
- windowOffset
Offset current date/record
-
case class
AverageBoundRangeCheckCalculator(checkId: String, baseMetric: String, compareThresholdLower: Double, compareThresholdUpper: Double, rule: TrendCheckRule, windowSize: String, windowOffset: Option[String]) extends AverageBoundCheckCalculator with Product with Serializable
Average bound RANGE
check calculator: verifies if metric value is greater than (or equals to) its historical average value factored down by a given lower threshold and less than (or equals to) the one factored up by upper threshold.Average bound RANGE
check calculator: verifies if metric value is greater than (or equals to) its historical average value factored down by a given lower threshold and less than (or equals to) the one factored up by upper threshold.- checkId
Check ID
- baseMetric
Base metric ID
- compareThresholdLower
Lower threshold
- compareThresholdUpper
Upper threshold
- rule
Rule to build time window (either record or duration)
- windowSize
Size of the window to pull historical results
- windowOffset
Offset current date/record
-
case class
AverageBoundUpperCheckCalculator(checkId: String, baseMetric: String, compareThreshold: Double, rule: TrendCheckRule, windowSize: String, windowOffset: Option[String]) extends AverageBoundCheckCalculator with Product with Serializable
Average bound UPPER
check calculator: verifies if metric value is less than (or equals to) its historical average value factored up by a given threshold.Average bound UPPER
check calculator: verifies if metric value is less than (or equals to) its historical average value factored up by a given threshold.- checkId
Check ID
- baseMetric
Base metric ID
- compareThreshold
Upper threshold
- rule
Rule to build time window (either record or duration)
- windowSize
Size of the window to pull historical results
- windowOffset
Offset current date/record
-
case class
TopNRankCheckCalculator(checkId: String, baseMetric: String, targetNumber: Int, compareThreshold: Double) extends CheckCalculator with WindowParams with Product with Serializable
Top N Rank
check calculator: compares top target number of records for referenced TOP_N metric result and its previous result and verifies if Jacquard distance between these sets of values is less than a given thresholdTop N Rank
check calculator: compares top target number of records for referenced TOP_N metric result and its previous result and verifies if Jacquard distance between these sets of values is less than a given threshold- checkId
Check ID
- baseMetric
Base metric ID
- compareThreshold
Jacquard distance threshold
-
trait
WindowParams extends AnyRef
Trait with time window definitions for trend metrics