adding SLO alerting CN&NA
parent
03175e831d
commit
3a26d97bbf
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_DigitalKey {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_DigitalKey"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_digitalkey"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_Login {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_Login"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_login"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_Mapping {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_Mapping"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_mapping"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_PersonalFavorites {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_PersonalFavorites"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_personalfavorites"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_Remote360 {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_Remote360"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_remote360"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_RemoteServices {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_RemoteServices"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_remoteservices"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_Send2VehicleLegacy {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_Send2VehicleLegacy"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_send2vehiclelegacy"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_Send2VehicleMGU {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_Send2VehicleMGU"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_send2vehiclemgu"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_VehicleData {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_VehicleData"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_vehicledata"
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
module TP_Mobile_VehicleList {
|
||||
|
||||
source = "../../_dynatrace-base-modules/dynatrace-custom-anomalies"
|
||||
|
||||
|
||||
name = "TP_Mobile_VehicleList"
|
||||
|
||||
metric_selector = "func:slo.tp_mobile_vehiclelist"
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
terraform {
|
||||
required_providers {
|
||||
dynatrace = {
|
||||
version = "1.11.0"
|
||||
source = "dynatrace-oss/dynatrace"
|
||||
}
|
||||
}
|
||||
|
||||
backend "s3" {
|
||||
bucket = "coco-dynatrace-tfstate"
|
||||
key = "cnprod/custom_anomalies/terraform.tfstate"
|
||||
region = "eu-central-1"
|
||||
dynamodb_table = "coco-dynatrace-tfstate"
|
||||
encrypt = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
variable CN_PROD_ENV_URL {}
|
||||
variable CN_PROD_API_TOKEN {}
|
||||
|
||||
|
||||
provider "dynatrace" {
|
||||
dt_env_url = "${var.CN_PROD_ENV_URL}"
|
||||
dt_api_token = "${var.CN_PROD_API_TOKEN}"
|
||||
|
||||
}
|
||||
|
||||
data "terraform_remote_state" "slo" {
|
||||
backend = "s3"
|
||||
config = {
|
||||
bucket = "coco-dynatrace-tfstate"
|
||||
key = "cnprod/slo/terraform.tfstate"
|
||||
region = "eu-central-1"
|
||||
encrypt = true
|
||||
dynamodb_table = "coco-dynatrace-tfstate"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue