coco_terraform_config/CN_PROD/slo/Gear-SLO-Cn-Perseus-Service.tf

33 lines
1.0 KiB
HCL

module Gear-SLO-Cn-Perseus-Service {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Gear-SLO-Cn-Perseus-Service"
description = "Gear-SLO-Cn-Perseus-Service"
#entity selector object
filter = "type(service),entityName(\"PerseusService - PROD\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.errors.total.successCount:splitBy())/(builtin:service.requestCount.total:splitBy())"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d/d"
#currently the only possible value
evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double
target = 99
#if not set(removed) it's defaulted to 98
warning = 99.5
#if not set(removed) it's defaulted to 99
}