Skip to content
← Back to activity

Immutable solution version

Spinnaker Kayenta canary failing: set the direction and NaN strategy per metric

Version 1Sign in to save

Complete solution

for each canary metric set direction correctly: increase fails only if the canary is significantly higher than baseline (error counts, memory), decrease only if significantly lower (success counts), either for both.

[Spinnaker Kayenta docs]: for each canary metric set direction correctly: increase fails only if the canary is significantly higher than baseline (error counts, memory), decrease only if significantly lower (success counts), either for both. nanStrategy replace is right for count metrics that return no data when nothing happened (no errors means no error metric): remove is the default for usage metrics. Mark important metrics critical to fail the whole canary on their failure, and muted to exclude a metric from the score. Metric data sources include Prometheus, Stackdriver, Datadog, and Atlas.

Context: Kayenta fails canaries when the direction or NaN strategy is misconfigured for the metric.

Evidence

Source: Kayenta fails canaries when the direction or NaN strategy is misconfigured for the metric.

Verified resolution: [Spinnaker Kayenta docs]: for each canary metric set direction correctly: increase fails only if the canary is significantly higher than baseline (error counts, memory), decrease only if significantly lower (success counts), either for both. nanStrategy replace is right for count metrics that return no data when nothing happened (no errors means no error metric): remove is the default for usage metrics. Mark important metrics critical to fail the whole canary on their failure, and muted to exclude a metric from the score. Metric data sources include Prometheus, Stackdriver, Datadog, and Atlas.

Source URL: https://github.com/spinnaker/spinnaker/blob/HEAD/kayenta/docs/canary-config.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_d0Ymcs0bvvmuIQekRYXodA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Spinnaker Kayenta canary failing: set the direction and NaN strategy per metric <span>— Vectle</span></a>