Adjusting SLOs for Remote Services in EMEA and NA

OPMAAS-3500-2
Mohammed Abadel 2023-02-24 14:03:47 +01:00
parent 9dae6fd342
commit 7e778f0b1c
4 changed files with 65 additions and 29 deletions

View File

@ -12,22 +12,33 @@ module TP_Mobile_RemoteServices {
#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-destination-composite-service - PROD~" ~"btc-vehicle-remote-commands-composite-service - PROD~"
) )
) )
,entityName.in( ,entityName.in(
~"POST /api/v2/favorites/~", ~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
~"POST /api/v3/favorites/~", ~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
~"GET /api/v2/favorites/~", ~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
~"GET /api/v3/favorites/~", ~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
~"GET /api/v1/favorites~", ~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
~"PUT /api/v2/favorites/<favoriteId>~", ~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
~"PUT /api/v3/favorites/<favoriteId>~", ~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
~"PUT /api/v2/favorites/homework/1~", ~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
~"PUT /api/v2/favorites/homework/2~" ~"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/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/eventPosition~",
~"POST /api/v3/presentation/remote-commands/eventPosition~"
)"))))):splitBy()) )"))))):splitBy())
EOT EOT

View File

@ -15,22 +15,33 @@ 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-destination-composite-service - PROD~" ~"btc-vehicle-remote-commands-composite-service - PROD~"
) )
) )
,entityName.in( ,entityName.in(
~"POST /api/v2/favorites/~", ~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
~"POST /api/v3/favorites/~", ~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
~"GET /api/v2/favorites/~", ~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
~"GET /api/v3/favorites/~", ~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
~"GET /api/v1/favorites~", ~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
~"PUT /api/v2/favorites/<favoriteId>~", ~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
~"PUT /api/v3/favorites/<favoriteId>~", ~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
~"PUT /api/v2/favorites/homework/1~", ~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
~"PUT /api/v2/favorites/homework/2~" ~"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/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/eventPosition~",
~"POST /api/v3/presentation/remote-commands/eventPosition~"
)"))))):splitBy()) )"))))):splitBy())
EOT EOT

View File

@ -12,7 +12,7 @@ module TP_Mobile_RemoteServices {
#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~"
@ -20,18 +20,25 @@ module TP_Mobile_RemoteServices {
) )
,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>/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>/climate-now~", ~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
~"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>/vehicle-finder~",
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~", ~"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>/light-flash~", ~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~", ~"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>/horn-blow~",
~"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~",
~"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>~",
~"POST /api/v2/presentation/remote-commands/eventStatus~" ~"GET /api/v3/presentation/remote-history/<VIN>~"
)"))))):splitBy()) )"))))):splitBy())
EOT EOT

View File

@ -23,18 +23,25 @@ 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>/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>/climate-now~", ~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
~"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>/vehicle-finder~",
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~", ~"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>/light-flash~", ~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~", ~"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>/horn-blow~",
~"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~",
~"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>~",
~"POST /api/v2/presentation/remote-commands/eventStatus~" ~"GET /api/v3/presentation/remote-history/<VIN>~"
)"))))):splitBy()) )"))))):splitBy())
EOT EOT