From 86aee9a12efd9639255ee50e36a2b48e32d9c43a Mon Sep 17 00:00:00 2001 From: Stephan Huber Date: Mon, 8 Aug 2022 10:41:28 +0200 Subject: [PATCH] added SLO MyModesUser, Login und ContentDelivery --- CN_PROD/slo/ICES_-_ContentDelivery.tf | 33 +++++++++++++++++++++++++ CN_PROD/slo/ICES_-_Login.tf | 33 +++++++++++++++++++++++++ CN_PROD/slo/ICES_-_MyModesUser.tf | 33 +++++++++++++++++++++++++ EMEA_PROD/slo/ICES_-_ContentDelivery.tf | 33 +++++++++++++++++++++++++ EMEA_PROD/slo/ICES_-_Login.tf | 33 +++++++++++++++++++++++++ EMEA_PROD/slo/ICES_-_MyModesUser.tf | 33 +++++++++++++++++++++++++ NA_PROD/slo/ICES_-_ContentDelivery.tf | 33 +++++++++++++++++++++++++ NA_PROD/slo/ICES_-_Login.tf | 33 +++++++++++++++++++++++++ NA_PROD/slo/ICES_-_MyModesUser.tf | 33 +++++++++++++++++++++++++ 9 files changed, 297 insertions(+) create mode 100644 CN_PROD/slo/ICES_-_ContentDelivery.tf create mode 100644 CN_PROD/slo/ICES_-_Login.tf create mode 100644 CN_PROD/slo/ICES_-_MyModesUser.tf create mode 100644 EMEA_PROD/slo/ICES_-_ContentDelivery.tf create mode 100644 EMEA_PROD/slo/ICES_-_Login.tf create mode 100644 EMEA_PROD/slo/ICES_-_MyModesUser.tf create mode 100644 NA_PROD/slo/ICES_-_ContentDelivery.tf create mode 100644 NA_PROD/slo/ICES_-_Login.tf create mode 100644 NA_PROD/slo/ICES_-_MyModesUser.tf diff --git a/CN_PROD/slo/ICES_-_ContentDelivery.tf b/CN_PROD/slo/ICES_-_ContentDelivery.tf new file mode 100644 index 0000000..13af97f --- /dev/null +++ b/CN_PROD/slo/ICES_-_ContentDelivery.tf @@ -0,0 +1,33 @@ +module ICES_-_ContentDelivery { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - ContentDelivery" + + description = "ContentDelivery" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/CN_PROD/slo/ICES_-_Login.tf b/CN_PROD/slo/ICES_-_Login.tf new file mode 100644 index 0000000..2bad24b --- /dev/null +++ b/CN_PROD/slo/ICES_-_Login.tf @@ -0,0 +1,33 @@ +module ICES_-_Login { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - Login" + + description = "Login" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"Login\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/CN_PROD/slo/ICES_-_MyModesUser.tf b/CN_PROD/slo/ICES_-_MyModesUser.tf new file mode 100644 index 0000000..6f6df1b --- /dev/null +++ b/CN_PROD/slo/ICES_-_MyModesUser.tf @@ -0,0 +1,33 @@ +module ICES_-_MyModesUser { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - MyModesUser" + + description = "MyModesUser" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/EMEA_PROD/slo/ICES_-_ContentDelivery.tf b/EMEA_PROD/slo/ICES_-_ContentDelivery.tf new file mode 100644 index 0000000..13af97f --- /dev/null +++ b/EMEA_PROD/slo/ICES_-_ContentDelivery.tf @@ -0,0 +1,33 @@ +module ICES_-_ContentDelivery { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - ContentDelivery" + + description = "ContentDelivery" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/EMEA_PROD/slo/ICES_-_Login.tf b/EMEA_PROD/slo/ICES_-_Login.tf new file mode 100644 index 0000000..2bad24b --- /dev/null +++ b/EMEA_PROD/slo/ICES_-_Login.tf @@ -0,0 +1,33 @@ +module ICES_-_Login { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - Login" + + description = "Login" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"Login\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/EMEA_PROD/slo/ICES_-_MyModesUser.tf b/EMEA_PROD/slo/ICES_-_MyModesUser.tf new file mode 100644 index 0000000..6f6df1b --- /dev/null +++ b/EMEA_PROD/slo/ICES_-_MyModesUser.tf @@ -0,0 +1,33 @@ +module ICES_-_MyModesUser { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - MyModesUser" + + description = "MyModesUser" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/NA_PROD/slo/ICES_-_ContentDelivery.tf b/NA_PROD/slo/ICES_-_ContentDelivery.tf new file mode 100644 index 0000000..13af97f --- /dev/null +++ b/NA_PROD/slo/ICES_-_ContentDelivery.tf @@ -0,0 +1,33 @@ +module ICES_-_ContentDelivery { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - ContentDelivery" + + description = "ContentDelivery" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/NA_PROD/slo/ICES_-_Login.tf b/NA_PROD/slo/ICES_-_Login.tf new file mode 100644 index 0000000..2bad24b --- /dev/null +++ b/NA_PROD/slo/ICES_-_Login.tf @@ -0,0 +1,33 @@ +module ICES_-_Login { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - Login" + + description = "Login" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"Login\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +} diff --git a/NA_PROD/slo/ICES_-_MyModesUser.tf b/NA_PROD/slo/ICES_-_MyModesUser.tf new file mode 100644 index 0000000..6f6df1b --- /dev/null +++ b/NA_PROD/slo/ICES_-_MyModesUser.tf @@ -0,0 +1,33 @@ +module ICES_-_MyModesUser { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "ICES - MyModesUser" + + description = "MyModesUser" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),tag(\"Environment:PROD\")" + + + #metric expression of the calculation as done in data explorer ui + metric_expression = "(100)*((1)-( builtin:service.errors.fivexx.rate: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 + +}