Pull request #25: INFOTAIN-30044: Add ID5 and ID7 SLOs

Merge in OPAPM/coco_terraform_config from feature/INFOTAIN-30044-id5-id7-create-slos to master

* commit '9c9e2847b51e645b74de1a26c8d065fbaa867bc3':
  OPMAAS-2671 + INFOTAIN-30044: Add ID5 and ID7 SLOs
feature/INFOTAIN-30043-lis-cdr-create-slos
Diogo Dores (CTW) 2022-10-19 09:53:25 +00:00 committed by Arnel Arnautovic (ext.)
commit 3fc6461de8
24 changed files with 888 additions and 0 deletions

View File

@ -0,0 +1,33 @@
module VCIS_ID5_SessionServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1"
description = "SessionServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SessionServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_SessionServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1 - Requests"
description = "Success rate of SessionServiceV1"
#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(~"SessionServiceV1 - information~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SessionServiceV1 - information~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID7_StoreService {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService"
description = "StoreService"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"StoreService - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID7_StoreService_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService - Requests"
description = "Success rate of StoreService"
#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(~"StoreService - information~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV1Emea~", ~"imageV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"StoreService - information~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV1Emea~", ~"imageV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_ParkinfoServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - ParkinfoServiceV1"
description = "ParkinfoServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"ParkinfoServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_ParkinfoServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - ParkinfoServiceV1 - Requests"
description = "Success rate of ParkinfoServiceV1"
#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(~"ParkinfoServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getDynamicParking~", ~"getPoisByCategory~", ~"getCategoriesV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"ParkinfoServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getDynamicParking~", ~"getPoisByCategory~", ~"getCategoriesV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_SPMServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SPMServiceV1"
description = "SPMServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SPMServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_SPMServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SPMServiceV1 - Requests"
description = "Success rate of SPMServiceV1"
#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(~"SPMServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartners~", ~"currentServicePartnersV2~", ~"getServicePartnersV2~", ~"saveServicePartners~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SPMServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartnersV2~", ~"getServicePartnersV2~", ~"saveServicePartners~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_SessionServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1"
description = "SessionServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SessionServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_SessionServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1 - Requests"
description = "Success rate of SessionServiceV1"
#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(~"SessionServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SessionServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID7_SPMService {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - SPMService"
description = "SPMService"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SPMService - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID7_SPMService_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - SPMService - Requests"
description = "Success rate of SPMService"
#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(~"SPMService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartners~", ~"getServicePartners~", ~"saveServicePartners~", ~"deleteServicePartners~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SPMService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartners~", ~"getServicePartners~", ~"saveServicePartners~", ~"deleteServicePartners~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID7_StoreService {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService"
description = "StoreService"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"StoreService - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID7_StoreService_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService - Requests"
description = "Success rate of StoreService"
#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(~"StoreService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV3~", ~"imageV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"StoreService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV3~", ~"imageV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_ParkinfoServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - ParkinfoServiceV1"
description = "ParkinfoServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"ParkinfoServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_ParkinfoServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - ParkinfoServiceV1 - Requests"
description = "Success rate of ParkinfoServiceV1"
#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(~"ParkinfoServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getDynamicParking~", ~"getPoisByCategory~", ~"getCategoriesV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"ParkinfoServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getDynamicParking~", ~"getPoisByCategory~", ~"getCategoriesV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_SPMServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SPMServiceV1"
description = "SPMServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SPMServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_SPMServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SPMServiceV1 - Requests"
description = "Success rate of SPMServiceV1"
#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(~"SPMServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartnersV2~", ~"getServicePartnersV2~", ~"saveServicePartners~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SPMServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartnersV2~", ~"getServicePartnersV2~", ~"saveServicePartners~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID5_SessionServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1"
description = "SessionServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SessionServiceV1 - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID5_SessionServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID5 - SessionServiceV1 - Requests"
description = "Success rate of SessionServiceV1"
#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(~"SessionServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SessionServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getSessionV1~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID7_SPMService {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - SPMService"
description = "SPMService"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"SPMService - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID7_SPMService_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - SPMService - Requests"
description = "Success rate of SPMService"
#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(~"SPMService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartners~", ~"getServicePartners~", ~"saveServicePartners~", ~"deleteServicePartners~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"SPMService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"currentServicePartners~", ~"getServicePartners~", ~"saveServicePartners~", ~"deleteServicePartners~")")))))
: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
}

View File

@ -0,0 +1,33 @@
module VCIS_ID7_StoreService {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService"
description = "StoreService"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"StoreService - 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
}

View File

@ -0,0 +1,41 @@
module VCIS_ID7_StoreService_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-ID7 - StoreService - Requests"
description = "Success rate of StoreService"
#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(~"StoreService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"StoreService - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"productsV1~")")))))
: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
}