33 lines
1.1 KiB
HCL
33 lines
1.1 KiB
HCL
module Gear-SLO-Send-To-Car-Service {
|
|
|
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
|
|
|
|
|
name = "Gear-SLO-Send-To-Car-Service"
|
|
|
|
description = "Gear-SLO-Send-To-Car-Service"
|
|
|
|
|
|
|
|
#entity selector object
|
|
filter = "type(service),entityName(\"SendToCarService - PROD\")"
|
|
|
|
|
|
#metric expression of the calculation as done in data explorer ui
|
|
metric_expression = "(100)*(builtin:service.errors.total.successCount:splitBy())/(builtin:service.requestCount.total:splitBy())"
|
|
|
|
|
|
#if not set (removed) it's defaulted to "-1d"
|
|
timeframe = "-1d/d"
|
|
|
|
|
|
#currently the only possible value
|
|
evaluation = "AGGREGATE"
|
|
|
|
#Target and warning percentage of the SLO as double
|
|
target = 99
|
|
#if not set(removed) it's defaulted to 98
|
|
warning = 99.5
|
|
#if not set(removed) it's defaulted to 99
|
|
|
|
} |