07 Nov 2024 01:30 PM
Hello
im having an issue combining SLOs in my environment.
what I’m trying to do here is combine 2 SLOs to get 1 global SLOs.
for example :
SLO1 (external services)
SLO2 (internal services)
SLO3 = (SLO1+SLO2)/2
it works generally but when one of the SLOs has no data it doesn’t work.
for example if there is no traffic in SLO2
then SLO3 gives an NA status when it should consider it as “0” and work only with SLO1
how can I achieve that ?
07 Nov 2024 01:42 PM - edited 07 Nov 2024 01:42 PM
Use the default transformation.
https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/metric-selector#default
08 Nov 2024 09:19 AM
Does it work also in slo functions ?
for example how do I add it to this function :
((func:slo.Slo1*5)+(func:slo.Slo2*2))/7
08 Nov 2024 09:54 AM