adjusting SLOs for eRoute and Speech

MergeOAP
Mohammed Abadel 2022-11-14 10:53:27 +01:00
parent 5d90dc1150
commit 13b10b4872
3 changed files with 48 additions and 3 deletions

View File

@ -4,14 +4,15 @@ module Wirkkette_Speech_Service_Vehicle_Reliability_of_key_requests {
name = "Wirkkette \"Speech Service\" - Reliability of key requests" name = "Wirkkette \"Speech Service\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft" description = "CoCo-QM-Report_Draft"
#entity selector object #entity selector object
filter = "" filter = ""
#metric expression of the calculation as done in data explorer ui # 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 metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.server.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method), (100)-(builtin:service.keyRequest.errors.server.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService( fromRelationship.isServiceMethodOfService(

View File

@ -0,0 +1,43 @@
module Wirkkette__eRoute_Service__-_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"eRoute Service\" - 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(
~"Netty on 0.0.0.0:8080 - eroute-ext - prod~",
~"Netty on 0.0.0.0:8080 - eroute-adapter - prod~"
)
)
,entityName.in(
~"/api/eu/2.5/eroute/protobuf3~",
~"/api/eu/2.5/eroute-costs/protobuf3~",
~"/route/eroute~"
)")))):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

@ -13,7 +13,8 @@ module Wirkkette_Speech_Service_Vehicle_Reliability_of_key_requests {
filter = "" filter = ""
#metric expression of the calculation as done in data explorer ui # 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 metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.server.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method), (100)-(builtin:service.keyRequest.errors.server.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService( fromRelationship.isServiceMethodOfService(