diff --git a/CN_PROD/slo/Teleservices_All_Except_Kai_Service.tf b/CN_PROD/slo/Teleservices_All_Except_Kai_Service.tf new file mode 100644 index 0000000..967dbb2 --- /dev/null +++ b/CN_PROD/slo/Teleservices_All_Except_Kai_Service.tf @@ -0,0 +1,57 @@ +module Teleservices_All_Except_Kai_Service { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "Teleservices_All_Except_Kai_Service" + description = "SLO used later for the official Teleservices SLO" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + (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()) + +EOT + +#if not set (removed) it's defaulted to "-1d" +timeframe = "-1d" + +#currently the only possible value +evaluation = "AGGREGATE" + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/Teleservices_All_Except_Kai_Service.tf b/EMEA_PROD/slo/Teleservices_All_Except_Kai_Service.tf new file mode 100644 index 0000000..967dbb2 --- /dev/null +++ b/EMEA_PROD/slo/Teleservices_All_Except_Kai_Service.tf @@ -0,0 +1,57 @@ +module Teleservices_All_Except_Kai_Service { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "Teleservices_All_Except_Kai_Service" + description = "SLO used later for the official Teleservices SLO" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + (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()) + +EOT + +#if not set (removed) it's defaulted to "-1d" +timeframe = "-1d" + +#currently the only possible value +evaluation = "AGGREGATE" + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/Teleservices_All_Except_Kai_Service.tf b/NA_PROD/slo/Teleservices_All_Except_Kai_Service.tf new file mode 100644 index 0000000..967dbb2 --- /dev/null +++ b/NA_PROD/slo/Teleservices_All_Except_Kai_Service.tf @@ -0,0 +1,57 @@ +module Teleservices_All_Except_Kai_Service { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "Teleservices_All_Except_Kai_Service" + description = "SLO used later for the official Teleservices SLO" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + (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()) + +EOT + +#if not set (removed) it's defaulted to "-1d" +timeframe = "-1d" + +#currently the only possible value +evaluation = "AGGREGATE" + +#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 + +} \ No newline at end of file