fixed conflict

PerseusSLO
SLW\YELGIM 2022-04-14 10:49:07 +02:00
commit c6e9d0a3db
10 changed files with 428 additions and 96 deletions

View File

@ -0,0 +1,72 @@
module TP_Mobile_DigitalKey {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "TP_Mobile_DigitalKey"
description = "2.0 SLO Mobile"
#entity selector object
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*
((builtin:service.keyRequest.errors.server.successCount:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"TrackApi - smc - PROD~",
~"digital-key-composite-service - PROD~"
)
)
,entityName.in(
~"POST /smc2-bl/track/v2/trackKey~",
~"POST /smc2-bl/track/v2/manageKey~",
~"GET /api/v1/digitalkey/<VIN>/password~",
~"GET /api/v1/digitalkey/<VIN>/pairing~"
)")
)
))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"TrackApi - smc - PROD~",
~"digital-key-composite-service - PROD~"
)
)
,entityName.in(
~"POST /smc2-bl/track/v2/trackKey~",
~"POST /smc2-bl/track/v2/manageKey~",
~"GET /api/v1/digitalkey/<VIN>/password~",
~"GET /api/v1/digitalkey/<VIN>/pairing~"
)")
)
))):splitBy()))
"
EOT
#if not set (removed) it's defaulted to "-1d"
timeframe = "-1d"
#currently the only possible value
evaluation = "AGGREGATE"
#Target and warning percentage of the SLO as double
target = 98 #if not set(removed) it's defaulted to 98
warning = 99 #if not set(removed) it's defaulted to 99
}

View File

