Issues with reading tags from files for main.tf, module import and open alerting profile file.
parent
47114da322
commit
11c3e11864
|
|
@ -1,22 +0,0 @@
|
||||||
# This file is maintained automatically by "terraform init".
|
|
||||||
# Manual edits may be lost in future updates.
|
|
||||||
|
|
||||||
provider "registry.terraform.io/dynatrace-oss/dynatrace" {
|
|
||||||
version = "1.8.4"
|
|
||||||
constraints = "1.8.4"
|
|
||||||
hashes = [
|
|
||||||
"h1:EtYuB9EXcaUpjCncDAyPZHNWiExbiQSHfDSOQZlQZSY=",
|
|
||||||
"zh:0db480e9ad4dfd17f32cfe96b21391bfc3b5974de3b26e842e1ed8fa2f2115bd",
|
|
||||||
"zh:2751516b60a6138eb5d44ec847fe59c541bb5f77fed4e981006b6885e98e9a59",
|
|
||||||
"zh:3b74cae45e4a8dd8556a3df91dba4f09c2f68fab40f6406946af6731be296011",
|
|
||||||
"zh:4835d0e10afd99797de8c5bbcb4ab9b6b6f0a78c40e6e7dbf1f09581407f9853",
|
|
||||||
"zh:4c2969dd10beed0b4058eb5d3acc75b1a273b02021933a23f2bd6feb683e0a23",
|
|
||||||
"zh:976685189cab6920cb41ad11dfaa27b0d5fd16c9521607c2cd797298953258eb",
|
|
||||||
"zh:b8d33cfdf61f0099981b73b1ce57841b623c6e05d4fd9af811d283b421f00e98",
|
|
||||||
"zh:bac7026ccd260402cb49f5ba41c4ea994943a6b1e508c343455a097e8411caf6",
|
|
||||||
"zh:c9b5e7c97e10649aa5a339156cd77c5050f8acb9f02e07ac58e93f002ed8034e",
|
|
||||||
"zh:e7edd1a280965bff4e88aea2b0d8d8ba83bee87db8506344b99cd983c9d205bc",
|
|
||||||
"zh:f44622c541fa6e35af868e6572c5bc58086eca71eed6b0c333ed156a17941111",
|
|
||||||
"zh:f9db1dd5ee33715383812183dffce764a14a714eb8bbeff4c4163b6bef07a626",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
resource "dynatrace_management_zone" "WK_RSU" {
|
|
||||||
name = "WK_RSU"
|
|
||||||
rules {
|
|
||||||
type = "PROCESS_GROUP"
|
|
||||||
enabled = true
|
|
||||||
propagation_types = ["PROCESS_GROUP_TO_SERVICE"]
|
|
||||||
conditions {
|
|
||||||
key {
|
|
||||||
type = "STATIC"
|
|
||||||
attribute = "PROCESS_GROUP_TAGS"
|
|
||||||
}
|
|
||||||
tag {
|
|
||||||
negate = false
|
|
||||||
operator = "EQUALS"
|
|
||||||
value {
|
|
||||||
context = "CONTEXTLESS"
|
|
||||||
key = "Wirkkette"
|
|
||||||
value = "Remote Software Upgrade (RSU)"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_ASBC-RSU_E2E" {
|
||||||
|
display_name = "CD_ASBC-RSU E2E"
|
||||||
|
mz_id = "-1268277950254444437"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CDASBC-RSU"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "E2E"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CDASBC-RSU"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "E2E"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CDASBC-RSU"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "E2E"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CDASBC-RSU"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "E2E"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CDASBC-RSU"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "E2E"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_ASBC-RSU" {
|
||||||
|
display_name = "CD_ASBC-RSU"
|
||||||
|
mz_id = "-1268277950254444437"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-RSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_ASBC-STM_PROD" {
|
||||||
|
display_name = "CD_ASBC-STM PROD"
|
||||||
|
mz_id = "-5139616067943914324"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_ASBC-TVP_PROD" {
|
||||||
|
display_name = "CD_ASBC-TVP PROD"
|
||||||
|
mz_id = "-5884762133802735399"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_BMW_POINTS_ENGINE_PROD" {
|
||||||
|
display_name = "CD_BMW_POINTS_ENGINE PROD"
|
||||||
|
mz_id = "-8570994466372814219"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "BMW_POINTS_ENGINE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "BMW_POINTS_ENGINE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "BMW_POINTS_ENGINE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "BMW_POINTS_ENGINE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "BMW_POINTS_ENGINE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_CICD_PROD" {
|
||||||
|
display_name = "CD_CICD PROD"
|
||||||
|
mz_id = "5483395701072092813"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,106 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||||
|
display_name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||||
|
mz_id = "6501681794177069649"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP-CS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NGTP"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_ImageBlur_PROD" {
|
||||||
|
display_name = "CD_ImageBlur PROD"
|
||||||
|
mz_id = "-319238264175647671"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CD_ImageBlur"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CD_ImageBlur"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CD_ImageBlur"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CD_ImageBlur"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "CD_ImageBlur"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_LSCFSU_PROD" {
|
||||||
|
display_name = "CD_LSCFSU PROD"
|
||||||
|
mz_id = "-7762134287292745723"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "LSCFSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "LSCFSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "LSCFSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "LSCFSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "LSCFSU"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_NOP-Archive_PROD" {
|
||||||
|
display_name = "CD_NOP-Archive PROD"
|
||||||
|
mz_id = "1023740486178908540"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NOP-Archive"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NOP-Archive"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NOP-Archive"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NOP-Archive"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "NOP-Archive"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_RemoteServices" {
|
||||||
|
display_name = "CD_RemoteServices"
|
||||||
|
mz_id = "5188541189677060803"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,130 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_SMACC-BE" {
|
||||||
|
display_name = "CD_SMACC-BE"
|
||||||
|
mz_id = "-3795364033337839281"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "External"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_SMC2_CEKS_PROD" {
|
||||||
|
display_name = "CD_SMC2_CEKS PROD"
|
||||||
|
mz_id = "4397088666970698037"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-ceks"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-ceks"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-ceks"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-ceks"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-ceks"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_SVDS_PROD" {
|
||||||
|
display_name = "CD_SVDS PROD"
|
||||||
|
mz_id = "-4413944977212003148"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SVDS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SVDS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SVDS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SVDS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SVDS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_Speech_HTTS" {
|
||||||
|
display_name = "CD_Speech HTTS"
|
||||||
|
mz_id = "4065036998432033236"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ANY"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "HTTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_VPS-Archive_PROD" {
|
||||||
|
display_name = "CD_VPS-Archive PROD"
|
||||||
|
mz_id = "-1017790433340187721"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Archive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Archive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Archive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Archive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Archive"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_VPS-Monitor_PROD" {
|
||||||
|
display_name = "CD_VPS-Monitor PROD"
|
||||||
|
mz_id = "-4238479884355788160"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Monitor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Monitor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Monitor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Monitor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Monitor"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_VPS-Trigger_PROD" {
|
||||||
|
display_name = "CD_VPS-Trigger PROD"
|
||||||
|
mz_id = "-7519199679488905472"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Trigger"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Trigger"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Trigger"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Trigger"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VPS-Trigger"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_VehicleCentricInformationServices_PROD" {
|
||||||
|
display_name = "CD_VehicleCentricInformationServices PROD"
|
||||||
|
mz_id = "3268847322115566645"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VehicleCentricInformationServices"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VehicleCentricInformationServices"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VehicleCentricInformationServices"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VehicleCentricInformationServices"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "VehicleCentricInformationServices"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_XCC_PROD" {
|
||||||
|
display_name = "CD_XCC PROD"
|
||||||
|
mz_id = "726963056829115815"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "XCC"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "XCC"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "XCC"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "XCC"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "XCC"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_am-bpm_PROD" {
|
||||||
|
display_name = "CD_am-bpm PROD"
|
||||||
|
mz_id = "-6595885403062829907"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "am-bpm"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "am-bpm"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "am-bpm"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "am-bpm"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "am-bpm"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_comfy_PROD" {
|
||||||
|
display_name = "CD_comfy PROD"
|
||||||
|
mz_id = "848401857749292905"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Namespace"
|
||||||
|
value = "comfy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Namespace"
|
||||||
|
value = "comfy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Namespace"
|
||||||
|
value = "comfy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Namespace"
|
||||||
|
value = "comfy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Namespace"
|
||||||
|
value = "comfy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_emc_PROD" {
|
||||||
|
display_name = "CD_emc PROD"
|
||||||
|
mz_id = "1786086320445564585"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "emc"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "emc"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "emc"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "emc"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "emc"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_oes_PROD" {
|
||||||
|
display_name = "CD_oes PROD"
|
||||||
|
mz_id = "8628942035731022351"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "oes"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "oes"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "oes"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "oes"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "oes"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_rtti_PROD" {
|
||||||
|
display_name = "CD_rtti PROD"
|
||||||
|
mz_id = "-3219539803207924419"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "rtti"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "rtti"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "rtti"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "rtti"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "rtti"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_smc2-bl_PROD" {
|
||||||
|
display_name = "CD_smc2-bl PROD"
|
||||||
|
mz_id = "2228363312078773864"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-bl"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-bl"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-bl"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-bl"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-bl"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_smc2-key-trk_PROD" {
|
||||||
|
display_name = "CD_smc2-key-trk PROD"
|
||||||
|
mz_id = "-2891055759702142212"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-key-trk"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-key-trk"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-key-trk"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-key-trk"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-key-trk"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_smc2-rt_PROD" {
|
||||||
|
display_name = "CD_smc2-rt PROD"
|
||||||
|
mz_id = "-7966244513986779017"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-rt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-rt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-rt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-rt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "smc2-rt"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_tsr-vu_PROD" {
|
||||||
|
display_name = "CD_tsr-vu PROD"
|
||||||
|
mz_id = "-4286479403216664835"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "tsr-vu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "tsr-vu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "tsr-vu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "tsr-vu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "tsr-vu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,64 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_tvp_PROD" {
|
||||||
|
display_name = "CD_tvp PROD"
|
||||||
|
mz_id = "994369514616635249"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_vehicle-remote-commands-composite-service_PROD" {
|
||||||
|
display_name = "CD_vehicle-remote-commands-composite-service PROD"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_wus_PROD" {
|
||||||
|
display_name = "CD_wus PROD"
|
||||||
|
mz_id = "-830480395218330790"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "wus"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "wus"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "wus"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "wus"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "wus"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
resource "dynatrace_alerting_profile" "CD_xcc-settings_PROD" {
|
||||||
|
display_name = "CD_xcc-settings PROD"
|
||||||
|
mz_id = "2692334004302244598"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "xcc-settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "xcc-settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "xcc-settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "xcc-settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "INCLUDE_ALL"
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
tag_filters {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "xcc-settings"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,45 @@
|
||||||
|
resource "dynatrace_alerting_profile" "Default" {
|
||||||
|
display_name = "Default"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
resource "dynatrace_alerting_profile" "Mobile_2___Dark_Ops_Channel" {
|
||||||
|
display_name = "Mobile 2 | Dark Ops Channel"
|
||||||
|
mz_id = "7948932666251761491"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 15
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 30
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
resource "dynatrace_alerting_profile" "Mobile2_Applications" {
|
||||||
|
display_name = "Mobile2_Applications"
|
||||||
|
mz_id = "7948932666251761491"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "MONITORING_UNAVAILABLE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
resource "dynatrace_alerting_profile" "WL_Remote_Camera" {
|
||||||
|
display_name = "WL_Remote_Camera"
|
||||||
|
mz_id = "7111072854346026301"
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 0
|
||||||
|
severity_level = "AVAILABILITY"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "ERROR"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "PERFORMANCE"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 10
|
||||||
|
severity_level = "RESOURCE_CONTENTION"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
delay_in_minutes = 5
|
||||||
|
severity_level = "CUSTOM_ALERT"
|
||||||
|
tag_filter {
|
||||||
|
include_mode = "NONE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
resource "dynatrace_alerting_profile" "test" {
|
||||||
|
display_name = "test"
|
||||||
|
mz_id = "-4462354815142253164"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,127 @@
|
||||||
|
resource "dynatrace_autotag" "Cloud" {
|
||||||
|
name = "Cloud"
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "Azure"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "BEGINS_WITH"
|
||||||
|
value = "Azure-"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "Azure"
|
||||||
|
conditions {
|
||||||
|
cloud_type {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "AZURE"
|
||||||
|
}
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_CLOUD_TYPE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "AWS"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "BEGINS_WITH"
|
||||||
|
value = "AWS-"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "AWS"
|
||||||
|
conditions {
|
||||||
|
cloud_type {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "EC2"
|
||||||
|
}
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_CLOUD_TYPE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "On Premise"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "BEGINS_WITH"
|
||||||
|
value = "OpenShift_"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "On Premise"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "BEGINS_WITH"
|
||||||
|
value = "Multiproject_"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "On Premise"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "HOST_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "BEGINS_WITH"
|
||||||
|
value = "SingleApplicationServer_"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,47 @@
|
||||||
|
resource "dynatrace_autotag" "Hub" {
|
||||||
|
name = "Hub"
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "EMEA"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "PROCESS_GROUP_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "EMEA"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TYPE"
|
||||||
|
}
|
||||||
|
service_type {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "DATABASE_SERVICE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
resource "dynatrace_autotag" "Namespace" {
|
||||||
|
name = "Namespace"
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_HOST","PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "{ProcessGroup:KubernetesNamespace}"
|
||||||
|
conditions {
|
||||||
|
process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
|
||||||
|
dynamic_key = "KUBERNETES_NAMESPACE"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,815 @@
|
||||||
|
resource "dynatrace_autotag" "WK" {
|
||||||
|
name = "WK"
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "SMACC-BE"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "MetricsResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PrometheusResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PingResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "internal service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "ProtocolDataApi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "prod"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "SMACC-KTS"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PrometheusResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "MetricsResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PingResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "prod"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "ASBC-SMACC"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-SMACC"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "SMACC"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-BE"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "MetricsResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PrometheusResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PingResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "internal service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "ProtocolDataApi"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "prod"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "SMACC"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "SMACC-KTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PrometheusResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "MetricsResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "PingResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "prod"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["SERVICE_TO_HOST_LIKE","SERVICE_TO_PROCESS_GROUP_LIKE"]
|
||||||
|
value_format = "SMACC"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "ASBC-SMACC"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "EQUALS"
|
||||||
|
value = "HealthResource"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_DETECTED_NAME"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = true
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "executed"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Environment"
|
||||||
|
value = "PROD"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Login"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "connected-oauth-service-apim"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Login"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "legal-document-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Vehicle Mapping"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "user-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Vehicle Mapping"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-mapping-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Vehicle List"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Remote Services"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-remote-commands-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Vehicle Data"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Vehicle Data"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "vehicle-features-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Send destination to vehicle (Legacy)"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "destination-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Send destination to vehicle (Legacy)"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "send-to-car-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Send destination to vehicle (MGU)"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "destination-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Send destination to vehicle (MGU)"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "send-to-car-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "SERVICE"
|
||||||
|
enabled = true
|
||||||
|
value_format = "Personal Favorites"
|
||||||
|
conditions {
|
||||||
|
key {
|
||||||
|
type = "STATIC"
|
||||||
|
attribute = "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
tag {
|
||||||
|
negate = false
|
||||||
|
operator = "EQUALS"
|
||||||
|
value {
|
||||||
|
context = "CONTEXTLESS"
|
||||||
|
key = "Component"
|
||||||
|
value = "destination-composite-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,79 @@
|
||||||
|
resource "dynatrace_autotag" "compass-id" {
|
||||||
|
name = "compass-id"
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "{ProcessGroup:Kubernetes:compass-id}"
|
||||||
|
conditions {
|
||||||
|
custom_process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_CUSTOM_METADATA"
|
||||||
|
dynamic_key {
|
||||||
|
key = "compass-id"
|
||||||
|
source = "KUBERNETES"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "{ProcessGroup:CommandLineArgs/compassid=(.*?)-D}"
|
||||||
|
conditions {
|
||||||
|
process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
|
||||||
|
dynamic_key = "COMMAND_LINE_ARGS"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "-Dcom.bmw.dynatrace.compassid="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "{ProcessGroup:Environment:compass-id}"
|
||||||
|
conditions {
|
||||||
|
custom_process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_CUSTOM_METADATA"
|
||||||
|
dynamic_key {
|
||||||
|
key = "compass-id"
|
||||||
|
source = "ENVIRONMENT"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "{ProcessGroup:CommandLineArgs/compid=(.*?)-D}"
|
||||||
|
conditions {
|
||||||
|
process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
|
||||||
|
dynamic_key = "COMMAND_LINE_ARGS"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "-Dcom.bmw.dynatrace.compid="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
resource "dynatrace_autotag" "ms-id" {
|
||||||
|
name = "ms-id"
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "{ProcessGroup:CommandLineArgs/-Dcom.bmw.dynatrace.msid=(.*?)-D}"
|
||||||
|
conditions {
|
||||||
|
process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_PREDEFINED_METADATA"
|
||||||
|
dynamic_key = "COMMAND_LINE_ARGS"
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = true
|
||||||
|
negate = false
|
||||||
|
operator = "CONTAINS"
|
||||||
|
value = "-Dcom.bmw.dynatrace.msid="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE"]
|
||||||
|
value_format = "{ProcessGroup:Kubernetes:ms-id}"
|
||||||
|
conditions {
|
||||||
|
custom_process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_CUSTOM_METADATA"
|
||||||
|
dynamic_key {
|
||||||
|
key = "ms-id"
|
||||||
|
source = "KUBERNETES"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rules {
|
||||||
|
type = "PROCESS_GROUP"
|
||||||
|
enabled = true
|
||||||
|
propagation_types = ["PROCESS_GROUP_TO_SERVICE","PROCESS_GROUP_TO_HOST"]
|
||||||
|
value_format = "{ProcessGroup:Environment:ms-id}"
|
||||||
|
conditions {
|
||||||
|
custom_process_metadata {
|
||||||
|
attribute = "PROCESS_GROUP_CUSTOM_METADATA"
|
||||||
|
dynamic_key {
|
||||||
|
key = "ms-id"
|
||||||
|
source = "ENVIRONMENT"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string {
|
||||||
|
case_sensitive = false
|
||||||
|
negate = false
|
||||||
|
operator = "EXISTS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue