COMFY-1088: Switch to name-based SLOs for AppD_OAP and AppD_ID5 VDM SLOs

feature/vdm-slo-appd
Markus Dlugi 2023-04-21 13:01:27 +02:00
parent 0b4d32e9cf
commit 9ff62d7e92
12 changed files with 498 additions and 0 deletions

View File

@ -0,0 +1,41 @@
module VDM_-_AppD_ID5_-_CN_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - CN E2E"
description = "CCNtom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - e2e~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,41 @@
module VDM_-_AppD_ID5_-_CN_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - CN PROD"
description = "CCNtom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - prod~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_CN_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - CN E2E"
description = "CCNtom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - e2e~",
~"ReleaseNotesResource - app-distribution - e2e~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_CN_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - CN PROD"
description = "CCNtom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - prod~",
~"ReleaseNotesResource - app-distribution - prod~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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,41 @@
module VDM_-_AppD_ID5_-_EMEA_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - EMEA E2E"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - e2e~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,41 @@
module VDM_-_AppD_ID5_-_EMEA_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - EMEA PROD"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - prod~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_EMEA_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - EMEA E2E"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - e2e~",
~"ReleaseNotesResource - app-distribution - e2e~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_EMEA_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - EMEA PROD"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - prod~",
~"ReleaseNotesResource - app-distribution - prod~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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,41 @@
module VDM_-_AppD_ID5_-_US_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - US E2E"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - e2e~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,41 @@
module VDM_-_AppD_ID5_-_US_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_ID5 - US PROD"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution ID5"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppsServiceV1 - id5-app - prod~"
)
)
,entityName.in(
~"getAppV2~",
~"getAppListV2~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_US_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - US E2E"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - e2e~",
~"ReleaseNotesResource - app-distribution - e2e~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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,42 @@
module VDM_-_AppD_OAP_-_US_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - AppD_OAP - US PROD"
description = "Custom Vehicle Device Management (VDM) SLO for App Distribution OAP"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"AppVersionsResource - app-distribution - prod~",
~"ReleaseNotesResource - app-distribution - prod~"
)
)
,entityName.in(
~"getActiveVersionsForApp~",
~"getReleaseNotes~"
)"))))):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
}