diff --git a/EMEA_PROD/slo/TP_Mobile_Login.tf b/EMEA_PROD/slo/TP_Mobile_Login.tf new file mode 100644 index 0000000..10d72a4 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_Login.tf @@ -0,0 +1,40 @@ +module TP_Mobile_Login { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_Login" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_Mapping.tf b/EMEA_PROD/slo/TP_Mobile_Mapping.tf new file mode 100644 index 0000000..8dbb4eb --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_Mapping.tf @@ -0,0 +1,40 @@ +module TP_Mobile_Mapping { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_Mapping" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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(~"vehicle-mapping-composite-service - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf b/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf new file mode 100644 index 0000000..520d7db --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_PersonalFavorites.tf @@ -0,0 +1,40 @@ +module TP_Mobile_PersonalFavorites { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_PersonalFavorites" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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-destination-composite-service - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_Remote360.tf b/EMEA_PROD/slo/TP_Mobile_Remote360.tf new file mode 100644 index 0000000..e77e9b2 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_Remote360.tf @@ -0,0 +1,40 @@ +module TP_Mobile_Remote360 { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_Remote360" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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(~"remote-360-composite-service - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf b/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf new file mode 100644 index 0000000..7ac9492 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_RemoteServices.tf @@ -0,0 +1,40 @@ +module TP_Mobile_RemoteServices { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_RemoteServices" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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-remote-commands-composite-service - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf new file mode 100644 index 0000000..55bdc48 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleLegacy.tf @@ -0,0 +1,40 @@ +module TP_Mobile_Send2VehicleLegacy { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_Send2VehicleLegacy" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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(~"LegacyPoiApi - msgsvc - prod~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf new file mode 100644 index 0000000..4221cf6 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_Send2VehicleMGU.tf @@ -0,0 +1,40 @@ +module TP_Mobile_Send2VehicleMGU { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_Send2VehicleMGU" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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(~"TripService - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleData.tf b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf new file mode 100644 index 0000000..9542f55 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_VehicleData.tf @@ -0,0 +1,40 @@ +module TP_Mobile_VehicleData { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_VehicleData" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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(~"VehicleService - PROD~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/TP_Mobile_VehicleList.tf b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf new file mode 100644 index 0000000..76215c0 --- /dev/null +++ b/EMEA_PROD/slo/TP_Mobile_VehicleList.tf @@ -0,0 +1,40 @@ +module TP_Mobile_VehicleList { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "TP_Mobile_VehicleList" + description = "2.0 SLO Mobile" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + 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~") + ) + ") + ) +))):splitBy():sum:auto:sort(value(sum,descending)))" +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 + +} \ No newline at end of file