cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Complex SLO built on multiple SLO's

gilgi
DynaMight Champion
DynaMight Champion

Hi, 

We have a need to create a global SLO based on two other SLO's. However, since there is no guarentee base SLO's will always have values, there is a need to make sure the resulting SLO will ignore the missing gaps. We thought of using an expression like the following:

(((func:slo.slo_for_journeyservice_health:splitBy():avg:default(1.0,always)) * 1)+((func:slo.slo_for_journeyservice_performance:splitBy():avg:default(1.0,always)) * 1)) / 2

This is working great in the data explorer however cannot be parsed in the SLO definition. Is there anyway to overcome this without creating custom metrics?

Gil.

1 REPLY 1

gilgi
DynaMight Champion
DynaMight Champion

Just had a reply from @Julius_Loman fixing the expression to be:

((((func:slo.slo_for_journeyservice_health:splitBy():avg):default(1.0,always)) * 1)+(((func:slo.slo_for_journeyservice_performance:splitBy():avg):default(1.0,always)) * 1)) / 2

Featured Posts