OPMAAS-2671: Add LOC SLOs
parent
8c9d791b5d
commit
7fe64b24af
|
|
@ -0,0 +1,33 @@
|
|||
module VCIS_LOC_ControlMessagesResource {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource"
|
||||
|
||||
description = "ControlMessagesResource"
|
||||
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE\"),entityName(\"ControlMessagesResource - 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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
module VCIS_LOC_ControlMessagesResource_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource - Requests"
|
||||
description = "Success rate of ControlMessagesResource"
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = ""
|
||||
|
||||
#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(~"ControlMessagesResource - information~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
:splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(or
|
||||
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||
entityName.in(~"ControlMessagesResource - information~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
: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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
module VCIS_LOC_ControlMessagesResource {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource"
|
||||
|
||||
description = "ControlMessagesResource"
|
||||
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE\"),entityName(\"ControlMessagesResource - 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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
module VCIS_LOC_ControlMessagesResource_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource - Requests"
|
||||
description = "Success rate of ControlMessagesResource"
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = ""
|
||||
|
||||
#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(~"ControlMessagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
:splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(or
|
||||
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||
entityName.in(~"ControlMessagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
: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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
module VCIS_LOC_ControlMessagesResource {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource"
|
||||
|
||||
description = "ControlMessagesResource"
|
||||
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE\"),entityName(\"ControlMessagesResource - 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
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
module VCIS_LOC_ControlMessagesResource_Requests {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "VCIS-LOC - ControlMessagesResource - Requests"
|
||||
description = "Success rate of ControlMessagesResource"
|
||||
|
||||
|
||||
#entity selector object
|
||||
filter = ""
|
||||
|
||||
#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(~"ControlMessagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
:splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(or
|
||||
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||
entityName.in(~"ControlMessagesResource - vcis-information - prod~"), tag(~"Environment:PROD~")),
|
||||
entityName.in(~"getCBS~", ~"getCCM~")")))))
|
||||
: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
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue