23 Dec 2024 03:10 PM
Good afternoon, community,
I would like to create an SLO based on response time with a graded scoring system rather than a binary approach. Specifically, the logic should function as follows:
Is it possible to implement this logic in a SLO?
Thank you in advance for your guidance.
Best regards,
23 Dec 2024 03:54 PM
Similar way of thinking but not exactly this.
Assign different weight within the same service SLO would be the goal:
For example:
Within the same service you define one performance SLO, and within that you assign different weights.
X% of the request below 500 milliseconds (ms). --> w =1 (success)
X% of the request between 500 and 700 milliseconds (ms). --> w =0.8 (mild success)
X% of the request above 700 milliseconds (ms). --> w =0 (not successful)
24 Dec 2024 08:18 AM
Try creating 3 slo -
Each SLO will create a metric func:sloxxxx
create a new SLO using this 3 metrics (1*slo-under500 + 0.8*slounder700 + 0*sloabove700)/3
25 Dec 2024 04:45 AM
Hello @y_buccellato
As per Dynatrace docs, and provided guidance by @PacoPorro
You can proceed with the suggested 😉 solution 😊.
BR,
Peter