From e0f30264aaf6c6837041b4edb2a612ae6c19662c Mon Sep 17 00:00:00 2001 From: "Diogo Dores (CTW)" Date: Tue, 18 Oct 2022 15:48:19 +0100 Subject: [PATCH] OPMAAS-2671 + INFOTAIN-30043: Add LIS and CDR SLOs --- CN_PROD/slo/VCIS_CDR_SendToCarResource.tf | 33 +++++++++++++++ .../VCIS_CDR_SendToCarResource_Requests.tf | 41 +++++++++++++++++++ CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf | 33 +++++++++++++++ ...VCIS_LIS_LinkStoreAppsResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreResetResource.tf | 33 +++++++++++++++ ...CIS_LIS_LinkStoreResetResource_Requests.tf | 41 +++++++++++++++++++ ...VCIS_LIS_LinkStoreSubscriptionsResource.tf | 33 +++++++++++++++ ...LinkStoreSubscriptionsResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_CDR_ServicePartnerResource.tf | 33 +++++++++++++++ ...CIS_CDR_ServicePartnerResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreAppsResource.tf | 33 +++++++++++++++ ...VCIS_LIS_LinkStoreAppsResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreImagesResource.tf | 33 +++++++++++++++ ...IS_LIS_LinkStoreImagesResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreResetResource.tf | 33 +++++++++++++++ ...CIS_LIS_LinkStoreResetResource_Requests.tf | 41 +++++++++++++++++++ ...VCIS_LIS_LinkStoreSubscriptionsResource.tf | 33 +++++++++++++++ ...LinkStoreSubscriptionsResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_CDR_ServicePartnerResource.tf | 33 +++++++++++++++ ...CIS_CDR_ServicePartnerResource_Requests.tf | 41 +++++++++++++++++++ NA_PROD/slo/VCIS_CDR_VehicleImageResource.tf | 33 +++++++++++++++ .../VCIS_CDR_VehicleImageResource_Requests.tf | 41 +++++++++++++++++++ NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf | 33 +++++++++++++++ ...VCIS_LIS_LinkStoreAppsResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreImagesResource.tf | 33 +++++++++++++++ ...IS_LIS_LinkStoreImagesResource_Requests.tf | 41 +++++++++++++++++++ .../slo/VCIS_LIS_LinkStoreResetResource.tf | 33 +++++++++++++++ ...CIS_LIS_LinkStoreResetResource_Requests.tf | 41 +++++++++++++++++++ ...VCIS_LIS_LinkStoreSubscriptionsResource.tf | 33 +++++++++++++++ ...LinkStoreSubscriptionsResource_Requests.tf | 41 +++++++++++++++++++ 30 files changed, 1110 insertions(+) create mode 100644 CN_PROD/slo/VCIS_CDR_SendToCarResource.tf create mode 100644 CN_PROD/slo/VCIS_CDR_SendToCarResource_Requests.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf create mode 100644 CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf create mode 100644 EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf create mode 100644 EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf create mode 100644 EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf create mode 100644 NA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_CDR_VehicleImageResource.tf create mode 100644 NA_PROD/slo/VCIS_CDR_VehicleImageResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf create mode 100644 NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf diff --git a/CN_PROD/slo/VCIS_CDR_SendToCarResource.tf b/CN_PROD/slo/VCIS_CDR_SendToCarResource.tf new file mode 100644 index 0000000..ca9a7ea --- /dev/null +++ b/CN_PROD/slo/VCIS_CDR_SendToCarResource.tf @@ -0,0 +1,33 @@ +module VCIS_CDR_SendToCarResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - SendToCarResource" + + description = "SendToCarResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"SendToCarResource - information\"),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/VCIS_CDR_SendToCarResource_Requests.tf b/CN_PROD/slo/VCIS_CDR_SendToCarResource_Requests.tf new file mode 100644 index 0000000..40697c1 --- /dev/null +++ b/CN_PROD/slo/VCIS_CDR_SendToCarResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_CDR_SendToCarResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - SendToCarResource - Requests" + description = "Success rate of SendToCarResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"SendToCarResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"sendMessagesToVehicles~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"SendToCarResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"sendMessagesToVehicles~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf new file mode 100644 index 0000000..393f0cb --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreAppsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource" + + description = "LinkStoreAppsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreAppsResource - information\"),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/VCIS_LIS_LinkStoreAppsResource_Requests.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf new file mode 100644 index 0000000..9d45919 --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreAppsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource - Requests" + description = "Success rate of LinkStoreAppsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/CN_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf new file mode 100644 index 0000000..474afa4 --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreResetResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource" + + description = "LinkStoreResetResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreResetResource - information\"),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/VCIS_LIS_LinkStoreResetResource_Requests.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf new file mode 100644 index 0000000..872b89d --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreResetResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource - Requests" + description = "Success rate of LinkStoreResetResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf new file mode 100644 index 0000000..96f9982 --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource" + + description = "LinkStoreSubscriptionsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreSubscriptionsResource - information\"),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/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf b/CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf new file mode 100644 index 0000000..67a7e8c --- /dev/null +++ b/CN_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource - Requests" + description = "Success rate of LinkStoreSubscriptionsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - information~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf b/EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf new file mode 100644 index 0000000..55ccc36 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf @@ -0,0 +1,33 @@ +module VCIS_CDR_ServicePartnerResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - ServicePartnerResource" + + description = "ServicePartnerResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"ServicePartnerResource - vcis-information - prod\"),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/VCIS_CDR_ServicePartnerResource_Requests.tf b/EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf new file mode 100644 index 0000000..206d0b1 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_CDR_ServicePartnerResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - ServicePartnerResource - Requests" + description = "Success rate of ServicePartnerResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"ServicePartnerResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"setServicePartner~", ~"getServicePartner~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"ServicePartnerResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"setServicePartner~", ~"getServicePartner~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf new file mode 100644 index 0000000..9dda980 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreAppsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource" + + description = "LinkStoreAppsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreAppsResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreAppsResource_Requests.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf new file mode 100644 index 0000000..79dc9b8 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreAppsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource - Requests" + description = "Success rate of LinkStoreAppsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~", ~"getPublishedApps~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~", ~"getPublishedApps~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf new file mode 100644 index 0000000..7fbdf03 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreImagesResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreImagesResource" + + description = "LinkStoreImagesResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreImagesResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreImagesResource_Requests.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf new file mode 100644 index 0000000..e087abf --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreImagesResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreImagesResource - Requests" + description = "Success rate of LinkStoreImagesResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreImagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreImagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf new file mode 100644 index 0000000..1e9e50a --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreResetResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource" + + description = "LinkStoreResetResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreResetResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreResetResource_Requests.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf new file mode 100644 index 0000000..6ec92c9 --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreResetResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource - Requests" + description = "Success rate of LinkStoreResetResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf new file mode 100644 index 0000000..c0629fe --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource" + + description = "LinkStoreSubscriptionsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreSubscriptionsResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf b/EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf new file mode 100644 index 0000000..2f9015b --- /dev/null +++ b/EMEA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource - Requests" + description = "Success rate of LinkStoreSubscriptionsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf b/NA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf new file mode 100644 index 0000000..55ccc36 --- /dev/null +++ b/NA_PROD/slo/VCIS_CDR_ServicePartnerResource.tf @@ -0,0 +1,33 @@ +module VCIS_CDR_ServicePartnerResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - ServicePartnerResource" + + description = "ServicePartnerResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"ServicePartnerResource - vcis-information - prod\"),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/VCIS_CDR_ServicePartnerResource_Requests.tf b/NA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf new file mode 100644 index 0000000..6d645d0 --- /dev/null +++ b/NA_PROD/slo/VCIS_CDR_ServicePartnerResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_CDR_ServicePartnerResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - ServicePartnerResource - Requests" + description = "Success rate of ServicePartnerResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"ServicePartnerResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"setServicePartner~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"ServicePartnerResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"setServicePartner~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_CDR_VehicleImageResource.tf b/NA_PROD/slo/VCIS_CDR_VehicleImageResource.tf new file mode 100644 index 0000000..ba80d9c --- /dev/null +++ b/NA_PROD/slo/VCIS_CDR_VehicleImageResource.tf @@ -0,0 +1,33 @@ +module VCIS_CDR_VehicleImageResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - VehicleImageResource" + + description = "VehicleImageResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"VehicleImageResource - vcis-information - prod\"),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/VCIS_CDR_VehicleImageResource_Requests.tf b/NA_PROD/slo/VCIS_CDR_VehicleImageResource_Requests.tf new file mode 100644 index 0000000..6f96e0c --- /dev/null +++ b/NA_PROD/slo/VCIS_CDR_VehicleImageResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_CDR_VehicleImageResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-CDR - VehicleImageResource - Requests" + description = "Success rate of VehicleImageResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"VehicleImageResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getVehicleImageByVin~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"VehicleImageResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getVehicleImageByVin~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf new file mode 100644 index 0000000..9dda980 --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreAppsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource" + + description = "LinkStoreAppsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreAppsResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreAppsResource_Requests.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf new file mode 100644 index 0000000..79dc9b8 --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreAppsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreAppsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreAppsResource - Requests" + description = "Success rate of LinkStoreAppsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~", ~"getPublishedApps~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreAppsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getOfferedApps~", ~"getNewApps~", ~"getPublishedApps~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf new file mode 100644 index 0000000..7fbdf03 --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreImagesResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreImagesResource" + + description = "LinkStoreImagesResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreImagesResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreImagesResource_Requests.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf new file mode 100644 index 0000000..e087abf --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreImagesResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreImagesResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreImagesResource - Requests" + description = "Success rate of LinkStoreImagesResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreImagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreImagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf new file mode 100644 index 0000000..1e9e50a --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreResetResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreResetResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource" + + description = "LinkStoreResetResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreResetResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreResetResource_Requests.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf new file mode 100644 index 0000000..6ec92c9 --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreResetResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreResetResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreResetResource - Requests" + description = "Success rate of LinkStoreResetResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreResetResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getSubscriptions~", ~"addAppSubscription~", ~"deleteAppSubscription~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file diff --git a/NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf new file mode 100644 index 0000000..c0629fe --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource.tf @@ -0,0 +1,33 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource" + + description = "LinkStoreSubscriptionsResource" + + + + #entity selector object + filter = "type(\"SERVICE\"),entityName(\"LinkStoreSubscriptionsResource - vcis-information - prod\"),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/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf b/NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf new file mode 100644 index 0000000..2f9015b --- /dev/null +++ b/NA_PROD/slo/VCIS_LIS_LinkStoreSubscriptionsResource_Requests.tf @@ -0,0 +1,41 @@ +module VCIS_LIS_LinkStoreSubscriptionsResource_Requests { + + source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" + + + name = "VCIS-LIS - LinkStoreSubscriptionsResource - Requests" + description = "Success rate of LinkStoreSubscriptionsResource" + + + #entity selector object + filter = "" + + #metric expression of the calculation as done in data explorer ui + metric_expression = <<-EOT + +(100) * ((1) - +(builtin:service.keyRequest.errors.fivexx.count:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy()) +/ +(builtin:service.keyRequest.count.server:filter(and(or + (in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"), + entityName.in(~"LinkStoreSubscriptionsResource - vcis-information - prod~"), tag(~"Environment:PROD~")), + entityName.in(~"getImageById~")"))))) + :splitBy())) + +EOT + +#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 + +} \ No newline at end of file