[SDK reference](../../index.md) / [Models](../index.md)

# Models.Canary namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [CanaryGate](CanaryGate.md) | class | 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/or`maxAbsoluteIncrease`; optional `worse` higher\|lower, `aggregation`, `windowSeconds`, `minSamples`) or `probe` (needs `probePath`; optional`probeCount`, `minSuccessRatio`, `expectStatusMin`, `expectStatusMax`). All kinds take `failureThreshold` (consecutive failing evaluations, default 2)and `severe` (one failing evaluation fails the step). |
| [CanaryGateResult](CanaryGateResult.md) | class | What a gate found at the latest evaluation. Every figure is measured, none typed in. |
| [CanaryIssue](CanaryIssue.md) | class |  |
| [CanaryPlan](CanaryPlan.md) | class | The dry run: what a release would do, with nothing written and nothing moved. |
| [CanaryPlanStep](CanaryPlanStep.md) | class |  |
| [CanaryPolicyDecision](CanaryPolicyDecision.md) | class | What the deploy policy (CI-15) said of the candidate. |
| [CanaryReasonRequest](CanaryReasonRequest.md) | class |  |
| [CanaryRelease](CanaryRelease.md) | class | A canary release. |
| [CanaryReleaseEvent](CanaryReleaseEvent.md) | class | One entry of a release's audit trail. |
| [CanaryReleaseEvent_data](CanaryReleaseEvent_data.md) | class | For `GATES`: `{step, results: [{name, outcome, reason, candidate, baseline}]}`, the figures the charts draw. |
| [CanaryReleaseState](CanaryReleaseState.md) | enum | Where a canary release is in its life. |
| [CanaryStep](CanaryStep.md) | class | One step of a canary: the candidate's share, how long it is held and whether a person approves it first. |
| [CreateCanaryReleaseRequest](CreateCanaryReleaseRequest.md) | class |  |
