[INFOTAIN-33521] [BCH] Setup of Dynatrace dashboards
parent
7152bd3385
commit
767583066a
|
|
@ -0,0 +1,41 @@
|
||||||
|
module AWA_bch_ContentResource_Requests {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "AWA-bch - ContentResource - Requests"
|
||||||
|
description = "Success rate of ContentResource"
|
||||||
|
|
||||||
|
|
||||||
|
#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(~"ContentResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"getContentCollection~")")))))
|
||||||
|
:splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(and(or
|
||||||
|
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||||
|
entityName.in(~"ContentResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"getContentCollection~")")))))
|
||||||
|
: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,41 @@
|
||||||
|
module AWA_bch_IPAContentResource_Requests {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "AWA-bch - IPAContentResource - Requests"
|
||||||
|
description = "Success rate of IPAContentResource"
|
||||||
|
|
||||||
|
|
||||||
|
#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(~"IPAContentResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"getContent~")")))))
|
||||||
|
:splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(and(or
|
||||||
|
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||||
|
entityName.in(~"IPAContentResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"getContent~")")))))
|
||||||
|
: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,41 @@
|
||||||
|
module AWA_bch_PingResource_Requests {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "AWA-bch - PingResource - Requests"
|
||||||
|
description = "Success rate of PingResource"
|
||||||
|
|
||||||
|
|
||||||
|
#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(~"PingResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"ping~")")))))
|
||||||
|
:splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(and(or
|
||||||
|
(in("dt.entity.service_method",entitySelector("type(service_method),fromRelationship.isServiceMethodOfService(type(~"SERVICE~"),
|
||||||
|
entityName.in(~"PingResource - awa - prod~"), tag(~"Environment:PROD~")),
|
||||||
|
entityName.in(~"ping~")")))))
|
||||||
|
: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