From e7f7c1f23735687cae22ceaa98eaea45576b8fb9 Mon Sep 17 00:00:00 2001 From: "Qian Cheng (ext.)" Date: Thu, 30 Sep 2021 18:36:57 +0200 Subject: [PATCH] updated managed Zone (depend on ms-id) --- .../CD_smc2-bl/management-zone/default.json | 26 +++++++++++++++++++ .../management-zone/default.json | 26 +++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/BMW-Dynatrace-config/CD_smc2-bl/management-zone/default.json b/BMW-Dynatrace-config/CD_smc2-bl/management-zone/default.json index bffa0c3b..7980a336 100644 --- a/BMW-Dynatrace-config/CD_smc2-bl/management-zone/default.json +++ b/BMW-Dynatrace-config/CD_smc2-bl/management-zone/default.json @@ -109,6 +109,32 @@ "enabled": true, "propagationTypes": [], "type": "CLOUD_APPLICATION" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "ms-id", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_HOST_LIKE", + "SERVICE_TO_PROCESS_GROUP_LIKE" + ], + "type": "SERVICE" } ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_smc2-key-trk/management-zone/default.json b/BMW-Dynatrace-config/CD_smc2-key-trk/management-zone/default.json index bffa0c3b..7980a336 100644 --- a/BMW-Dynatrace-config/CD_smc2-key-trk/management-zone/default.json +++ b/BMW-Dynatrace-config/CD_smc2-key-trk/management-zone/default.json @@ -109,6 +109,32 @@ "enabled": true, "propagationTypes": [], "type": "CLOUD_APPLICATION" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "ms-id", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS", + "type": "STATIC" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_HOST_LIKE", + "SERVICE_TO_PROCESS_GROUP_LIKE" + ], + "type": "SERVICE" } ] } \ No newline at end of file