updated SLOs
parent
5d57a14198
commit
061ba48316
|
|
@ -1,26 +0,0 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
dynatrace = {
|
||||
version = "1.10.0"
|
||||
source = "dynatrace-oss/dynatrace"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "coco-dynatrace-tfstate"
|
||||
key = "eupreprod/calculated_service_metrics/terraform.tfstate"
|
||||
region = "eu-central-1"
|
||||
dynamodb_table = "coco-dynatrace-tfstate"
|
||||
encrypt = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
variable EMEA_PREPROD_ENV_URL {}
|
||||
variable EMEA_PREPROD_API_TOKEN {}
|
||||
|
||||
|
||||
provider "dynatrace" {
|
||||
dt_env_url = "${var.EMEA_PREPROD_ENV_URL}"
|
||||
dt_api_token = "${var.EMEA_PREPROD_API_TOKEN}"
|
||||
}
|
||||
|
|
@ -56,7 +56,6 @@ module TP_Mobile_DigitalKey {
|
|||
)")
|
||||
)
|
||||
))):splitBy()))
|
||||
"
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -70,3 +69,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_DigitalKey_metric" {
|
||||
value = module.TP_Mobile_DigitalKey.metric_expression
|
||||
}
|
||||
|
|
@ -54,7 +54,6 @@ module TP_Mobile_Login {
|
|||
)")
|
||||
)
|
||||
))):splitBy()))
|
||||
"
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -68,3 +67,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_Login_metric" {
|
||||
value = module.TP_Mobile_Login.metric_expression
|
||||
}
|
||||
|
|
@ -59,7 +59,7 @@ module TP_Mobile_Mapping {
|
|||
~"DELETE /api/v1/vehicles/<VIN>~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -73,3 +73,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_Mapping_metric" {
|
||||
value = module.TP_Mobile_Mapping.metric_expression
|
||||
}
|
||||
|
|
@ -63,7 +63,7 @@ module TP_Mobile_PersonalFavorites {
|
|||
~"PUT /api/v2/favorites/homework/2~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -77,3 +77,8 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
|
||||
output "TP_Mobile_PersonalFavorites_metric" {
|
||||
value = module.TP_Mobile_PersonalFavorites.metric_expression
|
||||
}
|
||||
|
|
@ -61,7 +61,7 @@ module TP_Mobile_Remote360 {
|
|||
~"GET /recordings/vehicle/$vin~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -75,3 +75,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_Remote360_metric" {
|
||||
value = module.TP_Mobile_Remote360.metric_expression
|
||||
}
|
||||
|
|
@ -65,7 +65,7 @@ module TP_Mobile_RemoteServices {
|
|||
~"GET /api/v2/presentation/remote-commands/eventStatus~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -79,3 +79,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_RemoteServices_metric" {
|
||||
value = module.TP_Mobile_RemoteServices.metric_expression
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ module TP_Mobile_Send2VehicleLegacy {
|
|||
")
|
||||
)
|
||||
)
|
||||
)):splitBy()))"
|
||||
)):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -52,3 +52,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_Send2VehicleLegacy_metric" {
|
||||
value = module.TP_Mobile_Send2VehicleLegacy.metric_expression
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ module TP_Mobile_Send2VehicleMGU {
|
|||
~"/v3/motorist/[UUID]/trips~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -63,3 +63,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_Send2VehicleMGU_metric" {
|
||||
value = module.TP_Mobile_Send2VehicleMGU.metric_expression
|
||||
}
|
||||
|
|
@ -51,7 +51,7 @@ module TP_Mobile_VehicleData {
|
|||
~"GET /v1/vehicle/<VIN>~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ module TP_Mobile_VehicleList {
|
|||
~"GET /api/v1/vehicles~"
|
||||
)")
|
||||
)
|
||||
))):splitBy()))"
|
||||
))):splitBy()))
|
||||
EOT
|
||||
|
||||
#if not set (removed) it's defaulted to "-1d"
|
||||
|
|
@ -59,3 +59,7 @@ target = 98 #if not set(removed) it's defaulted
|
|||
warning = 99 #if not set(removed) it's defaulted to 99
|
||||
|
||||
}
|
||||
|
||||
output "TP_Mobile_VehicleList_metric" {
|
||||
value = module.TP_Mobile_VehicleList.metric_expression
|
||||
}
|
||||
|
|
@ -10,7 +10,7 @@ module VehicleFeaturesService_-_Vehicle_Features_V2_Error_Latency_2000ms_Rate {
|
|||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE_METHOD\")"
|
||||
filter = ""
|
||||
|
||||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module VehicleFeaturesService_-_Vehicle_Features_V2_Error_Latency_500ms_Rate {
|
|||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE_METHOD\")"
|
||||
filter = ""
|
||||
|
||||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module VehicleFeaturesService_-_Vehicle_Features_V2_Error_Latency_700ms_Rate {
|
|||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE_METHOD\")"
|
||||
filter = ""
|
||||
|
||||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module VehicleFeaturesService_-_Vehicle_Features_V2_Success_Rate {
|
|||
|
||||
|
||||
#entity selector object
|
||||
filter = "type(\"SERVICE_METHOD\")"
|
||||
filter = ""
|
||||
|
||||
|
||||
#metric expression of the calculation as done in data explorer ui
|
||||
|
|
|
|||
Loading…
Reference in New Issue