From 8d6c69aee09e7317829d1cb6f879d54a427ac6c3 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Fri, 13 Jan 2023 13:53:30 +0100 Subject: [PATCH] OPMAAS-3201 - Updating SLO. --- ...LL_Genie__-_Reliability_of_key_requests.tf | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/CN_PROD/slo/Wirkkette__TMALL_Genie__-_Reliability_of_key_requests.tf b/CN_PROD/slo/Wirkkette__TMALL_Genie__-_Reliability_of_key_requests.tf index 0657295..b110f70 100644 --- a/CN_PROD/slo/Wirkkette__TMALL_Genie__-_Reliability_of_key_requests.tf +++ b/CN_PROD/slo/Wirkkette__TMALL_Genie__-_Reliability_of_key_requests.tf @@ -10,12 +10,30 @@ module Wirkkette__TMALL_Genie__-_Reliability_of_key_requests { #entity selector object - filter = "entityId(\"SERVICE-4E2EEA9F71D5EAF7\",\"SERVICE-7505CF0CA333A3D9\")" + filter = "" #metric expression of the calculation as done in data explorer ui - metric_expression = "(100)*(builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())" - + metric_expression = <<-EOT + (100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method), + fromRelationship.isServiceMethodOfService( + type(~"SERVICE~"),entityId( + ~"cn-tmall-genie-composite-service - PROD", + ~"hvd (/hvd) - hvd - prod" + ) + ) + ,entityName.in( + ~"/api/v1/presentation/tmall/audioplayer~", + ~"/api/v1/presentation/tmall/checkstatus~", + ~"/api/v1/presentation/tmall/gettmallfeaturetogglestatus~", + ~"/api/v1/presentation/tmall/loginurl?brand=bmw~", + ~"/api/v1/presentation/tmall/playback~", + ~"/api/v1/presentation/tmall/playload?playloadid={param}~", + ~"/hvd/keywords~", + ~"/hvd/speech~", + ~"/hvd/VersionInfo~" + )"))))):splitBy()) + EOT #if not set (removed) it's defaulted to "-1d" timeframe = "-1d"