COMFY-1088: Update VDM SLOs for NOTS after Orbit migration

feature/vdm-slo-nots
Markus Dlugi 2023-04-19 17:33:18 +02:00
parent 2c917d269f
commit 62978f3480
6 changed files with 261 additions and 129 deletions

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_CN_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - CN E2E"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-8E703EDEDA31BF8F\")"
name = "VDM - NOTS - CN E2E"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
}
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}y

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_CN_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - CN PROD"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-F6A5DC9D2F0F1F62\")"
name = "VDM - NOTS - CN PROD"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_EMEA_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - EMEA E2E"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-DEDD62F697A3C372\")"
name = "VDM - NOTS - EMEA E2E"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
}
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}y

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_EMEA_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - EMEA PROD"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-CE788B3AD8FD0282\",\"SERVICE_METHOD-3F987956036D78AC\",\"SERVICE_METHOD-05476CBC4E53F97B\")"
name = "VDM - NOTS - EMEA PROD"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_US_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - US E2E"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-8E703EDEDA31BF8F\")"
name = "VDM - NOTS - US E2E"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - e2e~",
~"NotificationApiResource - provisioning - e2e~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
}
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}y

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_US_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - US PROD"
description = ""
#entity selector object
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-F6A5DC9D2F0F1F62\")"
name = "VDM - NOTS - US PROD"
description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*((builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.server:splitBy()))"
metric_expression = <<EOT
(100)*((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"server (/nots) - provisioning - prod~",
~"NotificationApiResource - provisioning - prod~"
)
)
,entityName.in(
~"/nots/poll~",
~"notifyVehicles~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
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
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}