Adjustin SLO for ConnectedMusic in CN to avoid values with no data

pull-requests/138/from
Mohammed Abadel 2023-05-09 10:42:33 +02:00
parent dfea8378a8
commit 8ab5277e25
1 changed files with 6 additions and 8 deletions

View File

@ -31,24 +31,22 @@ module TP_Vehicle_ConnectedMusic {
,entityName.contains(~"Vehicle_Successful_ResponseCode~")"
)))):splitBy()
+
builtin:service.keyRequest.errors.server.successCount:filter(
(builtin:service.keyRequest.errors.server.successCount:filter(
and(
in(
"dt.entity.service_method"
,entitySelector(
"type(service_method)
,entityName.contains(~"Vehicle_Failed_ResponseCode~")"
)))):splitBy()))
)))):splitBy():value:default(0))))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
timeframe = "-1d" #if not set (removed) it's defaulted to "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
evaluation = "AGGREGATE" #currently the only possible value
#Target and warning percentage of the SLO as double
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}