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
| Name | Type | JSON name | Description |
|---|---|---|---|
Aggregation | string? | aggregation | The aggregation property |
AlertRule | string? | alertRule | The alertRule property |
Comparison | string? | comparison | The comparison property |
ExpectStatusMax | int? | expectStatusMax | The expectStatusMax property |
ExpectStatusMin | int? | expectStatusMin | The expectStatusMin property |
FailureThreshold | int? | failureThreshold | The failureThreshold property |
Kind | string? | kind | The kind property |
MaxAbsoluteIncrease | double? | maxAbsoluteIncrease | The maxAbsoluteIncrease property |
MaxRelativeIncreasePercent | double? | maxRelativeIncreasePercent | The maxRelativeIncreasePercent property |
Metric | string? | metric | The metric property |
MinSamples | int? | minSamples | The minSamples property |
MinSuccessRatio | double? | minSuccessRatio | The minSuccessRatio property |
Name | string? | name | The name property |
ProbeCount | int? | probeCount | The probeCount property |
ProbePath | string? | probePath | The probePath property |
Severe | bool? | severe | The severe property |
Threshold | double? | threshold | The threshold property |
WindowSeconds | int? | windowSeconds | The windowSeconds property |
Worse | string? | worse | The worse property |