OPMAAS-3201 - Updating SLO.

feature/INFOTAIN-30320-update-existing-dashboards-with-suggestions-on-previous-pr
SLW\ARNAUA 2023-01-13 13:53:30 +01:00
parent 86ef261ba6
commit 8d6c69aee0
1 changed files with 21 additions and 3 deletions

View File

@ -10,12 +10,30 @@ module Wirkkette__TMALL_Genie__-_Reliability_of_key_requests {
#entity selector object
filter = "entityId(\"SERVICE-4E2EEA9F71D5EAF7\",\"SERVICE-7505CF0CA333A3D9\")"
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = "(100)*(builtin:service.errors.server.successCount:splitBy())/(builtin:service.requestCount.server:splitBy())"
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~"),entityId(
~"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())
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"