TP_Mobile_Wirkketten_Anpassung

renaming2
SLW\KASIKD 2023-02-23 12:19:54 +01:00
parent c21fb97ec6
commit d0bc0d1d9e
11 changed files with 335 additions and 374 deletions

View File

@ -12,14 +12,7 @@ module TP_Mobile_DigitalKey {
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*
((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
(100)*((1)-(builtin:service.keyRequest.errors.fivexx.count:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"TrackApi - smc - PROD~",
@ -27,21 +20,13 @@ module TP_Mobile_DigitalKey {
)
)
,entityName.in(
~"POST /smc2-bl/track/v2/trackKey~",
~"POST /smc2-bl/track/v2/manageKey~",
~"trackKey~",
~"manageKey~",
~"GET /api/v1/digitalkey/<VIN>/password~",
~"GET /api/v1/digitalkey/<VIN>/pairing~"
)")
)
))):splitBy())
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
(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~",
@ -49,13 +34,11 @@ module TP_Mobile_DigitalKey {
)
)
,entityName.in(
~"POST /smc2-bl/track/v2/trackKey~",
~"POST /smc2-bl/track/v2/manageKey~",
~"trackKey~",
~"manageKey~",
~"GET /api/v1/digitalkey/<VIN>/password~",
~"GET /api/v1/digitalkey/<VIN>/pairing~"
)")
)
))):splitBy()))
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -11,15 +11,8 @@ module TP_Mobile_Login {
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),
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-user-composite-service - PROD~",
@ -31,39 +24,11 @@ module TP_Mobile_Login {
~"GET /api/v2/presentation/profile-account~",
~"POST /api/v2/presentation/profile-account~",
~"GET /api/v1/presentation/profile-tab/contacts~",
~"POST /api/v2/cop/login/pwd~",
~"POST /api/v2/cop/login/sms~",
~"POST /api/v2/cop/sso~",
~"GET /api/v1/cop/logout~"
)")
)
))):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-cn-connected-oauth-service - PROD~"
)
)
,entityName.in(
~"GET /api/v1/presentation/profile-account~",
~"GET /api/v2/presentation/profile-account~",
~"POST /api/v2/presentation/profile-account~",
~"GET /api/v1/presentation/profile-tab/contacts~",
~"POST /api/v2/cop/login/pwd~",
~"POST /api/v2/cop/login/sms~",
~"POST /api/v2/cop/sso~",
~"GET /api/v1/cop/logout~"
)")
)
))):splitBy()))
~"/api/v2/cop/login/pwd~",
~"/api/v2/cop/login/sms~",
~"/api/v2/cop/sso~",
~"/api/v2/cop/logout~"
)"))))):splitBy())
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -11,47 +11,31 @@ module TP_Mobile_PersonalFavorites {
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),
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(
~"btc-destination-composite-service - PROD~"
)
)
,entityName.in(
~"GET /api/v3/favorites~",
~"POST /api/v3/favorites~",
~"GET /api/v3/favorites/~",
~"POST /api/v3/favorites/~",
~"PUT /api/v3/favorites/<favoriteId>~"
)")
)
))):splitBy())
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
(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(
~"GET /api/v3/favorites~",
~"POST /api/v3/favorites~",
~"GET /api/v3/favorites/~",
~"POST /api/v3/favorites/~",
~"PUT /api/v3/favorites/<favoriteId>~"
)")
)
))):splitBy()))
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -0,0 +1,51 @@
module TP_Mobile_RSU {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "TP_Mobile_RSU"
description = "CoCo-QM-Report_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(
~"RemoteSoftwareUpgrade.WebApp - PROD~"
)
)
,entityName.in(
~"POST /v1/vehicle/rsustatus/finishInstallation~",
~"POST /v1/vehicle/rsustatus/preparationCompleted~",
~"POST /v1/vehicle/rsustatus/updateAvailable~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"RemoteSoftwareUpgrade.WebApp - PROD~"
)
)
,entityName.in(
~"POST /v1/vehicle/rsustatus/finishInstallation~",
~"POST /v1/vehicle/rsustatus/preparationCompleted~",
~"POST /v1/vehicle/rsustatus/updateAvailable~"
)"))))):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

