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