Adjusting SLO for Remote Services to exclude v3 endpoints
parent
44e840a0bc
commit
6f357e40bc
|
|
@ -22,26 +22,17 @@ module Wirkkette__Remote_Services__-_Reliability_of_key_requests {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
|
||||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
|
||||||
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
||||||
~"POST /api/v3/presentation/remote-commands/eventPosition~"
|
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
|
|
@ -16,33 +16,25 @@ module Wirkkette__Remote_Services__-_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.fivexx.rate: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-vehicle-remote-commands-composite-service - PROD~"
|
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
,entityName.in(
|
,entityName.in(
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
)"))))):splitBy())
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
|
|
||||||
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
|
||||||
~"POST /api/v3/presentation/remote-commands/eventPosition~",
|
|
||||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
|
||||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
|
||||||
~"GET /api/v3/presentation/remote-history/<VIN>~"
|
|
||||||
)"))))):splitBy())
|
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue