coco_terraform_config/CN_PROD/slo/OMC-Smart-Parking.tf

33 lines
1.4 KiB
HCL

module OMC-Smart-Parking {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "OMC-Smart-Parking"
description = "top15 - Reliability of key requests"
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-60A0AAB65037E69D\",\"SERVICE_METHOD-2D9C832E1E3E26EC\",\"SERVICE_METHOD-6864C3B17896A4E2\",\"SERVICE_METHOD-A715EF2381A0D752\",\"SERVICE_METHOD-489AF0122D2C8766\",\"SERVICE_METHOD-E73D2E6704412743\",\"SERVICE_METHOD-E80793863773BC78\",\"SERVICE_METHOD-3B2931A746EB5AFA\",\"SERVICE_METHOD-2086CF6A550E9C3E\",\"SERVICE_METHOD-DB55C0D203066237\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.fivexx.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
}