diff --git a/CN_PROD/slo/ICES_-_FestiveModeAPI.tf b/CN_PROD/slo/ICES_-_FestiveModeAPI.tf index 9db57d3..c9dfd3f 100644 --- a/CN_PROD/slo/ICES_-_FestiveModeAPI.tf +++ b/CN_PROD/slo/ICES_-_FestiveModeAPI.tf @@ -10,11 +10,11 @@ module ICES_-_FestiveModeAPI { #entity selector object - filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment:PROD\")" + filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi\"),tag(\"Environment:PROD\")" #metric expression of the calculation as done in data explorer ui - metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/( builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" + metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/ICES_-_FestiveModeAPI.tf b/EMEA_PROD/slo/ICES_-_FestiveModeAPI.tf index 9db57d3..c9dfd3f 100644 --- a/EMEA_PROD/slo/ICES_-_FestiveModeAPI.tf +++ b/EMEA_PROD/slo/ICES_-_FestiveModeAPI.tf @@ -10,11 +10,11 @@ module ICES_-_FestiveModeAPI { #entity selector object - filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment:PROD\")" + filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi\"),tag(\"Environment:PROD\")" #metric expression of the calculation as done in data explorer ui - metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/( builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" + metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" #if not set (removed) it's defaulted to "-1d" diff --git a/NA_PROD/slo/ICES_-_FestiveModeAPI.tf b/NA_PROD/slo/ICES_-_FestiveModeAPI.tf index 9db57d3..c9dfd3f 100644 --- a/NA_PROD/slo/ICES_-_FestiveModeAPI.tf +++ b/NA_PROD/slo/ICES_-_FestiveModeAPI.tf @@ -10,11 +10,11 @@ module ICES_-_FestiveModeAPI { #entity selector object - filter = "type(\"SERVICE\"),entityName(\"FestiveModeApi\"),tag(\"Environment:PROD\")" + filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi\"),tag(\"Environment:PROD\")" #metric expression of the calculation as done in data explorer ui - metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/( builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" + metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))" #if not set (removed) it's defaulted to "-1d"