Thanks for the feedback but not sure I am any clearer on how the “Service Performance”-SLOs works.
Let’s use an example with a -2h timeframe and an app/setup that generates 200 monitoring data points (values) in two hours as follow:
- 120 values the first hour with 20 points < 10000 (with the average of all 120 values be 12000)
- 80 values the second hour with 40 points < 10000 (with the average of all 80 values be 5000)
How will the Service Performance SLO be computed?
Let’s use this formula:
((builtin:service.response.time:avg:partition(“latency”,value(“good”,lt(10000))):splitBy():count:default(0))/(builtin:service.response.time:avg:splitBy():count)*(100))
Btw: the above was auto generated when selecting the “Service Performance SLO”. My understanding is that if there is only one partition-value we don’t need to have a filter for it. If am wrong, why doesn’t Dynatrace add the filter to the autogenerated formula?
Anyway, even if we add the “good” filter, as you suggested, the main question is how does it work?
If we use method(1) - that has 120 data points per time slice - then a formula could be:
Value1: 20/120*100=16.6%
Value2: 40/80*100=50%
The SLO for the 2 hours could be: (16.6+50)/2 =33.3%
If we use a method(2) that takes into account the entire time window of 2 hours, the SLO for 2 hours could be (20+40)/200=30%.
If all time slots have a fix count (and ignoring the edge time slots) the two methods produce the same value. But as I understood the time slots can be based on time – not clear when that is used.
Another method(3) could be that it uses the average of all the response times in the time slot. Then SLO in this case will 0 (by checking if 12000 is less than 10000) for the first time slot and 1 (by checking if 5000 is less than 10000) for the second time slot and the SLO for 2 hours could be: (0+1)/2=50%
If none of the above 3 methods is accurate, using the above example can you please provide the expected SLO value (for 2 hour window) and the formula?
Lastly, if the same SLO definition (with 2 hour time window) is applied over 6 hours, is the expected value the average over the 3 time windows?
Thanks
Again, I understand that using a calculated metric will be more clear, but I would like to understand how the Service Performance SLO works and what it does.