coco_terraform_config/EMEA_PROD/slo/SMS_Gateway_PROD.tf

33 lines
1.0 KiB
HCL

module SMS_Gateway_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "SMS_Gateway_PROD"
description = ""
#entity selector object
filter = "type(\"Service\"),entityName(\"smsgw-emea-prod.bmwgroup.net - PROD\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.total:splitBy()))"
#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
}