Modified SLO.

OPMAAS-3201
SLW\ARNAUA 2023-01-17 12:39:08 +01:00
parent 0e2e54d6eb
commit e42726ead7
1 changed files with 12 additions and 18 deletions

View File

@ -15,24 +15,18 @@ module Wirkkette__TMALL_Genie__-_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 = <<-EOT metric_expression = <<-EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method), (100)*
fromRelationship.isServiceMethodOfService( (builtin:service.errors.server.successCount:filter(in("dt.entity.service",
type(~"SERVICE~"),entityName.in( entitySelector("type(~"SERVICE~"),entityName.in(
~"cn-tmall-genie-composite-service - PROD~", ~"cn-tmall-genie-composite-service - PROD~",
~"hvd (/hvd) - hvd - prod~" ~"hvd (/hvd) - hvd - prod~"
) )"))):splitBy())
) /
,entityName.in( (builtin:service.requestCount.server:filter(in("dt.entity.service",
~"/api/v1/presentation/tmall/audioplayer~", entitySelector("type(~"SERVICE~"),entityName.in(
~"/api/v1/presentation/tmall/checkstatus~", ~"cn-tmall-genie-composite-service - PROD~",
~"/api/v1/presentation/tmall/gettmallfeaturetogglestatus~", ~"hvd (/hvd) - hvd - prod~"
~"/api/v1/presentation/tmall/loginurl?brand=bmw~", )"))):splitBy())
~"/api/v1/presentation/tmall/playback~",
~"/api/v1/presentation/tmall/playload?playloadid={param}~",
~"/hvd/keywords~",
~"/hvd/speech~",
~"/hvd/VersionInfo~"
)"))))):splitBy())
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"