Adjusting SLOs for Remote Services
parent
506b5eca49
commit
2a81d01ec1
|
|
@ -12,8 +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)*
|
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
((builtin:service.keyRequest.errors.server.successCount:filter(and(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~"
|
||||||
|
|
@ -38,40 +37,9 @@ module TP_Mobile_RemoteServices {
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
~"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>/climate-timer~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||||
)")
|
~"POST /api/v3/presentation/remote-commands/eventPosition~"
|
||||||
)
|
)"))))):splitBy())
|
||||||
)):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()))
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
#if not set (removed) it's defaulted to "-1d"
|
#if not set (removed) it's defaulted to "-1d"
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,7 @@ 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)*
|
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
||||||
((builtin:service.keyRequest.errors.server.successCount:filter(and(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~"
|
||||||
|
|
@ -41,40 +40,9 @@ module Wirkkette__Remote_Services__-_Reliability_of_key_requests {
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/horn-blow~",
|
~"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>/climate-timer~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||||
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~"
|
~"POST /api/v3/presentation/remote-commands/<VIN>/vehicle-finder~",
|
||||||
)")
|
~"POST /api/v3/presentation/remote-commands/eventPosition~"
|
||||||
)
|
)"))))):splitBy())
|
||||||
)):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()))
|
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,9 @@ module TP_Mobile_RemoteServices {
|
||||||
~"GET /api/v3/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~"
|
~"POST /api/v3/presentation/remote-commands/eventPosition~",
|
||||||
|
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||||
|
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
|
|
@ -23,16 +23,27 @@ 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/v3/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>/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>/horn-blow~",
|
~"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/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~",
|
||||||
|
~"POST /api/v3/presentation/remote-commands/eventStatus~",
|
||||||
|
~"POST /api/v2/presentation/remote-commands/eventStatus~"
|
||||||
)"))))):splitBy())
|
)"))))):splitBy())
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,9 @@ module TP_Mobile_RemoteServices {
|
||||||
~"POST /api/v3/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>~",
|
||||||
~"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())
|
)"))))):splitBy())
|
||||||
|
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
|
|
@ -23,16 +23,27 @@ 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/v2/presentation/remote-commands/<VIN>/climate-now~",
|
~"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/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/v2/presentation/remote-commands/<VIN>/horn-blow~",
|
~"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~",
|
||||||
~"GET /api/v1/presentation/remote-history/<VIN>~",
|
~"POST /api/v3/presentation/remote-commands/<VIN>/light-flash~",
|
||||||
~"GET /api/v2/presentation/remote-history/<VIN>~",
|
~"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/<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/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())
|
)"))))):splitBy())
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue