From 2decd5358b0ca54fb35b7eab33a6ebcebea609a4 Mon Sep 17 00:00:00 2001 From: "SLW\\YELGIM" Date: Wed, 23 Mar 2022 17:22:34 +0100 Subject: [PATCH] Login and VehicleList --- EMEA_PROD/slo/TP_Mobile_Login.tf | 26 ++++++++++++++++---------- EMEA_PROD/slo/TP_Mobile_VehicleList.tf | 24 ++++++++++++++---------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/EMEA_PROD/slo/TP_Mobile_Login.tf b/EMEA_PROD/slo/TP_Mobile_Login.tf index 10d72a4..a900d6d 100644 --- a/EMEA_PROD/slo/TP_Mobile_Login.tf +++ b/EMEA_PROD/slo/TP_Mobile_Login.tf @@ -14,16 +14,22 @@ module TP_Mobile_Login { 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(~"btc-user-composite-service - PROD~") - ) - ") - ) + and( + or( + in( + "dt.entity.service_method", + entitySelector( + "type(service_method), + fromRelationship.isServiceMethodOfService( + type(~"SERVICE~"),entityName.in + (~"btc-user-composite-service - PROD~") + ) + ,entityName.in( + ~"GET /api/v1/presentation/oauth/config~", + ~"GET /api/v1/presentation/profile-tab~", + ~"POST /api/v1/oauth/token/identifier~" + )") + ) ))):splitBy():sum:auto:sort(value(sum,descending)))" EOT diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleList.tf b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf index 76215c0..6861812 100644 --- a/EMEA_PROD/slo/TP_Mobile_VehicleList.tf +++ b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf @@ -14,16 +14,20 @@ module TP_Mobile_VehicleList { 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(~"btc-vehicle-composite-service - PROD~") - ) - ") - ) + and( + or( + in( + "dt.entity.service_method", + entitySelector( + "type(service_method), + fromRelationship.isServiceMethodOfService( + type(~"SERVICE~"),entityName.in + (~"btc-vehicle-composite-service - PROD~") + ) + ,entityName.in( + ~"GET /api/v1/vehicles~" + )") + ) ))):splitBy():sum:auto:sort(value(sum,descending)))" EOT