Pull request #27: OPMAAS-2671 + INFOTAIN-30042: Added tf files for eml and vps services

Merge in OPAPM/coco_terraform_config from feature/INFOTAIN-30042-eml-vps-create-key-requests-and-slos to master

* commit '549dd733a4871425b155c952102a411e882be310':
  INFOTAIN-30042: Fixed naming issues
  OPMAAS-2671 + INFOTAIN-30042: Added tf files for eml and vps services
fix_VCIS_GEN2_NBT
Jaqueline Andre (CTW) 2022-10-21 13:30:07 +00:00 committed by Diego Kasika (ext.)
commit 30e4e2f4db
24 changed files with 960 additions and 0 deletions

View File

@ -0,0 +1,33 @@
module VCIS_VPS_VehicleProfileResource_-_information {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource - information"
description = "VehicleProfileResource - information"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - 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,47 @@
module VCIS_VPS_VehicleProfileResource_-_information_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource - information - Requests"
description = "Success rate of VehicleProfileResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - information\"),tag(\"Environment:PROD\")"
#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(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
: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_EML_EmailAccountResourceV2 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailAccountResourceV2"
description = "EmailAccountResourceV2"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailAccountResourceV2 - 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,47 @@
module VCIS_EML_EmailAccountResourceV2_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailAccountResourceV2 - Requests"
description = "Success rate of EmailAccountResourceV2"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailAccountResourceV2 - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailAccountResourceV2 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validateInboxSettingV2~", ~"getEmailAccountsV2~", ~"createEmailAccountV2~", ~"updateEmailAccountByIdV2~", ~"deleteEmailAccountByIdV2~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailAccountResourceV2 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validateInboxSettingV2~", ~"getEmailAccountsV2~", ~"createEmailAccountV2~", ~"updateEmailAccountByIdV2~", ~"deleteEmailAccountByIdV2~")")))))
: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_EML_EmailProvidersResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailProvidersResource"
description = "EmailProvidersResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailProvidersResource - 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,47 @@
module VCIS_EML_EmailProvidersResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailProvidersResource - Requests"
description = "Success rate of EmailProvidersResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailProvidersResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailProvidersResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailProvidersByGCID~", ~"getEmailProvidersByMarket~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailProvidersResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailProvidersByGCID~", ~"getEmailProvidersByMarket~")")))))
: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_EML_EmailResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailResource"
description = "EmailResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailResource - 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,47 @@
module VCIS_EML_EmailResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailResource - Requests"
description = "Success rate of EmailResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validate~", ~"getInbox~", ~"sendMessage~", ~"getMessage~", ~"deleteMessage~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validate~", ~"getInbox~", ~"sendMessage~", ~"getMessage~", ~"deleteMessage~")")))))
: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_EML_EmailTemplateResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS - EmailTemplateResource"
description = "EmailTemplateResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailTemplateResource - 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,47 @@
module VCIS_EML_EmailTemplateResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailTemplateResource - Requests"
description = "Success rate of EmailTemplateResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailTemplateResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailTemplateResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailTemplates~", ~"updateEmailTemplateById~", ~"createEmailTemplate~", ~"deleteEmailTemplateById~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailTemplateResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailTemplates~", ~"updateEmailTemplateById~", ~"createEmailTemplate~", ~"deleteEmailTemplateById~")")))))
: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_EML_OfficeServiceV1 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - OfficeServiceV1"
description = "OfficeServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"OfficeServiceV1 - 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,47 @@
module VCIS_EML_OfficeServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - OfficeServiceV1 - Requests"
description = "Success rate of OfficeServiceV1"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"OfficeServiceV1 - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"OfficeServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"mailV1~", ~"maillistV1~", ~"configV1~", ~"mailboxesV1~", ~"providerListV1~", ~"sendV1~", ~"markreadV1~", ~"deleteV1~", ~"removeV1~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"OfficeServiceV1 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"mailV1~", ~"maillistV1~", ~"configV1~", ~"mailboxesV1~", ~"providerListV1~", ~"sendV1~", ~"markreadV1~", ~"deleteV1~", ~"removeV1~")")))))
: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_EML_PrivacyEmailAccountResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - PrivacyEmailAccountResource "
description = "PrivacyEmailAccountResource "
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"PrivacyEmailAccountResource - 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,47 @@
module VCIS_EML_OfficeServiceV1_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - PrivacyEmailAccountResource - Requests"
description = "Success rate of PrivacyEmailAccountResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"PrivacyEmailAccountResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"PrivacyEmailAccountResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailAccounts~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"PrivacyEmailAccountResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailAccounts~")")))))
: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_VPS_VehicleProfileResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource"
description = "VehicleProfileResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - 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,47 @@
module VCIS_VPS_VehicleProfileResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource - Requests"
description = "Success rate of VehicleProfileResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
: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_EML_EmailAccountResourceV2 {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailAccountResourceV2"
description = "EmailAccountResourceV2"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailAccountResourceV2 - 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,47 @@
module VCIS_EML_EmailAccountResourceV2_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailAccountResourceV2 - Requests"
description = "Success rate of EmailAccountResourceV2"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailAccountResourceV2 - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailAccountResourceV2 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailAccountsV2~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailAccountResourceV2 - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailAccountsV2~")")))))
: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_EML_EmailProvidersResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailProvidersResource"
description = "EmailProvidersResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailProvidersResource - 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,47 @@
module VCIS_EML_EmailProvidersResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailProvidersResource - Requests"
description = "Success rate of EmailProvidersResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailProvidersResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailProvidersResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailProvidersByMarket~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailProvidersResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"getEmailProvidersByMarket~")")))))
: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_EML_EmailResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailResource"
description = "EmailResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailResource - 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,47 @@
module VCIS_EML_EmailResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-EML - EmailResource - Requests"
description = "Success rate of EmailResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"EmailResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"EmailResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validate~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"EmailResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"validate~")")))))
: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_VPS_VehicleProfileResource {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource"
description = "VehicleProfileResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - 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,47 @@
module VCIS_VPS_VehicleProfileResource_Requests {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "VCIS-VPS - VehicleProfileResource - Requests"
description = "Success rate of VehicleProfileResource"
#entity selector object
filter = "type(\"SERVICE\"),entityName(\"VehicleProfileResource - vcis-information - prod\"),tag(\"Environment:PROD\")"
#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(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
:splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
entityName.in(~"VehicleProfileResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
entityName.in(~"saveVehicleProfile~", ~"readVehicleProfile~", ~"deleteAll~")")))))
: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
}