Merge branch 'master' of https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config
commit
1a11adddb8
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_ContentDelivery {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - ContentDelivery"
|
||||||
|
|
||||||
|
description = "ContentDelivery"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_Login {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - Login"
|
||||||
|
|
||||||
|
description = "Login"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"Login\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_MyModesUser {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - MyModesUser"
|
||||||
|
|
||||||
|
description = "MyModesUser"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -14,7 +14,45 @@ module Wirkkette__Vehicle_List__-_Reliability_of_key_requests {
|
||||||
|
|
||||||
|
|
||||||
#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 = "(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(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v1/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(
|
||||||
|
and(
|
||||||
|
or(
|
||||||
|
in(
|
||||||
|
"dt.entity.service_method",
|
||||||
|
entitySelector(
|
||||||
|
"type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v1/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy()))
|
||||||
|
EOT
|
||||||
|
|
||||||
|
|
||||||
#if not set (removed) it's defaulted to "-1d"
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_ContentDelivery {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - ContentDelivery"
|
||||||
|
|
||||||
|
description = "ContentDelivery"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_Login {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - Login"
|
||||||
|
|
||||||
|
description = "Login"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"Login\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_MyModesUser {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - MyModesUser"
|
||||||
|
|
||||||
|
description = "MyModesUser"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module Wirkkette__Mapping__-_Reliability_of_key_requests_1h {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Wirkkette \"Mapping\" - Reliability of key requests (1h)"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-1AC76065E0B61FEB\",\"SERVICE_METHOD-CE63D366DB9BC737\",\"SERVICE_METHOD-1B322B1000BC6BB2\",\"SERVICE_METHOD-788BC4F666686871\",\"SERVICE_METHOD-1DB00C9EFA246205\",\"SERVICE_METHOD-7E6EFAB2B32CBF87\")"
|
||||||
|
|
||||||
|
|
||||||
|
#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()))"
|
||||||
|
|
||||||
|
|
||||||
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
timeframe = "-1h"
|
||||||
|
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -10,12 +10,49 @@ module Wirkkette__Vehicle_List__-_Reliability_of_key_requests {
|
||||||
|
|
||||||
|
|
||||||
#entity selector object
|
#entity selector object
|
||||||
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-E517DA3439F6DADF\")"
|
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 = "(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(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v2/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(
|
||||||
|
and(
|
||||||
|
or(
|
||||||
|
in(
|
||||||
|
"dt.entity.service_method",
|
||||||
|
entitySelector(
|
||||||
|
"type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v2/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy()))
|
||||||
|
EOT
|
||||||
|
|
||||||
#if not set (removed) it's defaulted to "-1d"
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
timeframe = "-1d"
|
timeframe = "-1d"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_ContentDelivery {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - ContentDelivery"
|
||||||
|
|
||||||
|
description = "ContentDelivery"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"ContentDelivery\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_Login {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - Login"
|
||||||
|
|
||||||
|
description = "Login"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"Login\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
module ICES_-_MyModesUser {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "ICES - MyModesUser"
|
||||||
|
|
||||||
|
description = "MyModesUser"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
filter = "type(\"SERVICE\"),entityName(\"MyModesUser\"),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
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -14,8 +14,45 @@ module Wirkkette__Vehicle_List__-_Reliability_of_key_requests {
|
||||||
|
|
||||||
|
|
||||||
#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 = "(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(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v2/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(
|
||||||
|
and(
|
||||||
|
or(
|
||||||
|
in(
|
||||||
|
"dt.entity.service_method",
|
||||||
|
entitySelector(
|
||||||
|
"type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"btc-vehicle-composite-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v2/vehicles~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy()))
|
||||||
|
EOT
|
||||||
|
|
||||||
#if not set (removed) it's defaulted to "-1d"
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
timeframe = "-1d"
|
timeframe = "-1d"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue