Enabling SLA Measurement with Armory Spinnaker
Oct 24, 2017 by Ben Mappen
One of Spinnaker’s core value propositions is the ability to perform safe & repeatable deployments. But how do you know if a deployment is truly safe?
A common approach to quantifying an application’s general health is with an SLA (service level agreement). To measure how safe a deployment is, we can look at the delta in SLA before and after a given deployment. And, over time, we’d hope to see your service’s SLA increase as we add automation and implement best practices for deployments, monitoring, and testing.
We’ve implemented a turn-key SLA measurement service directly within Armory Spinnaker in order to ensure you are constantly improving the safety of your deployments.
To calculate SLA, we look at uptime, response time, and error rates within CloudWatch. At some regular interval (default is every minute), we’ll check to see if those three metrics are within your specified thresholds, and if all three pass then you are within your SLA for that time interval. If any one of the tests fail, you are NOT within your SLA for that time interval. The overall SLA score is simply the percentage of time intervals that are within SLA divided by total intervals.
Here’s how you configure the thresholds for your SLA.
Once you configure your SLA for each application, here’s what your SLA dashboard will look like:
How to Enable the SLA Feature
SLA_ENABLED=trueto your prod.env file
- Restart Spinnaker with this command
service armory-spinnaker restart(or by redeploying Spinnaker with your Spinnaker Deploy Spinnaker pipeline)
We realize that not every application’s SLA can be effectively quantified with just uptime, response time, and error rate. You may want to look at custom metrics or perform other types of tests to truly determine if your service is available. In future versions of this service, we will allow you to define additional metrics that contribute to your SLA.
- New Spinnaker JIRA Stage
- Automate Load Testing with Armory Spinnaker and Locust
- Introducing Armory Certified Pipelines
Let us know in the form below if there are specific types of metrics that you’d like to see us add.
Recently Published Posts
Interview with Guillermo Huerta for National IT Professionals Day
To celebrate National IT Professionals Day, we’re sharing an interview I had with Armory’s Head of IT and Workplace, Guillermo Huerta. The interview is broken into seven parts. There’s a video and transcript for each section. Introductions Nikema Prophet: [00:00:00] I’m Nikema I am the Associate Community Marketing Manager at Armory and I’m talking to […]
Read more →
Interview with Daniel Ko — Google Summer of Code 2021
I’m personally excited about this year’s Google Summer of Code (GSoC) project try.spinnaker.io. Daniel Ko is the student who worked with Armory mentors and the Continuous Delivery Foundation to complete the project. After his midterm demo, I asked Daniel some questions about the project and why he chose it. Nikema Prophet: What inspired you to […]
Read more →
Amazon EKS Anywhere + Armory
Armory is excited to share we are an Amazon EKS Anywhere launch partner. Amazon EKS Anywhere is a new deployment option for Amazon EKS that enables you to easily create and operate Kubernetes clusters on-premises, including on your virtual machines and bare metal servers. Armory enables enterprises to unlock innovation by reliably deploying software at […]
Read more →