27 Nov 2023 02:07 PM
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.
Solved! Go to Solution.
27 Nov 2023 02:32 PM
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