adapted SLOs

PerseusSLO
rforstner 2022-04-19 09:36:34 +02:00
parent 69b85ca856
commit c6bf64c405
9 changed files with 51 additions and 16 deletions

View File

@ -10,7 +10,7 @@ module VDM_-_RSU_-_CN_E2E {
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-813D7B449863A9A0\",\"SERVICE_METHOD-8612BFC9B4209B21\",\"SERVICE_METHOD-D08B1FE048BED1B2\",\"SERVICE_METHOD-2C07A4EEE2597A95\",\"SERVICE_METHOD-6E5D6E834BE59353\",\"SERVICE_METHOD-368E9AEC7FE47351\",\"SERVICE_METHOD-95E2AD65052AF9A2\",\"SERVICE_METHOD-5C3102268750C1DF\",\"SERVICE_METHOD-47EFFB0CF5B06521\",\"SERVICE_METHOD-40F8768BAB132914\",\"SERVICE_METHOD-FDEB58D2C4061CA0\")"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-898ADB916A9006DF\",\"SERVICE_METHOD-D455B80D3009938B\",\"SERVICE_METHOD-5DB6B71A030178EA\",\"SERVICE_METHOD-F092B225B92A3686\",\"SERVICE_METHOD-683EA6C5B7A2EEF3\",\"SERVICE_METHOD-4BE59D7BC11AC780\",\"SERVICE_METHOD-4006422986343BCB\",\"SERVICE_METHOD-86BE9998B76A0E16\",\"SERVICE_METHOD-DA3CB26978350B98\",\"SERVICE_METHOD-A0AFA5A73B98276E\",\"SERVICE_METHOD-F5343291B69763AB\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -10,7 +10,7 @@ module VDM_-_RSU_-_CN_PROD {
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-9AF7A9302E71A3BE\",\"SERVICE_METHOD-360C23BA44FD151A\",\"SERVICE_METHOD-BC4D2349C378287A\",\"SERVICE_METHOD-22C4E73BCAE1C40C\",\"SERVICE_METHOD-823679D929573CE5\",\"SERVICE_METHOD-DFC013FFC6559CCF\",\"SERVICE_METHOD-050240E8E67E45C1\",\"SERVICE_METHOD-FECF582AE2DFF850\",\"SERVICE_METHOD-DC622EDE9AE0298C\",\"SERVICE_METHOD-8B13EA75A6EE6F1D\",\"SERVICE_METHOD-8D1D801E02288FBB\")"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-377E4E1ABDDB99D8\",\"SERVICE_METHOD-68DAAEF95DD2FAAE\",\"SERVICE_METHOD-BFABC791A0681CB5\",\"SERVICE_METHOD-36A7BE9A88451E76\",\"SERVICE_METHOD-A965F7F2B2B9089B\",\"SERVICE_METHOD-3DE7492449C0C534\",\"SERVICE_METHOD-E852026F09F006AC\",\"SERVICE_METHOD-A1A6107CF8782AD0\",\"SERVICE_METHOD-58B150DCF684E386\",\"SERVICE_METHOD-77A9E64812520490\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -10,7 +10,7 @@ module VDM_-_VPS_-_CN_E2E {
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-51A2F40CB47D115C\",\"SERVICE_METHOD-390269CF781D9178\",\"SERVICE_METHOD-19CC06683D10AA17\",\"SERVICE_METHOD-FC58B4F6290ACE98\",\"SERVICE_METHOD-74721DFD4F8B9177\")"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-51A2F40CB47D115C\",\"SERVICE_METHOD-390269CF781D9178\",\"SERVICE_METHOD-19CC06683D10AA17\",\"SERVICE_METHOD-FC58B4F6290ACE98\",\"SERVICE_METHOD-74721DFD4F8B9177\",\"SERVICE_METHOD-601C4DF3AD48E7B7\",\"SERVICE_METHOD-E34A4F6D1EFC25A0\",\"SERVICE_METHOD-BD64CB2DAE22361C\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -10,7 +10,7 @@ module VDM_-_VPS_-_CN_PROD {
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-C81BF2A510C393ED\",\"SERVICE_METHOD-F909C27CC5A5A8A9\",\"SERVICE_METHOD-9E006396D32357AF\",\"SERVICE_METHOD-E9DAFC08F88C93D9\",\"SERVICE_METHOD-B23DF0628C035438\")"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-C81BF2A510C393ED\",\"SERVICE_METHOD-F909C27CC5A5A8A9\",\"SERVICE_METHOD-9E006396D32357AF\",\"SERVICE_METHOD-E9DAFC08F88C93D9\",\"SERVICE_METHOD-B23DF0628C035438\",\"SERVICE_METHOD-90267D09C476600D\",\"SERVICE_METHOD-5012D6B107EDF510\",\"SERVICE_METHOD-F3371E4FAD8AF96D\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -5,7 +5,7 @@ module Wirkkette__MPP__-_Reliability_of_key_requests {
name = "Wirkkette \"MPP\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
description = "CoCo-QM-Report_Vehicle"

View File

@ -10,7 +10,7 @@ module Wirkkette__Send_to_Car__Legacy___-_Reliability_of_key_requests {
#entity selector object
filter = "type(SERVICE),entityId(\"SERVICE-9031170DD5E9C478\",\"SERVICE-3B4DA1D139277FA9\",\"SERVICE-40AA257EA9708F6C\")"
filter = "type(SERVICE),entityName(\"LegacyPoiApi - msgsvc - prod\")"
#metric expression of the calculation as done in data explorer ui

View File

@ -5,20 +5,55 @@ module Wirkkette__Smart_Refuel__-_Reliability_of_key_requests {
name = "Wirkkette \"Smart Refuel\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
description = "CoCo-QM-Report_Vehicle"
#entity selector object
filter = "entityId(\"SERVICE-17F4E1831A1FFF13\",\"SERVICE-EA0EB63044A61749\")"
filter = "type(\"SERVICE_METHOD\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.errors.fivexx.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())"
metric_expression = <<-EOT
(100)*(
(builtin:service.keyRequest.errors.server.successCount:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName(~"omcsmtrflce20q3~"),mzName(~"CN_OMC_PROD~")
)
,entityName.in(
~"/smtrfl/api/v1/order~",
~"/smtrfl/api/v1/station/list~",
~"/smtrfl/api/v1/station/detail~"
)")
)
))):splitBy():sum:auto:sort(value(sum,descending)))
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName(~"omcsmtrflce20q3~"),mzName(~"CN_OMC_PROD~")
)
,entityName.in(
~"/smtrfl/api/v1/order~",
~"/smtrfl/api/v1/station/list~",
~"/smtrfl/api/v1/station/detail~"
)")
)
))):splitBy():sum:auto:sort(value(sum,descending))))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1w"
timeframe = "-1d"
#currently the only possible value

View File

@ -5,20 +5,20 @@ module Wirkkette__TMALL_Genie__-_Reliability_of_key_requests {
name = "Wirkkette \"TMALL Genie\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
description = "CoCo-QM-Report_Vehicle"
#entity selector object
filter = "entityId(\"SERVICE-4E2EEA9F71D5EAF7\")"
filter = "entityId(\"SERVICE-4E2EEA9F71D5EAF7\",\"SERVICE-7505CF0CA333A3D9\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.errors.fivexx.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())"
metric_expression = "(100)*(builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1w"
timeframe = "-1d"
#currently the only possible value

View File

@ -3,9 +3,9 @@ module Wirkkette__Ximalaya__-_Reliability_of_key_requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Wirkkette \"Ximalaya\" - Reliability of key requests"
name = "Wirkkette \"Podcast Services\" - Reliability of key requests"
description = "CoCo-QM-Report_Draft"
description = "CoCo-QM-Report_Vehicle"