modified files in DE-<3,4,7> folders, renamed templates and slos folders
parent
9168698a92
commit
b4214de6cd
|
|
@ -30,9 +30,3 @@ slo_definition:
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "/v3/motorist/[UUID]/trips"
|
- "/v3/motorist/[UUID]/trips"
|
||||||
- "/v2/motorist/[UUID]/trips"
|
- "/v2/motorist/[UUID]/trips"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "TripService - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "/v3/motorist/[UUID]/trips"
|
|
||||||
- "/v2/motorist/[UUID]/trips"
|
|
||||||
|
|
|
||||||
|
|
@ -29,15 +29,6 @@ slo_definition:
|
||||||
- service: "btc-connected-oauth-service - PROD"
|
- service: "btc-connected-oauth-service - PROD"
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "POST /api/v1/oauth/token/identifier"
|
- "POST /api/v1/oauth/token/identifier"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-user-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v1/presentation/oauth/config"
|
|
||||||
- "GET /api/v1/presentation/profile-tab"
|
|
||||||
- service: "btc-connected-oauth-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "POST /api/v1/oauth/token/identifier"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -53,17 +44,3 @@ slo_definition:
|
||||||
- "POST /api/v2/cop/login/sms"
|
- "POST /api/v2/cop/login/sms"
|
||||||
- "POST /api/v2/cop/sso"
|
- "POST /api/v2/cop/sso"
|
||||||
- "GET /api/v1/cop/logout"
|
- "GET /api/v1/cop/logout"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-user-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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"
|
|
||||||
- service: "btc-cn-connected-oauth-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "POST /api/v2/cop/login/pwd"
|
|
||||||
- "POST /api/v2/cop/login/sms"
|
|
||||||
- "POST /api/v2/cop/sso"
|
|
||||||
- "GET /api/v1/cop/logout"
|
|
||||||
|
|
|
||||||
|
|
@ -28,24 +28,6 @@ slo_definition:
|
||||||
- "POST /api/v3/mappings/resend-security-code"
|
- "POST /api/v3/mappings/resend-security-code"
|
||||||
- "GET /api/v3/images/<image>"
|
- "GET /api/v3/images/<image>"
|
||||||
- "DELETE /api/v3/mappings"
|
- "DELETE /api/v3/mappings"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-user-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/presentation/users/validate"
|
|
||||||
- service: "vehicle-mapping-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
- "POST /api/v3/mappings/create"
|
|
||||||
- "POST /api/v3/mappings/continue"
|
|
||||||
- "POST /api/v3/mappings/validate-security-code"
|
|
||||||
- "POST /api/v3/mappings/resend-security-code"
|
|
||||||
- "GET /api/v3/images/<image>"
|
|
||||||
- "DELETE /api/v3/mappings"
|
|
||||||
NA-Prod:
|
NA-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -66,25 +48,6 @@ slo_definition:
|
||||||
- "GET /api/v3/images/<image>"
|
- "GET /api/v3/images/<image>"
|
||||||
- "DELETE /api/v3/mappings"
|
- "DELETE /api/v3/mappings"
|
||||||
- "POST /api/v2/vehicles/<VIN>/secondary"
|
- "POST /api/v2/vehicles/<VIN>/secondary"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-user-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/presentation/users/validate"
|
|
||||||
- service: "vehicle-mapping-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
- "POST /api/v3/mappings/create"
|
|
||||||
- "POST /api/v3/mappings/continue"
|
|
||||||
- "POST /api/v3/mappings/validate-security-code"
|
|
||||||
- "POST /api/v3/mappings/resend-security-code"
|
|
||||||
- "GET /api/v3/images/<image>"
|
|
||||||
- "DELETE /api/v3/mappings"
|
|
||||||
- "POST /api/v2/vehicles/<VIN>/secondary"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -98,15 +61,3 @@ slo_definition:
|
||||||
- "POST /api/v1/vehicles/<VIN>/validate-security-code"
|
- "POST /api/v1/vehicles/<VIN>/validate-security-code"
|
||||||
- "POST /api/v1/vehicles/<VIN>/resend-security-code"
|
- "POST /api/v1/vehicles/<VIN>/resend-security-code"
|
||||||
- "DELETE /api/v1/vehicles/<VIN>"
|
- "DELETE /api/v1/vehicles/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-user-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/presentation/users/validate"
|
|
||||||
- service: "vehicle-mapping-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,6 @@ slo_definition:
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /api/v2/vehicles"
|
- "GET /api/v2/vehicles"
|
||||||
- "GET /api/v4/vehicles"
|
- "GET /api/v4/vehicles"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/vehicles"
|
|
||||||
- "GET /api/v4/vehicles"
|
|
||||||
NA-Prod:
|
NA-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -29,20 +23,9 @@ slo_definition:
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /api/v2/vehicles"
|
- "GET /api/v2/vehicles"
|
||||||
- "GET /api/v4/vehicles"
|
- "GET /api/v4/vehicles"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/vehicles"
|
|
||||||
- "GET /api/v4/vehicles"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
- service: "btc-vehicle-composite-service - PROD"
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /api/v1/vehicles"
|
- "GET /api/v1/vehicles"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v1/vehicles"
|
|
||||||
|
|
|
||||||
|
|
@ -22,18 +22,6 @@ slo_definition:
|
||||||
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
||||||
- "GET /api/v1/vehicle/<VIN>/key"
|
- "GET /api/v1/vehicle/<VIN>/key"
|
||||||
- "GET /api/v1/recordings/vehicle/<VIN>"
|
- "GET /api/v1/recordings/vehicle/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "remote-360-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
NA-Prod:
|
NA-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -47,18 +35,6 @@ slo_definition:
|
||||||
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
||||||
- "GET /api/v1/vehicle/<VIN>/key"
|
- "GET /api/v1/vehicle/<VIN>/key"
|
||||||
- "GET /api/v1/recordings/vehicle/<VIN>"
|
- "GET /api/v1/recordings/vehicle/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "remote-360-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -72,15 +48,3 @@ slo_definition:
|
||||||
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
- "GET /api/v1/vehicle/<VIN>/egomodelurl"
|
||||||
- "GET /api/v1/vehicle/<VIN>/key"
|
- "GET /api/v1/vehicle/<VIN>/key"
|
||||||
- "GET /api/v1/recordings/vehicle/<VIN>"
|
- "GET /api/v1/recordings/vehicle/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "remote-360-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
|
|
|
||||||
|
|
@ -24,20 +24,6 @@ slo_definition:
|
||||||
- "POST /api/v2/presentation/remote-commands/eventPosition"
|
- "POST /api/v2/presentation/remote-commands/eventPosition"
|
||||||
- "GET /api/v1/presentation/remote-history/<VIN>"
|
- "GET /api/v1/presentation/remote-history/<VIN>"
|
||||||
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-remote-commands-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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"
|
|
||||||
- "POST /api/v2/presentation/remote-commands/eventPosition"
|
|
||||||
- "GET /api/v1/presentation/remote-history/<VIN>"
|
|
||||||
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
|
||||||
NA-Prod:
|
NA-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -56,23 +42,6 @@ slo_definition:
|
||||||
- "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>"
|
||||||
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-remote-commands-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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/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"
|
|
||||||
- "GET /api/v1/presentation/remote-history/<VIN>"
|
|
||||||
- "GET /api/v2/presentation/remote-history/<VIN>"
|
|
||||||
- "POST /api/v2/presentation/remote-commands/eventStatus"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -88,17 +57,3 @@ slo_definition:
|
||||||
- "POST /api/v2/presentation/remote-commands/<VIN>/light-flash",
|
- "POST /api/v2/presentation/remote-commands/<VIN>/light-flash",
|
||||||
- "POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder",
|
- "POST /api/v2/presentation/remote-commands/<VIN>/vehicle-finder",
|
||||||
- "GET /api/v1/presentation/remote-history/<VIN>"
|
- "GET /api/v1/presentation/remote-history/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-remote-commands-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "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>"
|
|
||||||
|
|
|
||||||
|
|
@ -18,14 +18,6 @@ slo_definition:
|
||||||
- service: "VehicleService - PROD"
|
- service: "VehicleService - PROD"
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /v1/vehicle/<VIN>"
|
- "GET /v1/vehicle/<VIN>"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v1/vehicles/<VIN>/state"
|
|
||||||
- service: "VehicleService - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /v1/vehicle/<VIN>"
|
|
||||||
NA-Prod:
|
NA-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
|
|
@ -33,20 +25,9 @@ slo_definition:
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /api/v2/vehicles"
|
- "GET /api/v2/vehicles"
|
||||||
- "GET /api/v4/vehicles"
|
- "GET /api/v4/vehicles"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v2/vehicles"
|
|
||||||
- "GET /api/v4/vehicles"
|
|
||||||
CN-Prod:
|
CN-Prod:
|
||||||
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
- metric: "builtin:service.keyRequest.errors.server.successCount"
|
||||||
filter:
|
filter:
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
- service: "btc-vehicle-composite-service - PROD"
|
||||||
keyRequests:
|
keyRequests:
|
||||||
- "GET /api/v1/vehicles"
|
- "GET /api/v1/vehicles"
|
||||||
- metric: "builtin:service.keyRequest.count.server"
|
|
||||||
filter:
|
|
||||||
- service: "btc-vehicle-composite-service - PROD"
|
|
||||||
keyRequests:
|
|
||||||
- "GET /api/v1/vehicles"
|
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,8 @@ from nested_lookup import nested_lookup
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# defines
|
# defines
|
||||||
SLOS_FOLDER_BASENAME = os.path.basename("slos")
|
|
||||||
OUTPUT_FOLDER_BASENAME = os.path.basename("output")
|
OUTPUT_FOLDER_BASENAME = os.path.basename("output")
|
||||||
TEMPLATE_FOLDER_BASENAME = os.path.basename("templates")
|
TEMPLATE_FOLDER_BASENAME = os.path.basename("jinja-templates")
|
||||||
TEMPLATE_FILES = {
|
TEMPLATE_FILES = {
|
||||||
"terraform-template.j2": ["builtin:service.keyRequest.errors.fivexx.rate"],
|
"terraform-template.j2": ["builtin:service.keyRequest.errors.fivexx.rate"],
|
||||||
"terraform-template-2.j2":["builtin:service.keyRequest.errors.server.successCount"],
|
"terraform-template-2.j2":["builtin:service.keyRequest.errors.server.successCount"],
|
||||||
|
|
|
||||||
|
|
@ -1,110 +0,0 @@
|
||||||
module TP_Mobile_Send2VehicleMGU {
|
|
||||||
|
|
||||||
source = "../../_dynatrace-base-modules/dynatrace-service-level-objective"
|
|
||||||
|
|
||||||
name = "TP_Mobile_Send2VehicleMGU"
|
|
||||||
|
|
||||||
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(
|
|
||||||
~"T~",
|
|
||||||
~"r~",
|
|
||||||
~"i~",
|
|
||||||
~"p~",
|
|
||||||
~"S~",
|
|
||||||
~"e~",
|
|
||||||
~"r~",
|
|
||||||
~"v~",
|
|
||||||
~"i~",
|
|
||||||
~"c~",
|
|
||||||
~"e~",
|
|
||||||
~" ~",
|
|
||||||
~"-~",
|
|
||||||
~" ~",
|
|
||||||
~"P~",
|
|
||||||
~"R~",
|
|
||||||
~"O~",
|
|
||||||
~"D~"
|
|
||||||
)
|
|
||||||
),entityName.in(
|
|
||||||
~"/~",
|
|
||||||
~"v~",
|
|
||||||
~"3~",
|
|
||||||
~"/~",
|
|
||||||
~"m~",
|
|
||||||
~"o~",
|
|
||||||
~"t~",
|
|
||||||
~"o~",
|
|
||||||
~"r~",
|
|
||||||
~"i~",
|
|
||||||
~"s~",
|
|
||||||
~"t~",
|
|
||||||
~"/~",
|
|
||||||
~"[~",
|
|
||||||
~"U~",
|
|
||||||
~"U~",
|
|
||||||
~"I~",
|
|
||||||
~"D~",
|
|
||||||
~"]~",
|
|
||||||
~"/~",
|
|
||||||
~"t~",
|
|
||||||
~"r~",
|
|
||||||
~"i~",
|
|
||||||
~"p~",
|
|
||||||
~"s~",
|
|
||||||
~"/~",
|
|
||||||
~"v~",
|
|
||||||
~"2~",
|
|
||||||
~"/~",
|
|
||||||
~"m~",
|
|
||||||
~"o~",
|
|
||||||
~"t~",
|
|
||||||
~"o~",
|
|
||||||
~"r~",
|
|
||||||
~"i~",
|
|
||||||
~"s~",
|
|
||||||
~"t~",
|
|
||||||
~"/~",
|
|
||||||
~"[~",
|
|
||||||
~"U~",
|
|
||||||
~"U~",
|
|
||||||
~"I~",
|
|
||||||
~"D~",
|
|
||||||
~"]~",
|
|
||||||
~"/~",
|
|
||||||
~"t~",
|
|
||||||
~"r~",
|
|
||||||
~"i~",
|
|
||||||
~"p~",
|
|
||||||
~"s~"
|
|
||||||
)"))))
|
|
||||||
):splitBy())
|
|
||||||
/
|
|
||||||
(builtin:service.keyRequest.count.server:filter(and(or(in("dt.entity.service_method",entitySelector("type(service_method),
|
|
||||||
fromRelationship.isServiceMethodOfService(
|
|
||||||
type(~"SERVICE~"),entityName.in(
|
|
||||||
~"~"
|
|
||||||
)
|
|
||||||
),entityName.in(
|
|
||||||
~"~"
|
|
||||||
)"))))):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
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue