SDK reference / Models / Canary

CanaryGate

Kind: class

Namespace: Egulu.Sdk.Models.Canary

One gate. kind is alert (needs alertRule: must not be firing), threshold (needs metric, optional aggregation avg|p95|max|min|sum|rate,comparison gt|lt, threshold, windowSeconds, minSamples), comparison (needs metric and maxRelativeIncreasePercent and/ormaxAbsoluteIncrease; optional worse higher|lower, aggregation, windowSeconds, minSamples) or probe (needs probePath; optionalprobeCount, minSuccessRatio, expectStatusMin, expectStatusMax). All kinds take failureThreshold (consecutive failing evaluations, default 2)and severe (one failing evaluation fails the step).

Properties

NameTypeJSON nameDescription
Aggregationstring?aggregationThe aggregation property
AlertRulestring?alertRuleThe alertRule property
Comparisonstring?comparisonThe comparison property
ExpectStatusMaxint?expectStatusMaxThe expectStatusMax property
ExpectStatusMinint?expectStatusMinThe expectStatusMin property
FailureThresholdint?failureThresholdThe failureThreshold property
Kindstring?kindThe kind property
MaxAbsoluteIncreasedouble?maxAbsoluteIncreaseThe maxAbsoluteIncrease property
MaxRelativeIncreasePercentdouble?maxRelativeIncreasePercentThe maxRelativeIncreasePercent property
Metricstring?metricThe metric property
MinSamplesint?minSamplesThe minSamples property
MinSuccessRatiodouble?minSuccessRatioThe minSuccessRatio property
Namestring?nameThe name property
ProbeCountint?probeCountThe probeCount property
ProbePathstring?probePathThe probePath property
Severebool?severeThe severe property
Thresholddouble?thresholdThe threshold property
WindowSecondsint?windowSecondsThe windowSeconds property
Worsestring?worseThe worse property