Adjusting SLOs for Remote Services
parent
506b5eca49
commit
2a81d01ec1
|
|
@ -12,66 +12,34 @@ module TP_Mobile_RemoteServices {
|
|||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
metric_expression = <<-EOT
|
||||
(100)*
|
||||
((builtin:service.keyRequest.errors.server.successCount:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
||||
)")
|
||||
)
|
||||
)):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
||||
)")
|
||||
)
|
||||
)):splitBy()))
|
||||
(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-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventPosition~"
|
||||
)"))))):splitBy())
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
|
|||
|
|
@ -15,66 +15,34 @@ module Wirkkette__Remote_Services__-_Reliability_of_key_requests {
|
|||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
metric_expression = <<-EOT
|
||||
(100)*
|
||||
((builtin:service.keyRequest.errors.server.successCount:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
||||
)")
|
||||
)
|
||||
)):splitBy())
|
||||
/
|
||||
(builtin:service.keyRequest.count.server:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
||||
)")
|
||||
)
|
||||
)):splitBy()))
|
||||
(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-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-lock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventPosition~"
|
||||
)"))))):splitBy())
|
||||
EOT
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ module TP_Mobile_RemoteServices {
|
|||
~"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~"
|
||||
~"POST /api/v3/presentation/remote-commands/eventPosition~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||
)"))))):splitBy())
|
||||
|
||||
EOT
|
||||
|
|
|
|||
|
|
@ -22,17 +22,28 @@ module Wirkkette__Remote_Services__-_Reliability_of_key_requests {
|
|||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/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>/vehicle-finder~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"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/v3/presentation/remote-commands/<VIN>/climate-now~",
|
||||
~"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/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/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/eventPosition~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventPosition~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||
)"))))):splitBy())
|
||||
|
||||
EOT
|
||||
|
|
|
|||
|
|
@ -38,7 +38,9 @@ module TP_Mobile_RemoteServices {
|
|||
~"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>~"
|
||||
~"GET /api/v3/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||
)"))))):splitBy())
|
||||
|
||||
EOT
|
||||
|
|
|
|||
|
|
@ -16,24 +16,35 @@ module Wirkkette__Remote_Services__-_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),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service - PROD~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/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>/vehicle-finder~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
||||
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventPosition~",
|
||||
)"))))):splitBy())
|
||||
,entityName.in(
|
||||
~"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/v3/presentation/remote-commands/<VIN>/door-unlock~",
|
||||
~"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/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>/light-flash~",
|
||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||
~"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>~",
|
||||
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||
)"))))):splitBy())
|
||||
|
||||
|
||||
EOT
|
||||
|
|
|
|||
Loading…
Reference in New Issue