Created TMPP-SLO and deleted MPP-SLO

feature/INFOTAIN-30039-create-gen3-slo
Mohammed Abadel 2022-07-04 17:34:27 +02:00
parent 531d7a1be5
commit bdf6b0dc42
2 changed files with 46 additions and 33 deletions

View File

@ -1,33 +0,0 @@
module Wirkkette__MPP__-_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"MPP\" - Reliability of key requests"
description = "CoCo-QM-Report_Vehicle"
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-EC4509658D585AB2\",\"SERVICE_METHOD-E8651A323ACE88EE\",\"SERVICE_METHOD-190CBB8CEF6657EE\",\"SERVICE_METHOD-A76B89D20C2585E1\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy())"
#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,46 @@
module Wirkkette__TMPP__-_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"TMPP\" - 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(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityId(
~"SERVICE-9F1F8DDB40FCD034~",
~"SERVICE-2EAB65E74E953BCA~",
~"SERVICE-9F1F8DDB40FCD034~",
~"SERVICE-97B41B9B9128F9F5~"
)
)
,entityName.in(
~"getManifests~",
~"getWhitelisted~",
~"validateUuid~",
~"getChannels~"
)"))))):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
}