grouping all Teleservices except Kai service in a new SLO for all Hubs

feature/INFOTAIN-30039-create-gen3-slo
Mohammed Abadel 2022-09-28 19:16:08 +02:00
parent a588e37d52
commit 7699f44fe5
3 changed files with 171 additions and 0 deletions

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}