Pull request #79: Added xCall / Speech Wirkketten SLO

Merge in OPAPM/coco_terraform_config from DK_FIX to master

* commit 'da7cf83eef2cf230a9ca98dfe77dc2893d3fa27f':
  Added xCall / Speech Wirkketten SLO
OPMAAS-3397
Diego Kasika (ext.) 2023-02-23 10:13:19 +00:00
commit c21fb97ec6
2 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,41 @@
module Wirkkette_Speech_Service_Vehicle_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"Speech Service\" - Reliability of key requests"
description = "CoCo-QM-Report_Vehicle"
#entity selector object
filter = ""
# Error Code 502 in HVD service will be excluded from the SLO.
# Therefore the metric server side errors was used for calculation.
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.server.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"hvd (/hvd) - ipa-backend-cn - prod~",
~"server (/htts) - ipa-backend-cn - prod~"
)
)
,entityName.in(
~"/hvd/speech~",
~"/htts/transcribe~"
)"))))):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_Vehicle"
#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
}