coco_terraform_config/CN_PROD/slo/Remote-Services.tf

33 lines
1.3 KiB
HCL

module Remote-Services {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "Remote-Services"
description = "top15 - Reliability of key requests"
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-B219589292C445DB\",\"SERVICE_METHOD-4CE55AC9F5239211\",\"SERVICE_METHOD-49D11B0F3CE48929\",\"SERVICE_METHOD-D8D1BB43EDA30ECF\",\"SERVICE_METHOD-341CC9EC7E382F50\",\"SERVICE_METHOD-AE140A48F6BD99F4\",\"SERVICE_METHOD-4ACBB015719EC54E\",\"SERVICE_METHOD-4B340DDD87FC172B\",\"SERVICE_METHOD-8E198EBFB81FC091\")"
#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
}