33 lines
987 B
HCL
33 lines
987 B
HCL
module RS {
|
|
|
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
|
|
|
|
|
name = "RS"
|
|
|
|
description = ""
|
|
|
|
|
|
|
|
#entity selector object
|
|
filter = "entityId(\"SERVICE-29C18043A4FABF36\")"
|
|
|
|
|
|
#metric expression of the calculation as done in data explorer ui
|
|
metric_expression = "(100)*((builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.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 = 99.98
|
|
#if not set(removed) it's defaulted to 98
|
|
warning = 99.99
|
|
#if not set(removed) it's defaulted to 99
|
|
|
|
} |