coco_terraform_config/NA_PROD/slo/Teleservices_MQS.tf

34 lines
1.3 KiB
HCL

module Teleservices_MQS {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Teleservices_MQS"
description = "SLO used later for the official Teleservices SLO"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)-(builtin:service.errors.total.rate:filter(and(in("dt.entity.service",entitySelector("type(service),
entityName.in(
~"ifs-003 (MQS) MguItsnIn/Out (ClassificationRequest/Response) - IN/OUT - teleservices - prod~",
~"ifs-003 (MQS) MguItsnIn/Out (DiagnosisRequest/Response) - IN/OUT - teleservices - prod~",
~"ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT - teleservices - prod~"
)")))):splitBy())
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
}