From bdebbca3a29cb7a34cf82aff913dccfff4d52359 Mon Sep 17 00:00:00 2001 From: Antonio Canelas Date: Mon, 26 Jun 2023 12:57:36 +0100 Subject: [PATCH] INFOTAIN-33631: Add FestiveMode SLO to NA. --- NA_PROD/slo/ICES_-_FestiveModeAPI.tf | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 NA_PROD/slo/ICES_-_FestiveModeAPI.tf diff --git a/NA_PROD/slo/ICES_-_FestiveModeAPI.tf b/NA_PROD/slo/ICES_-_FestiveModeAPI.tf new file mode 100644 index 0000000..e277f84 --- /dev/null +++ b/NA_PROD/slo/ICES_-_FestiveModeAPI.tf @@ -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 + +}