@ -11,15 +11,8 @@ module TP_Mobile_Remote360 {
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),
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(
~"remote-360-composite-service - PROD~"
@ -34,34 +27,8 @@ module TP_Mobile_Remote360 {
~"GET /api/v1/vehicle/<VIN>/egomodelurl~",
~"GET /api/v1/vehicle/<VIN>/key~",
~"GET /api/v1/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 /api/v1/events/[UUID]~",
~"POST /api/v1/events/[UUID]/cancel~",
~"POST /api/v1/event/execute~",
~"GET /api/v1/download/[UUID]/<fileName>~",
~"POST /api/v1/download/[UUID]/<fileName>/confirm~",
~"GET /api/v1/vehicle/<VIN>/egomodelurl~",
~"GET /api/v1/vehicle/<VIN>/key~",
~"GET /api/v1/recordings/vehicle/<VIN>~"
)")
)
))):splitBy()))
)"))))):splitBy())
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -13,13 +13,7 @@ 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(
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(
type(~"SERVICE~"),entityName.in(
~"btc-vehicle-remote-commands-composite-service - PROD~"
@ -35,18 +29,21 @@ module TP_Mobile_RemoteServices {
~"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>~"
~"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())
)):splitBy())
/
(builtin:service.keyRequest.count.server:filter(
and(
or(
in(
"dt.entity.service_method",
entitySelector(
"type(service_method),
(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~"
@ -62,10 +59,19 @@ module TP_Mobile_RemoteServices {
~"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>~"
~"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()))
)):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -11,35 +11,19 @@ module TP_Mobile_Send2VehicleLegacy {
filter = ""
#metric expression of the calculation as done in data explorer ui
metric_expression = <<-EOT
(100)*
((builtin:service.errors.server.successCount:filter(
and(
or(
in(
"dt.entity.service",
metric_expression = <<EOT
(100)*((builtin:service.errors.server.successCount:filter(and(or(in("dt.entity.service",
entitySelector("type(service),
entityName.in(
~"LegacyPoiApi - msgsvc - prod~"
)
")
)
)
)):splitBy())
"))))):splitBy())
/
(builtin:service.requestCount.total:filter(
and(
or(
in(
"dt.entity.service",
entitySelector("type(service),
(builtin:service.requestCount.total:filter(and(or(in("dt.entity.service",entitySelector("type(service),
entityName.in(
~"LegacyPoiApi - msgsvc - prod~"
)
")
)
)
)):splitBy()))
"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -11,45 +11,28 @@ module TP_Mobile_Send2VehicleMGU {
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),
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(
~"TripService - PROD~"
)
)
,entityName.in(
~"/v3/motorist/[UUID]/trips~",
~"/v2/motorist/[UUID]/trips~"
)")
)
))):splitBy())
~"/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),
(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(
~"/v3/motorist/[UUID]/trips~",
~"/v2/motorist/[UUID]/trips~"
)")
)
))):splitBy()))
~"/v2/motorist/[UUID]/trips~",
~"/v3/motorist/[UUID]/trips~"
)"))))):splitBy()))
EOT
#if not set (removed) it's defaulted to "-1d"

View File

@ -11,15 +11,8 @@ module TP_Mobile_VehicleData {
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),
metric_expression = <<EOT
(100)-(builtin:service.keyRequest.errors.fivexx.rate:filter(and(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"btc-vehicle-composite-service - PROD~",
@ -28,30 +21,10 @@ module TP_Mobile_VehicleData {
)
,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()))
~"GET /v1/vehicle/<VIN>~",
~"GET /v2/vehicle/<VIN>~"
)")))):splitBy())
EOT
#if not set (removed) it's defaulted to "-1d"

View File

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

View File

@ -0,0 +1,78 @@
module TP_Vehicle_RSU {
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
name = "TP_Vehicle_RSU"
description = "CoCo-QM-Report_Vehicle"
#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(
~"UpdateRequestResource - rsu - prod~",
~"UpdateManifestResource - rsu - prod~",
~"SendReportResource - rsu - prod~",
~"MessageEndpointProxy - rsu - prod~"
)
)
,entityName.in(
~"askForUpdate~",
~"askForUpdateManifest~",
~"sendReport~",
~"Queue: BMW.RSU.ZFUS_MPG_OUTPUT~",
~"Queue: BMW.RSU.DEC_VEHICLE_REQUEST.ASBC_TO_RSA~",
~"Queue: BMW.RSU.UPDATEMANIFEST.ZFUS_TO_RSA~",
~"Queue: BMW.RSU.ENC_UPDATEMANIFEST.ASBC_TO_RSA~",
~"Queue: BMW.RSU.VEHICLE_TRIGGER~",
~"Queue: BMW.RSU.RSA_PIPELINE~",
~"Queue: BMW.RSU.RN.RNB_TO_RSA~",
~"Queue: BMW.RSA.VEHICLE_MESSAGES~"
)"))))):splitBy())
/
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
fromRelationship.isServiceMethodOfService(
type(~"SERVICE~"),entityName.in(
~"UpdateRequestResource - rsu - prod~",
~"UpdateManifestResource - rsu - prod~",
~"SendReportResource - rsu - prod~",
~"MessageEndpointProxy - rsu - prod~"
)
)
,entityName.in(
~"askForUpdate~",
~"askForUpdateManifest~",
~"sendReport~",
~"Queue: BMW.RSU.ZFUS_MPG_OUTPUT~",
~"Queue: BMW.RSU.DEC_VEHICLE_REQUEST.ASBC_TO_RSA~",
~"Queue: BMW.RSU.UPDATEMANIFEST.ZFUS_TO_RSA~",
~"Queue: BMW.RSU.ENC_UPDATEMANIFEST.ASBC_TO_RSA~",
~"Queue: BMW.RSU.VEHICLE_TRIGGER~",
~"Queue: BMW.RSU.RSA_PIPELINE~",
~"Queue: BMW.RSU.RN.RNB_TO_RSA~",
~"Queue: BMW.RSA.VEHICLE_MESSAGES~"
)"))))):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
}