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 of the calculation as done in data explorer ui
|
||||||
metric_expression = <<EOT
|
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(
|
fromRelationship.isServiceMethodOfService(
|
||||||
type(~"SERVICE~"),entityName.in(
|
type(~"SERVICE~"),entityName.in(
|
||||||
~"btc-destination-composite-service - PROD~"
|
~"btc-destination-composite-service - PROD~"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"GET /api/v3/favorites~",
|
~"GET /api/v3/favorites/~",
|
||||||
~"POST /api/v3/favorites~",
|
~"POST /api/v3/favorites/~",
|
||||||
~"PUT /api/v3/favorites/<favoriteId>~"
|
~"PUT /api/v3/favorites/<favoriteId>~"
|
||||||
)"))))):splitBy())
|
)"))))):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()))
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue