diff --git a/CN_PROD/slo/__main.tf b/CN_PROD/slo/__main.tf index 8f7fd63..564544e 100644 --- a/CN_PROD/slo/__main.tf +++ b/CN_PROD/slo/__main.tf @@ -12,6 +12,7 @@ terraform { region = "eu-central-1" dynamodb_table = "coco-dynatrace-tfstate" encrypt = true + skip_credentials_validation = true } } @@ -22,4 +23,5 @@ variable CN_PROD_API_TOKEN {} provider "dynatrace" { dt_env_url = "${var.CN_PROD_ENV_URL}" dt_api_token = "${var.CN_PROD_API_TOKEN}" + } \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_Login.tf b/EMEA_PROD/slo/TP_Mobile_Login.tf index 10d72a4..8ec155e 100644 --- a/EMEA_PROD/slo/TP_Mobile_Login.tf +++ b/EMEA_PROD/slo/TP_Mobile_Login.tf @@ -18,12 +18,18 @@ module TP_Mobile_Login { or( in( "dt.entity.service_method", - entitySelector("type(service_method), - fromRelationship.isServiceMethodOfService( - type(~"SERVICE~"),entityName(~"btc-user-composite-service - PROD~") - ) - ") - ) + 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_Mapping.tf b/EMEA_PROD/slo/TP_Mobile_Mapping.tf index 8dbb4eb..e98c7bb 100644 --- a/EMEA_PROD/slo/TP_Mobile_Mapping.tf +++ b/EMEA_PROD/slo/TP_Mobile_Mapping.tf @@ -24,7 +24,7 @@ module TP_Mobile_Mapping { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf b/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf index 520d7db..482e93f 100644 --- a/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf +++ b/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf @@ -24,7 +24,7 @@ module TP_Mobile_PersonalFavorites { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_Remote360.tf b/EMEA_PROD/slo/TP_Mobile_Remote360.tf index e77e9b2..111c7f1 100644 --- a/EMEA_PROD/slo/TP_Mobile_Remote360.tf +++ b/EMEA_PROD/slo/TP_Mobile_Remote360.tf @@ -24,7 +24,7 @@ module TP_Mobile_Remote360 { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf b/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf index 7ac9492..6848345 100644 --- a/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf +++ b/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf @@ -24,7 +24,7 @@ module TP_Mobile_RemoteServices { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf index 55bdc48..de9bcb1 100644 --- a/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf @@ -24,7 +24,7 @@ module TP_Mobile_Send2VehicleLegacy { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf index 4221cf6..4929b2c 100644 --- a/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf @@ -24,7 +24,7 @@ module TP_Mobile_Send2VehicleMGU { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleData.tf b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf index 9542f55..31d1ce9 100644 --- a/EMEA_PROD/slo/TP_Mobile_VehicleData.tf +++ b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf @@ -24,7 +24,7 @@ module TP_Mobile_VehicleData { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleList.tf b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf index 76215c0..8f53f92 100644 --- a/EMEA_PROD/slo/TP_Mobile_VehicleList.tf +++ b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf @@ -24,7 +24,7 @@ module TP_Mobile_VehicleList { ) ") ) -))):splitBy():sum:auto:sort(value(sum,descending)))" +))):splitBy():auto:auto:sort(value(sum,descending)))" EOT #if not set (removed) it's defaulted to "-1d" diff --git a/EMEA_PROD/slo/__main.tf b/EMEA_PROD/slo/__main.tf index 52a2de4..65ddaed 100644 --- a/EMEA_PROD/slo/__main.tf +++ b/EMEA_PROD/slo/__main.tf @@ -23,4 +23,5 @@ variable EMEA_PROD_API_TOKEN {} provider "dynatrace" { dt_env_url = "${var.EMEA_PROD_ENV_URL}" dt_api_token = "${var.EMEA_PROD_API_TOKEN}" + } \ No newline at end of file