@ -12,25 +12,49 @@ module TP_Mobile_Login {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector( entitySelector(
"type(service_method), "type(service_method),
fromRelationship.isServiceMethodOfService( fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in type(~"SERVICE~"),entityName.in(
(~"btc-user-composite-service - PROD~") ~"btc-user-composite-service - PROD~",
) ~"btc-connected-oauth-service - PROD~"
,entityName.in( )
~"GET /api/v1/presentation/oauth/config~", )
~"GET /api/v1/presentation/profile-tab~", ,entityName.in(
~"POST /api/v1/oauth/token/identifier~" ~"GET /api/v1/presentation/oauth/config~",
)") ~"GET /api/v1/presentation/profile-tab~",
) ~"POST /api/v1/oauth/token/identifier~"
))):splitBy():sum:auto:sort(value(sum,descending)))" )")
)
))):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-user-composite-service - PROD~",
~"btc-connected-oauth-service - PROD~"
)
)
,entityName.in(
~"GET /api/v1/presentation/oauth/config~",
~"GET /api/v1/presentation/profile-tab~",
~"POST /api/v1/oauth/token/identifier~"
)")
)
))):splitBy()))
"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,54 @@ module TP_Mobile_Mapping {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"vehicle-mapping-composite-service - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in(
") ~"btc-user-composite-service - PROD~",
) ~"vehicle-mapping-composite-service - PROD~"
))):splitBy():auto:auto:sort(value(sum,descending)))" )
)
,entityName.in(
~"GET /api/v2/presentation/users/validate~",
~"POST /api/v2/vehicles/<VIN>/primary~",
~"POST /api/v2/vehicles/<VIN>/primary/map~",
~"POST /api/v1/vehicles/<VIN>/validate-security-code~",
~"POST /api/v1/vehicles/<VIN>/resend-security-code~",
~"DELETE /api/v1/vehicles/<VIN>~"
)")
)
))):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-user-composite-service - PROD~",
~"vehicle-mapping-composite-service - PROD~"
)
)
,entityName.in(
~"GET /api/v2/presentation/users/validate~",
~"POST /api/v2/vehicles/<VIN>/primary~",
~"POST /api/v2/vehicles/<VIN>/primary/map~",
~"POST /api/v1/vehicles/<VIN>/validate-security-code~",
~"POST /api/v1/vehicles/<VIN>/resend-security-code~",
~"DELETE /api/v1/vehicles/<VIN>~"
)")
)
))):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,8 +12,8 @@ module TP_Mobile_PersonalFavorites {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
@ -21,8 +21,14 @@ module TP_Mobile_PersonalFavorites {
entitySelector( entitySelector(
"type(service_method), "type(service_method),
fromRelationship.isServiceMethodOfService( fromRelationship.isServiceMethodOfService(
<<<<<<< HEAD
type(~"SERVICE~"),entityName.in type(~"SERVICE~"),entityName.in
(~"btc-destination-composite-service~") (~"btc-destination-composite-service~")
=======
type(~"SERVICE~"),entityName.in(
~"btc-destination-composite-service - PROD~"
)
>>>>>>> b81834091683d952e2d1521baba73fa2ab118d03
) )
,entityName.in( ,entityName.in(
~"POST /api/v2/favorites~", ~"POST /api/v2/favorites~",
@ -36,7 +42,37 @@ module TP_Mobile_PersonalFavorites {
~"PUT /api/v2/favorites/homework/2~" ~"PUT /api/v2/favorites/homework/2~"
)") )")
) )
<<<<<<< HEAD
))):splitBy():sum:auto:sort(value(sum,descending)))" ))):splitBy():sum:auto:sort(value(sum,descending)))"
=======
))):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(
~"POST /api/v2/favorites~",
~"POST /api/v3/favorites~",
~"GET /api/v2/favorites~",
~"GET /api/v3/favorites~",
~"GET /api/v1/favorites~",
~"PUT /api/v2/favorites/<favoriteId>~",
~"PUT /api/v3/favorites/<favoriteId>~",
~"PUT /api/v2/favorites/homework/1~",
~"PUT /api/v2/favorites/homework/2~"
)")
)
))):splitBy()))"
>>>>>>> b81834091683d952e2d1521baba73fa2ab118d03
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,56 @@ module TP_Mobile_Remote360 {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"remote-360-composite-service - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in(
") ~"remote-360-composite-service - PROD~"
) )
))):splitBy():auto:auto:sort(value(sum,descending)))" )
,entityName.in(
~"GET /eadrax-r360/v1/events/$eventId~",
~"POST /eadrax-r360/v1/events/$eventId/cancel~",
~"POST /eadrax-r360/v1/event/execute~",
~"GET /eadrax-r360/v1/download/$eventId/$fileName~",
~"POST /eadrax-r360/v1/download/$eventId/$fileName/confirm~",
~"GET /eadrax-r360/v1/vehicle/$vin/egomodelurl~",
~"GET /eadrax-r360/v1/vehicle/$vin/key~",
~"GET /recordings/vehicle/$vin~"
)")
)
))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"remote-360-composite-service - PROD~"
)
)
,entityName.in(
~"GET /eadrax-r360/v1/events/$eventId~",
~"POST /eadrax-r360/v1/events/$eventId/cancel~",
~"POST /eadrax-r360/v1/event/execute~",
~"GET /eadrax-r360/v1/download/$eventId/$fileName~",
~"POST /eadrax-r360/v1/download/$eventId/$fileName/confirm~",
~"GET /eadrax-r360/v1/vehicle/$vin/egomodelurl~",
~"GET /eadrax-r360/v1/vehicle/$vin/key~",
~"GET /recordings/vehicle/$vin~"
)")
)
))):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,60 @@ 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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"btc-vehicle-remote-commands-composite-service - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in(
") ~"btc-vehicle-remote-commands-composite-service - PROD~"
) )
))):splitBy():auto:auto:sort(value(sum,descending)))" )
,entityName.in(
~"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~",
~"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>/light-flash~",
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
~"GET /api/v2/presentation/remote-commands/eventPosition~",
~"GET /api/v1/presentation/remote-history/<VIN>~",
~"GET /api/v2/presentation/remote-commands/eventStatus~"
)")
)
))):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-vehicle-remote-commands-composite-service - PROD~"
)
)
,entityName.in(
~"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~",
~"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>/light-flash~",
~"POST /api/v2/presentation/remote-commands/<VIN>/charging-profile~",
~"GET /api/v2/presentation/remote-commands/eventPosition~",
~"GET /api/v1/presentation/remote-history/<VIN>~",
~"GET /api/v2/presentation/remote-commands/eventStatus~"
)")
)
))):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,33 @@ module TP_Mobile_Send2VehicleLegacy {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service",
entitySelector("type(service_method), entitySelector("type(service),
fromRelationship.isServiceMethodOfService( entityName(
type(~"SERVICE~"),entityName(~"LegacyPoiApi - msgsvc - prod~") ~"LegacyPoiApi - msgsvc - prod~"
) )
") ")
)
) )
))):splitBy():auto:auto:sort(value(sum,descending)))" )):splitBy())/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service",
entitySelector("type(service),
entityName(
~"LegacyPoiApi - msgsvc - prod~"
)
")
)
)
)):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,44 @@ module TP_Mobile_Send2VehicleMGU {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"TripService - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in(
") ~"TripService - PROD~"
) )
))):splitBy():auto:auto:sort(value(sum,descending)))" )
,entityName.in(
~"/v2/motorist/[UUID]/trips",
~"/v3/motorist/[UUID]/trips"
)")
)
))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"TripService - PROD~"
)
)
,entityName.in(
~"/v2/motorist/[UUID]/trips",
~"/v3/motorist/[UUID]/trips"
)")
)
))):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,46 @@ module TP_Mobile_VehicleData {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"VehicleService - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in(
") ~"btc-vehicle-composite-service - PROD~",
) ~"VehicleService - PROD~"
))):splitBy():auto:auto:sort(value(sum,descending)))" )
)
,entityName.in(
~"GET /api/v1/vehicles/<VIN>/state~",
~"GET /v1/vehicle/<VIN>~"
)")
)
))):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-vehicle-composite-service - PROD~",
~"VehicleService - PROD~"
)
)
,entityName.in(
~"GET /api/v1/vehicles/<VIN>/state~",
~"GET /v1/vehicle/<VIN>~"
)")
)
))):splitBy())"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"

View File

@ -12,19 +12,40 @@ module TP_Mobile_VehicleList {
#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.server.rate:filter( ((builtin:service.keyRequest.errors.server.successCount:filter(
and( and(
or( or(
in( in(
"dt.entity.service_method", "dt.entity.service_method",
entitySelector("type(service_method), entitySelector(
fromRelationship.isServiceMethodOfService( "type(service_method),
type(~"SERVICE~"),entityName(~"btc-vehicle-composite-service - PROD~") fromRelationship.isServiceMethodOfService(
) type(~"SERVICE~"),entityName.in
") (~"btc-vehicle-composite-service - PROD~")
) )
))):splitBy():auto:auto:sort(value(sum,descending)))" ,entityName.in(
~"GET /api/v1/vehicles~"
)")
)
))):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-vehicle-composite-service - PROD~")
)
,entityName.in(
~"GET /api/v1/vehicles~"
)")
)
))):splitBy()))"
EOT EOT
#if not set (removed) it's defaulted to "-1d" #if not set (removed) it's defaulted to "-1d"