Every parameter you would like to combine into 1 SLO will affect on
- debug time
- decision about severity
- time to react
- and indeed you will face with cross-team knowledge transfer overhead
Think about what is critical in your service/app
Maybe generic service SLO is not applicable and need to focus on 3-5 main API endpoints wich are historically making 80% of troubles (paret rule)
From My Experience working with SLOs i would reccomend this approach if you are looking at some kind of representation of a total score, with also additional global scores
- Keep your main core SLOs around , Availability ,Success rate ,Response time
- You dont have to make a Global SLO for the grouped metrics you can create a chart and in the advanced mode use the SLO metrics created and divide with a total count of SLO you are addint to your score:
(SLO1 + SLO2 … SLOx) / x
I built a small example here:
Code for the tile is this: ((func:slo.carts_service)+(func:slo.carts_availability))/2
@Slawa we already have set specific SLOs to services but we wanted to have this new approach called score so it would be easier to know the health of a service by a single metric
Adding my own two cents to the discussion between @SOBE and @LukeHearth :
The metric tile is a great solution. That being said, whether you should go for that or for a global/metric expression based SLO is a question of requirement. Remember that SLOs provide not just the end score but also alerts and means to evaluate your eror budget. This goes deeper into SRE methodologies so if you are using your total service score in order to make decisions about future developments/bug fixes, etc - perhaps SLO would be the better solution.
In any case - just as you create the metric tile with a complex expression, you could do the same to create an slo which is based on the same metric expression.
Both of our solutions here are accptable and meet the needs of this question. Making this into a SLO has its own advantages such as enabling burn rate alerting so i agree with your point above. I believe your solution above is a great enhancment to my solution after users get comfortable and are happy with the advanced data explorer metric maths that i posted above.
@gilgi ,
I completely agree, that’s why I proposed the article and why I configured it this way on my side.
Creating SLOs and processing alerts on them allows you to better process strong signals as well as to be less overwhelmed by all independent problems
Usually, we’ll merge the threads into one, in case of duplicates - the comments and the main question from the second thread are then transferred into comments to the first one, so we won’t miss any content posted in both threads. If we catch the duplicate before anything is posted, we’re just deleting it.
As for the process - you can either ping anyone from the Community team in the message, or mark the post as spam/report it from the dropdown menu.