From 05cfd870f61a58156a82dd3cba2c0486c7816d89 Mon Sep 17 00:00:00 2001 From: Mohammed Abadel Date: Thu, 29 Sep 2022 18:06:41 +0200 Subject: [PATCH] Adjusting official Teleservices SLOs in all hubs to include Kai-services --- ...eleservices_Reliability_of_key_requests.tf | 64 +++++++++---------- ...eleservices_Reliability_of_key_requests.tf | 32 +++++++++- ...eleservices_Reliability_of_key_requests.tf | 31 ++++++++- 3 files changed, 90 insertions(+), 37 deletions(-) diff --git a/CN_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf b/CN_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf index 55e8ca0..5cc7bb0 100644 --- a/CN_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf +++ b/CN_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf @@ -12,40 +12,36 @@ module Wirkkette_Teleservices_Reliability_of_key_requests { #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT -(((26)*((100)-(builtin:service.errors.total.rate:filter(and(in("dt.entity.service",entitySelector("type(service), - entityName.in( - ~"ifs-001 (Kinesis) CCM - teleservices - prod~", - ~"ifs-001 (Kinesis) TyreWsIncoming - IN - teleservices - prod~", - ~"ifs-001 (Kinesis) TyreDiIncoming - IN - teleservices - prod~", - ~"ifs-003 (JOYNR) triggerPdmContainerUpdate/notifyPdmContainerStatus - IN/OUT - teleservices - prod~", - ~"ifs-003 (JOYNR) triggerWhitelistUpdate/notifyWhitelistStatus - IN/OUT - wlupdater - prod~", - ~"ifs-003 (JOYNR) triggerStandardOdfUpdate/notifyOdfStatus - IN/OUT - wlupdater - prod~", - ~"ifs-003 (JOYNR) start/stop/notifyTemporaryOdfStatus - INT/OUT - wlupdater - prod~", - ~"ifs-007 (JOYNR) requestPdmResult/notifyPdmResult - IN/OUT - teleservices - prod~", - ~"ifs-002 (JOYNR) request/notifyKeyData - IN/OUT - teleservices - prod~", - ~"ifs-002 (JOYNR) notifyRSUStatus - IN - teleservices - prod~", - ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) notifyMaintenanceStatus - IN - prod~", - ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT - prod~", - ~"ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT - teleservices - prod~", - ~"ifs-007 (JOYNR) requestDiagResult/notifyDiagResult - IN/OUT - teleservices - prod~", - ~"ifs-005 (SQS) TscsCallTopic - IN - teleservices - prod~", - ~"ifs-006 (SQS) TsddCallTopic - IN - teleservices - prod~", - ~"ifs-010 (SQS) RtcadCallTopic - IN - teleservices - prod~", - ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", - ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", - ~"ifs-003 (MQS) MguItsnIn/Out (ClassificationRequest/Response) - IN/OUT - teleservices - prod~", - ~"ifs-003 (MQS) MguItsnIn/Out (DiagnosisRequest/Response) - IN/OUT - teleservices - prod~", - ~"ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT - teleservices - prod~", - ~"ifs-001 (SQS) BCallIn/Out - IN/OUT - teleservices - prod~", - ~"VDLM_ts-asc - ifs-001 (SQS) AscIn/Out - IN/OUT - prod~", - ~"InternalApiResourceV2 - teleservices - prod~", - ~"VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT - prod~", - )")))):splitBy()))) - + - ((1)*((100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(in("dt.entity.service_method",entitySelector("type(service_method), - entityName.equals( - ~"https://ckf-cn.bmwgroup.net/interpreter/rest/v01/interpret_01~" - ) ")))):splitBy():auto():default(100)))))/(27) +(100)-(builtin:service.errors.total.rate:filter(and(in("dt.entity.service",entitySelector("type(service), + entityName.in( + ~"ifs-001 (Kinesis) CCM - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreWsIncoming - IN - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreDiIncoming - IN - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerPdmContainerUpdate/notifyPdmContainerStatus - IN/OUT - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerWhitelistUpdate/notifyWhitelistStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) triggerStandardOdfUpdate/notifyOdfStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) start/stop/notifyTemporaryOdfStatus - INT/OUT - wlupdater - prod~", + ~"ifs-007 (JOYNR) requestPdmResult/notifyPdmResult - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) request/notifyKeyData - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) notifyRSUStatus - IN - teleservices - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) notifyMaintenanceStatus - IN - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT - prod~", + ~"ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT - teleservices - prod~", + ~"ifs-007 (JOYNR) requestDiagResult/notifyDiagResult - IN/OUT - teleservices - prod~", + ~"ifs-005 (SQS) TscsCallTopic - IN - teleservices - prod~", + ~"ifs-006 (SQS) TsddCallTopic - IN - teleservices - prod~", + ~"ifs-010 (SQS) RtcadCallTopic - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (ClassificationRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (DiagnosisRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT - teleservices - prod~", + ~"ifs-001 (SQS) BCallIn/Out - IN/OUT - teleservices - prod~", + ~"VDLM_ts-asc - ifs-001 (SQS) AscIn/Out - IN/OUT - prod~", + ~"InternalApiResourceV2 - teleservices - prod~", + ~"VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT - prod~", + ~"ckf-cn.bmwgroup.net~" + )")))):splitBy()) EOT diff --git a/EMEA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf b/EMEA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf index ec624d7..b035925 100644 --- a/EMEA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf +++ b/EMEA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf @@ -12,8 +12,36 @@ module Wirkkette_Teleservices_Reliability_of_key_requests { #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT -(((26) * (func:slo.teleservices_all_except_kai_service)) + ((1) * (func:slo.teleservices_kai:default(100)))) / (27) - +(100)-(builtin:service.errors.total.rate:filter(and(in("dt.entity.service",entitySelector("type(service), + entityName.in( + ~"ifs-001 (Kinesis) CCM - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreWsIncoming - IN - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreDiIncoming - IN - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerPdmContainerUpdate/notifyPdmContainerStatus - IN/OUT - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerWhitelistUpdate/notifyWhitelistStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) triggerStandardOdfUpdate/notifyOdfStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) start/stop/notifyTemporaryOdfStatus - INT/OUT - wlupdater - prod~", + ~"ifs-007 (JOYNR) requestPdmResult/notifyPdmResult - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) request/notifyKeyData - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) notifyRSUStatus - IN - teleservices - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) notifyMaintenanceStatus - IN - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT - prod~", + ~"ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT - teleservices - prod~", + ~"ifs-007 (JOYNR) requestDiagResult/notifyDiagResult - IN/OUT - teleservices - prod~", + ~"ifs-005 (SQS) TscsCallTopic - IN - teleservices - prod~", + ~"ifs-006 (SQS) TsddCallTopic - IN - teleservices - prod~", + ~"ifs-010 (SQS) RtcadCallTopic - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (ClassificationRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (DiagnosisRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT - teleservices - prod~", + ~"ifs-001 (SQS) BCallIn/Out - IN/OUT - teleservices - prod~", + ~"VDLM_ts-asc - ifs-001 (SQS) AscIn/Out - IN/OUT - prod~", + ~"InternalApiResourceV2 - teleservices - prod~", + ~"VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT - prod~", + ~"ckf.bmwgroup.net~" + )")))):splitBy()) EOT #if not set (removed) it's defaulted to "-1d" diff --git a/NA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf b/NA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf index ec624d7..135ab93 100644 --- a/NA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf +++ b/NA_PROD/slo/Wirkkette_Teleservices_Reliability_of_key_requests.tf @@ -12,7 +12,36 @@ module Wirkkette_Teleservices_Reliability_of_key_requests { #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT -(((26) * (func:slo.teleservices_all_except_kai_service)) + ((1) * (func:slo.teleservices_kai:default(100)))) / (27) +(100)-(builtin:service.errors.total.rate:filter(and(in("dt.entity.service",entitySelector("type(service), + entityName.in( + ~"ifs-001 (Kinesis) CCM - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreWsIncoming - IN - teleservices - prod~", + ~"ifs-001 (Kinesis) TyreDiIncoming - IN - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerPdmContainerUpdate/notifyPdmContainerStatus - IN/OUT - teleservices - prod~", + ~"ifs-003 (JOYNR) triggerWhitelistUpdate/notifyWhitelistStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) triggerStandardOdfUpdate/notifyOdfStatus - IN/OUT - wlupdater - prod~", + ~"ifs-003 (JOYNR) start/stop/notifyTemporaryOdfStatus - INT/OUT - wlupdater - prod~", + ~"ifs-007 (JOYNR) requestPdmResult/notifyPdmResult - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) request/notifyKeyData - IN/OUT - teleservices - prod~", + ~"ifs-002 (JOYNR) notifyRSUStatus - IN - teleservices - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) notifyMaintenanceStatus - IN - prod~", + ~"VDLM_scallservice - VDLM_scallservice - ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT - prod~", + ~"ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT - teleservices - prod~", + ~"ifs-007 (JOYNR) requestDiagResult/notifyDiagResult - IN/OUT - teleservices - prod~", + ~"ifs-005 (SQS) TscsCallTopic - IN - teleservices - prod~", + ~"ifs-006 (SQS) TsddCallTopic - IN - teleservices - prod~", + ~"ifs-010 (SQS) RtcadCallTopic - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"VDLM_seam - ifs-004 (SQS) ServiceDemand - IN - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (ClassificationRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-003 (MQS) MguItsnIn/Out (DiagnosisRequest/Response) - IN/OUT - teleservices - prod~", + ~"ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT - teleservices - prod~", + ~"ifs-001 (SQS) BCallIn/Out - IN/OUT - teleservices - prod~", + ~"VDLM_ts-asc - ifs-001 (SQS) AscIn/Out - IN/OUT - prod~", + ~"InternalApiResourceV2 - teleservices - prod~", + ~"VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT - prod~", + ~"ckf-us.bmwgroup.net~" + )")))):splitBy()) EOT