OPMAAS-3201 - Updating SLO.
parent
86ef261ba6
commit
8d6c69aee0
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue