INFOTAIN-33631: Add FestiveMode SLO to NA.

feature/INFOTAIN-33631-fm-modify-ices-festivemode-dynatrace-dashboard
Antonio Canelas 2023-06-26 12:57:36 +01:00
parent 23eb73a918
commit bdebbca3a2
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
module ICES_-_FestiveModeAPI {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "ICES - FestiveModeApi"
description = "FestiveModeApi"
#entity selector object
filter = "type(\"SERVICE\"),entityName.in(\"FestiveModeApi - ices - prod\")"
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((1)-(builtin:service.errors.fivexx.count:splitBy():avg:auto:sort(value(avg,descending)):limit(10))/(builtin:service.requestCount.total:splitBy():sum:auto:sort(value(sum,descending)):limit(10)))"
#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 = 98
#if not set(removed) it's defaulted to 98
warning = 99
#if not set(removed) it's defaulted to 99
}