Pull request #118: OPMAAS-3863: Update VDM SLOs for NOTS after Orbit migration

Merge in OPAPM/coco_terraform_config from feature/vdm-slo-nots to master

* commit '62978f34804fede5c2e9cb60e06214c1dff70ca9':
  COMFY-1088: Update VDM SLOs for NOTS after Orbit migration
feature/vdm-slo-rsu
Markus Dlugi (DE-721) 2023-04-21 06:03:24 +00:00 committed by Arnel Arnautovic (ext.)
commit 19d0ff0e19
6 changed files with 261 additions and 129 deletions

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_CN_E2E { module VDM_-_NOTS_-_CN_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - CN E2E"
description = ""
name = "VDM - NOTS - CN E2E"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-8E703EDEDA31BF8F\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99 }y
}

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_CN_PROD { module VDM_-_NOTS_-_CN_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - CN PROD"
description = ""
name = "VDM - NOTS - CN PROD"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-F6A5DC9D2F0F1F62\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99
} }

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_EMEA_E2E { module VDM_-_NOTS_-_EMEA_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - EMEA E2E"
description = ""
name = "VDM - NOTS - EMEA E2E"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-DEDD62F697A3C372\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99 }y
}

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_EMEA_PROD { module VDM_-_NOTS_-_EMEA_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - EMEA PROD"
description = ""
name = "VDM - NOTS - EMEA PROD"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-CE788B3AD8FD0282\",\"SERVICE_METHOD-3F987956036D78AC\",\"SERVICE_METHOD-05476CBC4E53F97B\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99
} }

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_US_E2E { module VDM_-_NOTS_-_US_E2E {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - US E2E"
description = ""
name = "VDM - NOTS - US E2E"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-8E703EDEDA31BF8F\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99 }y
}

View File

@ -1,33 +1,55 @@
module VDM_-_NOTS_-_US_PROD { module VDM_-_NOTS_-_US_PROD {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective" source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VDM - NOTS - US PROD"
description = ""
name = "VDM - NOTS - US PROD"
#entity selector object description = "Custom Vehicle Device Management (VDM) SLO for Notification Service (NOTS)"
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-F6A5DC9D2F0F1F62\")"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui #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 #currently the only possible value
evaluation = "AGGREGATE" evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double #Target and warning percentage of the SLO as double
target = 98 target = 98 #if not set(removed) it's defaulted to 98
#if not set(removed) it's defaulted to 98 warning = 99 #if not set(removed) it's defaulted to 99
warning = 99
#if not set(removed) it's defaulted to 99
} }