adjusting SLO for Personal Favorites in CN
parent
03c1d03a5e
commit
b0e1ac194d
|
|
@ -15,17 +15,29 @@ module Wirkkette__Personal_Favorites__-_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),
|
||||
(100)* ((builtin:service.keyRequest.errors.server.successCount:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-destination-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"GET /api/v3/favorites~",
|
||||
~"POST /api/v3/favorites~",
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-destination-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"GET /api/v3/favorites/~",
|
||||
~"POST /api/v3/favorites/~",
|
||||
~"PUT /api/v3/favorites/<favoriteId>~"
|
||||
)"))))):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-destination-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"GET /api/v3/favorites/~",
|
||||
~"POST /api/v3/favorites/~",
|
||||
~"PUT /api/v3/favorites/<favoriteId>~"
|
||||
)"))))):splitBy())
|
||||
)"))))):splitBy()))
|
||||
|
||||
EOT
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue