coco_terraform_config/CN_PROD/slo/Digital-Key.tf

33 lines
1.2 KiB
HCL

module Digital-Key {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Digital-Key"
description = "top15 - Reliability of key requests"
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-E5A813F053D52DE4\",\"SERVICE_METHOD-9105174DDE120B30\",\"SERVICE_METHOD-62B719A5C852AF62\",\"SERVICE_METHOD-C525AFEAD8579FBA\",\"SERVICE_METHOD-9F7A9E7C9E1B1C22\",\"SERVICE_METHOD-1F17D507654626A7\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy())"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1w"
#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
}