adjusted several files
commit
d58baab782
|
|
@ -0,0 +1,49 @@
|
|||
module TP_Mobile_Login {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
||||
|
||||
|
||||
name = "TP_Mobile_Login"
|
||||
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.rate:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"TrackApi~",
|
||||
~"digital-key-composite-service~"
|
||||
)
|
||||
)
|
||||
,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():sum:auto:sort(value(sum,descending)))"
|
||||
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
|
||||
|
||||
}
|
||||
|
|
@ -14,22 +14,24 @@ module TP_Mobile_Login {
|
|||
metric_expression = <<-EOT
|
||||
(100)-
|
||||
(builtin:service.keyRequest.errors.server.rate:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in
|
||||
(~"btc-user-composite-service - PROD~")
|
||||
)
|
||||
,entityName.in(
|
||||
~"GET /api/v1/presentation/oauth/config~",
|
||||
~"GET /api/v1/presentation/profile-tab~",
|
||||
~"POST /api/v1/oauth/token/identifier~"
|
||||
)")
|
||||
)
|
||||
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():sum:auto:sort(value(sum,descending)))"
|
||||
EOT
|
||||
|
||||
|
|
|
|||
|
|
@ -14,16 +14,27 @@ module TP_Mobile_Mapping {
|
|||
metric_expression = <<-EOT
|
||||
(100)-
|
||||
(builtin:service.keyRequest.errors.server.rate:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName(~"vehicle-mapping-composite-service - PROD~")
|
||||
)
|
||||
")
|
||||
)
|
||||
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():auto:auto:sort(value(sum,descending)))"
|
||||
EOT
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ module TP_Mobile_PersonalFavorites {
|
|||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in
|
||||
(~"btc-destination-composite-service~")
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-destination-composite-service~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"POST /api/v2/favorites~",
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ module TP_Mobile_Remote360 {
|
|||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in
|
||||
(~"remote-360-composite-service~")
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"remote-360-composite-service~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"GET /eadrax-r360/v1/events/$eventId~",
|
||||
|
|
|
|||
|
|
@ -21,15 +21,16 @@ module TP_Mobile_RemoteServices {
|
|||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in
|
||||
(~"btc-vehicle-remote-commands-composite-service~")
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"btc-vehicle-remote-commands-composite-service~"
|
||||
)
|
||||
)
|
||||
,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 /presentation/remote-commands/<VIN>/climate-timer~",
|
||||
~"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~",
|
||||
|
|
|
|||
|
|
@ -20,7 +20,9 @@ module TP_Mobile_Send2VehicleLegacy {
|
|||
"dt.entity.service_method",
|
||||
entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName(~"LegacyPoiApi - msgsvc - prod~")
|
||||
type(~"SERVICE~"),entityName(
|
||||
~"LegacyPoiApi - msgsvc - prod~"
|
||||
)
|
||||
)
|
||||
")
|
||||
)
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@ module TP_Mobile_Send2VehicleMGU {
|
|||
entitySelector(
|
||||
"type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName.in
|
||||
(~"TripService~")
|
||||
type(~"SERVICE~"),entityName.in(
|
||||
~"TripService~"
|
||||
)
|
||||
)
|
||||
,entityName.in(
|
||||
~"/v2/motorist/[UUID]/trips",
|
||||
|
|
|
|||
|
|
@ -14,16 +14,23 @@ module TP_Mobile_VehicleData {
|
|||
metric_expression = <<-EOT
|
||||
(100)-
|
||||
(builtin:service.keyRequest.errors.server.rate:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName(~"VehicleService - PROD~")
|
||||
)
|
||||
")
|
||||
)
|
||||
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():auto:auto:sort(value(sum,descending)))"
|
||||
EOT
|
||||
|
||||
|
|
|
|||
|
|
@ -14,16 +14,20 @@ module TP_Mobile_VehicleList {
|
|||
metric_expression = <<-EOT
|
||||
(100)-
|
||||
(builtin:service.keyRequest.errors.server.rate:filter(
|
||||
and(
|
||||
or(
|
||||
in(
|
||||
"dt.entity.service_method",
|
||||
entitySelector("type(service_method),
|
||||
fromRelationship.isServiceMethodOfService(
|
||||
type(~"SERVICE~"),entityName(~"btc-vehicle-composite-service - PROD~")
|
||||
)
|
||||
")
|
||||
)
|
||||
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():auto:auto:sort(value(sum,descending)))"
|
||||
EOT
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue