adjusting Login SLO to use request names
parent
1dc3e4f4f5
commit
0ed8dd389b
|
|
@ -10,11 +10,29 @@ module Wirkkette__Login__-_Reliability_of_key_requests {
|
||||||
|
|
||||||
|
|
||||||
#entity selector object
|
#entity selector object
|
||||||
filter = "type(SERVICE_METHOD), entityId(\"SERVICE_METHOD-84F87D8410ABA403\",\"SERVICE_METHOD-86465B09DC66BBE0\",\"SERVICE_METHOD-1B22745380A7C623\",\"SERVICE_METHOD-088B596887552FD5\",\"SERVICE_METHOD-0292944A45273EAF\",\"SERVICE_METHOD-4F44F598AF45E706\",\"SERVICE_METHOD-06C40F0A6D686A91\",\"SERVICE_METHOD-DD69656861D8D027\",\"SERVICE_METHOD-86465B09DC66BBE0\")"
|
filter = ""
|
||||||
|
|
||||||
|
|
||||||
#metric expression of the calculation as done in data explorer ui
|
#metric expression of the calculation as done in data explorer ui
|
||||||
metric_expression = "(100)*(builtin:service.keyRequest.errors.server.successCount:splitBy())/(builtin:service.keyRequest.count.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~"),entityName.in(
|
||||||
|
~"btc-user-composite-service - PROD~",
|
||||||
|
~"btc-cn-connected-oauth-service - PROD~"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
,entityName.in(
|
||||||
|
~"GET /api/v1/presentation/profile-account~",
|
||||||
|
~"GET /api/v2/presentation/profile-account~",
|
||||||
|
~"POST /api/v2/presentation/profile-account~",
|
||||||
|
~"GET /api/v1/presentation/profile-tab/contacts~",
|
||||||
|
~"/api/v2/cop/login/pwd~",
|
||||||
|
~"/api/v2/cop/login/sms~",
|
||||||
|
~"/api/v2/cop/sso~",
|
||||||
|
~"/api/v2/cop/logout~"
|
||||||
|
)"))))):splitBy())
|
||||||
|
EOT
|
||||||
|
|
||||||
|
|
||||||
#if not set (removed) it's defaulted to "-1d"
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue