Pull request #5: added Perseus slo
Merge in OPAPM/coco_terraform_config from PerseusSLO to master * commit '313d5162b8f028a53c70da7fb50d5c086db06fa2': added Perseus sloSLO_VehicleListFix
commit
d8dd791290
|
|
@ -0,0 +1,74 @@
|
||||||
|
module Wirkkette__Personal_Favorites__-_Reliability_of_key_requests {
|
||||||
|
|
||||||
|
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||||
|
|
||||||
|
|
||||||
|
name = "Perseus - Reliability of key requests"
|
||||||
|
|
||||||
|
description = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#entity selector object
|
||||||
|
|
||||||
|
filter = ""
|
||||||
|
|
||||||
|
|
||||||
|
#metric expression of the calculation as done in data explorer ui
|
||||||
|
metric_expression = <<-EOT
|
||||||
|
(100)*
|
||||||
|
((1)-(builtin:service.keyRequest.errors.server.successCount:filter(
|
||||||
|
and(
|
||||||
|
or(
|
||||||
|
in(
|
||||||
|
"dt.entity.service_method",
|
||||||
|
entitySelector(
|
||||||
|
"type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"Perseus (/service) - cub-personalization - prod~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /service/api/vehicle/v1/gcid/[UUID]/vin/<VIN>/pds~",
|
||||||
|
~"PUT /service/api/vehicle/v1/gcid/[UUID]/vin/<VIN>/pds~",
|
||||||
|
~"createAssociationForGcidAndVin~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):splitBy())
|
||||||
|
/
|
||||||
|
(builtin:service.keyRequest.count.server:filter(
|
||||||
|
and(
|
||||||
|
or(
|
||||||
|
in(
|
||||||
|
"dt.entity.service_method",
|
||||||
|
entitySelector(
|
||||||
|
"type(service_method),
|
||||||
|
fromRelationship.isServiceMethodOfService(
|
||||||
|
type(~"SERVICE~"),entityName.in(
|
||||||
|
~"Perseus (/service) - cub-personalization - prod~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /service/api/vehicle/v1/gcid/[UUID]/vin/<VIN>/pds~",
|
||||||
|
~"PUT /service/api/vehicle/v1/gcid/[UUID]/vin/<VIN>/pds~",
|
||||||
|
~"createAssociationForGcidAndVin~"
|
||||||
|
)")
|
||||||
|
)
|
||||||
|
))):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