# How HelloFresh Uses SLOs for Progressive Delivery

DevFeed: [How HelloFresh Uses SLOs for Progressive Delivery](<https://devfeed.tech/articles/how-hellofresh-uses-slos-for-progressive-delivery-56826.md>)

Original publisher: [Read original article](<https://engineering.hellofresh.com/how-hellofresh-uses-slos-for-progressive-delivery-5d4b73948222?source=rss----ac51da0a699a---4>)

Author: Victor Hugo Brito Fernandes

Published: 2024-05-29T07:25:52Z

Content type: article

Language: en

Sources: [HelloTech](<https://devfeed.tech/sources/hellotech.md>)

Topics: [progressive delivery](<https://devfeed.tech/topics/progressive-delivery.md>), [Argo Rollouts](<https://devfeed.tech/topics/argo-rollouts.md>), [canary release](<https://devfeed.tech/topics/canary-release.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [Argo CD](<https://devfeed.tech/topics/argo-cd.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>)

Tags: [argo-cd](<https://devfeed.tech/tags/argo-cd.md>), [argo-rollouts](<https://devfeed.tech/tags/argo-rollouts.md>), [gitops](<https://devfeed.tech/tags/gitops.md>), [hellofresh](<https://devfeed.tech/tags/hellofresh.md>), [progressive-delivery](<https://devfeed.tech/tags/progressive-delivery.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [slo](<https://devfeed.tech/tags/slo.md>), [slos](<https://devfeed.tech/tags/slos.md>), [sre](<https://devfeed.tech/tags/sre.md>)

## AI overview

HelloFresh integrated SLO burn rates with Argo Rollouts to assess whether a canary should be promoted. Its Prometheus analysis compares canary burn against the stable version, requires the canary burn rate to be at most the stable rate and below 1 when stable is not burning, and checks that the SLO metric exists. Sloth generates recording rules that combine latency and error rate into one burn-rate measure; an internal Helm plugin adds Rollouts analysis templates and a canary SLO when canary-labeled pods exist. The design keeps canary and stable measurements separate for clearer debugging and evaluation, including early in rollout. Its deliberate constraint is that a canary performing slightly worse than stable cannot be deployed. The excerpt describes this as an early stage of HelloFresh's progressive delivery adoption, with asynchronous applications and infrastructure rollouts still posing challenges.

## Source excerpt

Ever wondered how to connect all those hyped-up tools in your tech ecosystem? Platforms evolve similarly everywhere by providing many tools that should make our internal customers happy, or as they say in Team Topologies: "platform team enables a stream-aligned team to deliver work with substantial autonomy by providing internal services to reduce their cognitive load". You have logs, metric data, SLOs, cool progressive delivery tools, Kubernetes clusters, service mesh, great documentation in an internal developer portal, and all that jazz... But how do you bring it all together? We experienced this issue first-hand when we sought to integrate our Progressive Delivery tooling with our SLO offering, making it more than just a conceptual join but a fully integrated solution, in which the whole is bigger than the sum of its parts. The beginning of a new product Our journey to Progressive Delivery started when we first noticed a higher change failure rate in production. After a lot of research, we ended up choosing Argo Rollouts as the progressive delivery controller. The idea was simple, yet powerful: you add whatever you want to measure, -- currently in the form of Prometheus queries -- and it will be released with a default canary setup evaluating that metric. Initially, we went for a bare Rollouts setup, changing our Deployment resource to Rollout type and using metrics from Prometheus for canary analyses (not familiar with the rollouts concepts? here for a quick overview of their architecture). This further evolved into also adopting Argo CD for a more practical UI, and GitOps practices as an overall pipeline improvement. On the Analysis side, we started with a fairly naive approach, querying especially for latency and error rates. While it is a starting point, that is lacking because it is hard to scale to every service -- HTTP error codes can be interpreted differently, latency targets vary among different applications and more importantly, there is no comparison poin