Creating SLO for eCall/xCall in CN

feature/INFOTAIN-30039-create-gen3-slo
Mohammed Abadel 2022-08-25 17:51:51 +02:00
parent aa0192e602
commit e7f626a944
2 changed files with 112 additions and 0 deletions

View File

@ -0,0 +1,58 @@
module Wirkkette_eCall_Service_Legacy_MGU_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"eCall Service (Legacy + MGU)\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"VoiceV2Resource - ngtp-cs - prod~",
~"CallRoutingResource - crs - prod~",
~"NgtpUplinkEventResource - ngtp-cs - prod~",
~"V1Api - PROD~",
~"CallMgmtApiResourceV1 - b*vvoice - prod~",
~"ISmsGatewayBF - ecs - prod~",
~"EcsApiController - PROD~",
~"VehicleVinV2BF - ecs - prod~"
)
)
,entityName.in(
~"voiceInitatedCallSync_ECALL~",
~"callReceived~",
~"getRoutingData_ECALL~",
~"notifyCsMessage~",
~"setupCall_ECALL~",
~"routeCall~",
~"message~",
~"ecsEventReceived~",
~"createEventByvin~"
)")))):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,54 @@
module Wirkkette_xCall_Service_Legacy_MGU_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"xCall Service (Legacy + MGU)\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"VoiceV2Resource - ngtp-cs - prod~",
~"CallRoutingResource - crs - prod~",
~"NgtpUplinkEventResource - ngtp-cs - prod~",
~"V1Api - PROD~",
~"XcsApiController - PROD~",
~"CallMgmtApiResourceV1 - b*vvoice - prod~"
)
)
,entityName.in(
~"voiceInitatedCallSync_XCALL~",
~"callReceived~",
~"getRoutingData_XCALL~",
~"notifyCsMessage~",
~"setupCall_XCALL~",
~"routeCall~",
~"xcsEventReceived~"
)")))):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
}