From 30073ac24725aee40bc319df9442f0f1df4b0d71 Mon Sep 17 00:00:00 2001 From: rforstner Date: Mon, 4 Apr 2022 13:27:00 +0200 Subject: [PATCH] changed slo --- EMEA_PROD/slo/TP_Mobile_DigitalKey.tf | 6 +++--- EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf | 4 ++-- EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf | 8 ++++---- EMEA_PROD/slo/TP_Mobile_VehicleData.tf | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/EMEA_PROD/slo/TP_Mobile_DigitalKey.tf b/EMEA_PROD/slo/TP_Mobile_DigitalKey.tf index 58f2d0d..a6c0d57 100644 --- a/EMEA_PROD/slo/TP_Mobile_DigitalKey.tf +++ b/EMEA_PROD/slo/TP_Mobile_DigitalKey.tf @@ -1,9 +1,9 @@ -module TP_Mobile_Login { +module TP_Mobile_DigitalKey { source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" - name = "TP_Mobile_Login" + name = "TP_Mobile_DigitalKey" description = "2.0 SLO Mobile" @@ -13,7 +13,7 @@ module TP_Mobile_Login { #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT (100)* -((builtin:service.keyRequest.errors.server.successCount:filter( +((1-)(builtin:service.keyRequest.errors.fivexx.count:filter( and( or( in( diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf index 0f92ab2..65ffaad 100644 --- a/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf @@ -13,7 +13,7 @@ module TP_Mobile_Send2VehicleLegacy { #metric expression of the calculation as done in data explorer ui metric_expression = <<-EOT (100)* -((builtin:service.keyRequest.errors.server.successCount:filter( +((builtin:service.errors.server.successCount:filter( and( or( in( @@ -26,7 +26,7 @@ module TP_Mobile_Send2VehicleLegacy { ) ) )):splitBy())/ -(builtin:service.keyRequest.count.server:filter( +(builtin:service.requestCount.total:filter( and( or( in( diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf index bf809d3..6efdd25 100644 --- a/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf @@ -26,8 +26,8 @@ module TP_Mobile_Send2VehicleMGU { ) ) ,entityName.in( - ~"/v2/motorist/[UUID]/trips", - ~"/v3/motorist/[UUID]/trips" + ~"/v2/motorist/[UUID]/trips~", + ~"/v3/motorist/[UUID]/trips~" )") ) ))):splitBy()) @@ -45,8 +45,8 @@ module TP_Mobile_Send2VehicleMGU { ) ) ,entityName.in( - ~"/v2/motorist/[UUID]/trips", - ~"/v3/motorist/[UUID]/trips" + ~"/v2/motorist/[UUID]/trips~", + ~"/v3/motorist/[UUID]/trips~" )") ) ))):splitBy()))" diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleData.tf b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf index a5372a1..cf1d195 100644 --- a/EMEA_PROD/slo/TP_Mobile_VehicleData.tf +++ b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf @@ -51,7 +51,7 @@ module TP_Mobile_VehicleData { ~"GET /v1/vehicle/~" )") ) -))):splitBy())" +))):splitBy()))" EOT #if not set (removed) it's defaulted to "-1d"