Create new management zones for the touchpoint vehicle service

pull-requests/553/from
Wang Zhibo 2023-07-05 19:03:10 +08:00
parent 8d8efdae3f
commit 42bda3eabd
4 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,23 @@
resource "dynatrace_management_zone" "CD_vehicle-ir" {
name = "CD_vehicle-ir"
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:iisc-ir\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:iisc-ir\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:iisc-ir\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:iisc-ir\"),tag(\"Environment:PROD\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(Container_GROUP_INSTANCE),tag(\"compass-id:iisc-ir\"),tag(\"Environment:PROD\")"
}
}

View File

@ -0,0 +1,23 @@
resource "dynatrace_management_zone" "CD_vehicle-qqmusic" {
name = "CD_vehicle-qqmusic"
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:oes-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:oes-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:oes-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:oes-cn\"),tag(\"Environment:PROD\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(Container_GROUP_INSTANCE),tag(\"compass-id:oes-cn\"),tag(\"Environment:PROD\")"
}
}

View File

@ -0,0 +1,23 @@
resource "dynatrace_management_zone" "CD_vehicle-rr" {
name = "CD_vehicle-rr"
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:iisc-rr\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:iisc-rr\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:iisc-rr\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:iisc-rr\"),tag(\"Environment:PROD\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(Container_GROUP_INSTANCE),tag(\"compass-id:iisc-rr\"),tag(\"Environment:PROD\")"
}
}

View File

@ -0,0 +1,23 @@
resource "dynatrace_management_zone" "CD_vehicle-speech" {
name = "CD_vehicle-speech"
entity_selector_based_rule {
enabled = true
selector = "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:hvd-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(HOST),tag(\"compass-id:hvd-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(Service),tag(\"compass-id:hvd-cn\"),tag(\"Environment:PROD\")"
}
entity_selector_based_rule {
enabled = true
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:hvd-cn\"),tag(\"Environment:PROD\"))"
}
entity_selector_based_rule {
enabled = true
selector = "type(Container_GROUP_INSTANCE),tag(\"compass-id:hvd-cn\"),tag(\"Environment:PROD\")"
}
}