adding EMEA PREPROD SLOS
parent
556217ddef
commit
ce1d950a31
|
|
@ -0,0 +1,23 @@
|
||||||
|
module Mobile_2_0_-_Remote_Services_-_Charging_Profile_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Mobile 2.0 - Remote Services - Charging Profile - Reliability"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "type(\"MOBILE_APPLICATION\")"
|
||||||
|
|
||||||
|
metric_expression = "(100)*((calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_chargingprofile_withoutwebrequesterrors:splitBy())/(calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_chargingprofile:splitBy()))"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 98
|
||||||
|
|
||||||
|
warning = 99
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
module Mobile_2_0_-_Remote_Services_-_Door_Lock_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Mobile 2.0 - Remote Services - Door Lock - Reliability"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "type(\"MOBILE_APPLICATION\")"
|
||||||
|
|
||||||
|
metric_expression = "(100)*((calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_doorlock_withoutwebrequesterrors:splitBy())/(calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_doorlock:splitBy()))"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 98
|
||||||
|
|
||||||
|
warning = 99
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
module Mobile_2_0_-_Remote_Services_-_Door_Unlock_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Mobile 2.0 - Remote Services - Door Unlock - Reliability"
|
||||||
|
description = ""
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
filter = "type(\"MOBILE_APPLICATION\")"
|
||||||
|
metric_expression = "(100)*((calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_doorunlock_withoutwebrequesterrors:splitBy())/(calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_doorunlock:splitBy()))"
|
||||||
|
timeframe = "-1d"
|
||||||
|
target = 98
|
||||||
|
warning = 99
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
module Mobile_2_0_-_Remote_Services_-_Light_Flash_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Mobile 2.0 - Remote Services - Light Flash - Reliability"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "type(\"MOBILE_APPLICATION\")"
|
||||||
|
|
||||||
|
metric_expression = "(100)*((calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_lightflash_withoutwebrequesterrors:splitBy())/(calc:apps.mobile.mobile2.0bmw_rowdstint_ios_android_.remoteservices_lightflash:splitBy()))"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 98
|
||||||
|
|
||||||
|
warning = 99
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
module Mobile_2_0_-_Remote_Services_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Mobile 2.0 - Remote Services - Reliability"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "entityId(\"DEVICE_APPLICATION_METHOD-2E9BBABF5AAF04E7\", \"DEVICE_APPLICATION_METHOD-800AC8B85A732E1A\", \"DEVICE_APPLICATION_METHOD-8E6AACF350240051\", \"DEVICE_APPLICATION_METHOD-93516FA26D0E8F41\", \"DEVICE_APPLICATION_METHOD-BE4A0F7FB6DA788F\", \"DEVICE_APPLICATION_METHOD-DA42E863E802F4A8\", \"DEVICE_APPLICATION_METHOD-FA5AB587636A2E03\", \"DEVICE_APPLICATION_METHOD-FB2D14DFB984C6E0\")"
|
||||||
|
|
||||||
|
metric_expression = "(100)*((builtin:apps.other.keyUserActions.count.osAndApdex:filter(not(eq(Apdex category,FRUSTRATED))):splitBy())/(builtin:apps.other.keyUserActions.count.osAndApdex:splitBy()))"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 98
|
||||||
|
|
||||||
|
warning = 99
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
module RemoteServices_-_Reliability {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "RemoteServices - Reliability"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "type(SERVICE),tag(Component:RemoteServices)"
|
||||||
|
|
||||||
|
metric_expression = "builtin:service.successes.server.rate:splitBy()"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 98
|
||||||
|
|
||||||
|
warning = 99
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -8,7 +8,7 @@ terraform {
|
||||||
|
|
||||||
backend "s3" {
|
backend "s3" {
|
||||||
bucket = "coco-dynatrace-tfstate"
|
bucket = "coco-dynatrace-tfstate"
|
||||||
key = "eupreprod/slo/terraform.tfstate"
|
key = "EMEA_PREPROD/slo/terraform.tfstate"
|
||||||
region = "eu-central-1"
|
region = "eu-central-1"
|
||||||
dynamodb_table = "coco-dynatrace-tfstate"
|
dynamodb_table = "coco-dynatrace-tfstate"
|
||||||
encrypt = true
|
encrypt = true
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
module terraform_test {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "first SLO created through terraform "
|
||||||
|
description = "fancy description"
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
filter = "type(\"SERVICE\")"
|
||||||
|
metric_expression = "builtin:service.errors.fivexx.successCount:splitBy()"
|
||||||
|
timeframe = "-2d"
|
||||||
|
target = 99
|
||||||
|
warning = 99.9
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
module without_500_ {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "without 500 "
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
evaluation = "AGGREGATE"
|
||||||
|
|
||||||
|
filter = "type(\"SERVICE\")"
|
||||||
|
|
||||||
|
metric_expression = "builtin:service.errors.fivexx.successCount:splitBy()"
|
||||||
|
|
||||||
|
timeframe = "-1d"
|
||||||
|
|
||||||
|
target = 99
|
||||||
|
|
||||||
|
warning = 99.5
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -17,7 +17,7 @@ variable "metric_expression" { default = "" }
|
||||||
|
|
||||||
|
|
||||||
##Optional Fields
|
##Optional Fields
|
||||||
variable "entitySelector" { default = "" }
|
variable "filter" { default = "" }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ resource dynatrace_slo main {
|
||||||
|
|
||||||
|
|
||||||
metric_expression = "${var.metric_expression}"
|
metric_expression = "${var.metric_expression}"
|
||||||
filter = "${var.entitySelector}"
|
filter = "${var.filter}"
|
||||||
}
|
}
|
||||||
|
|
||||||
output "id" {
|
output "id" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue