33 lines
1.1 KiB
HCL
33 lines
1.1 KiB
HCL
module TP_NEW_NAME {
|
|
|
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
|
|
|
|
|
name = "TP_NEW NAME"
|
|
|
|
description = "qx05588 Ulrich Blecha"
|
|
|
|
|
|
|
|
#entity selector object
|
|
filter = "type(\"SERVICE_METHOD\")"
|
|
|
|
|
|
#metric expression of the calculation as done in data explorer ui
|
|
metric_expression = "(100)-(builtin:service.keyRequest.errors.server.rate:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-A77E2B0BA1B488DB~\")\")))):splitBy():avg:auto)"
|
|
|
|
|
|
#if not set (removed) it's defaulted to "-1d"
|
|
timeframe = "-1d"
|
|
|
|
|
|
#currently the only possible value
|
|
evaluation = "AGGREGATE"
|
|
|
|
#Target and warning percentage of the SLO as double
|
|
target = 90
|
|
#if not set(removed) it's defaulted to 98
|
|
warning = 95
|
|
#if not set(removed) it's defaulted to 99
|
|
|
|
} |