From 3edfd638ec73aeedc03b63c817a6eeedd7cfcad4 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Tue, 3 Jan 2023 11:53:48 +0100 Subject: [PATCH] OPMAAS-3191 - Fixed compass-id by re-onboarding. --- .../alerting-profile/alerting-profile.yaml | 32 +- .../alerting-profile/default.json | 25 -- .../conditional-naming-processgroup.yaml | 5 +- .../conditional-naming-service.yaml | 5 +- .../custom-service-java.yaml | 1 + .../custom-service-java/template-1-1.json | 2 +- .../CD_ASBC-HAL-CL/dashboard/dashboard.yaml | 120 +++---- .../CD_ASBC-HAL-CL/dashboard/default.json | 59 +++- .../management-zone/default.json | 121 +------ .../management-zone/management-zone.yaml | 6 +- .../notification/notification.yaml | 64 ++-- .../synthetic-monitor/synthetic-monitor.yaml | 8 +- .../alerting-profile/alerting-profile.yaml | 43 +++ .../alerting-profile/default.json | 103 ++++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 8 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 8 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 9 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_ASBC-HAL-CL_old/dashboard/README.md | 4 + .../dashboard/dashboard.yaml | 125 +++++++ .../CD_ASBC-HAL-CL_old/dashboard/default.json | 309 ++++++++++++++++++ .../management-zone/README.md | 4 + .../management-zone/default.json | 114 +++++++ .../management-zone/management-zone.yaml | 6 + .../CD_ASBC-HAL-CL_old/notification/README.md | 4 + .../notification/email.json | 13 + .../CD_ASBC-HAL-CL_old/notification/itsm.json | 20 ++ .../notification/msTeams.json | 11 + .../notification/notification.yaml | 102 ++++++ .../synthetic-monitor/README.md | 4 + .../synthetic-monitor/default.json | 82 +++++ .../synthetic-monitor/synthetic-monitor.yaml | 10 + 38 files changed, 1243 insertions(+), 281 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/synthetic-monitor.yaml diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/alerting-profile.yaml index 2d148eed..b7c035eb 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/alerting-profile.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/alerting-profile.yaml @@ -1,43 +1,37 @@ config: -- CDASBC-HAL-CL: default.json +- CDnewComponentTag: default.json #Prod alerting profiles for EMEA/NA/CN -CDASBC-HAL-CL.EMEA-Prod: +CDnewComponentTag.EMEA-Prod: - name: CD_ASBC-HAL-CL PROD -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" -CDASBC-HAL-CL.NA-Prod: +CDnewComponentTag.NA-Prod: - name: CD_ASBC-HAL-CL PROD -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" -CDASBC-HAL-CL.CN-Prod: +CDnewComponentTag.CN-Prod: - name: CD_ASBC-HAL-CL PROD -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" #INT alerting profiles for EMEA/NA/CN -CDASBC-HAL-CL.EMEA-PreProd: +CDnewComponentTag.EMEA-PreProd: - name: CD_ASBC-HAL-CL INT -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" -CDASBC-HAL-CL.NA-PreProd: +CDnewComponentTag.NA-PreProd: - name: CD_ASBC-HAL-CL INT -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" -CDASBC-HAL-CL.CN-PreProd: +CDnewComponentTag.CN-PreProd: - name: CD_ASBC-HAL-CL INT -- tag: ASBC-HAL-CL -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/default.json index 681a4c64..bb81115c 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/default.json +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/alerting-profile/default.json @@ -10,11 +10,6 @@ "tagFilter": { "includeMode": "INCLUDE_ALL", "tagFilters": [ - { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - }, { "context": "CONTEXTLESS", "key": "Environment", @@ -29,11 +24,6 @@ "tagFilter": { "includeMode": "INCLUDE_ALL", "tagFilters": [ - { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - }, { "context": "CONTEXTLESS", "key": "Environment", @@ -48,11 +38,6 @@ "tagFilter": { "includeMode": "INCLUDE_ALL", "tagFilters": [ - { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - }, { "context": "CONTEXTLESS", "key": "Environment", @@ -67,11 +52,6 @@ "tagFilter": { "includeMode": "INCLUDE_ALL", "tagFilters": [ - { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - }, { "context": "CONTEXTLESS", "key": "Environment", @@ -86,11 +66,6 @@ "tagFilter": { "includeMode": "INCLUDE_ALL", "tagFilters": [ - { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - }, { "context": "CONTEXTLESS", "key": "Environment", diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-processgroup/conditional-naming-processgroup.yaml index fe7ce5fa..fb9502e8 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-processgroup/conditional-naming-processgroup.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -1,8 +1,7 @@ config: -- CDASBC-HAL-CL: template.json +- CDnewComponentTag: template.json -CDASBC-HAL-CL: +CDnewComponentTag: - name: MyProcessNamingRule - nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: ASBC-HAL-CL - skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-service/conditional-naming-service.yaml index fe7ce5fa..fb9502e8 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-service/conditional-naming-service.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/conditional-naming-service/conditional-naming-service.yaml @@ -1,8 +1,7 @@ config: -- CDASBC-HAL-CL: template.json +- CDnewComponentTag: template.json -CDASBC-HAL-CL: +CDnewComponentTag: - name: MyProcessNamingRule - nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: ASBC-HAL-CL - skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/custom-service-java.yaml index 25f8a028..a58fde35 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/custom-service-java.yaml @@ -5,5 +5,6 @@ customService1: - name: myJOYNRService - className: com.bmw.cc.conn.this.is.just.an.exampleClasss - methodName: exampleJoynrMethod +- methodArgs: java.lang.Byte[],java.lang.String - returnType: void - skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/custom-service-java/template-1-1.json @@ -13,7 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [], + "argumentTypes": ["{{.methodArgs}}"], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" } diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/dashboard.yaml index 59ce5ac5..162c6a15 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/dashboard.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/dashboard.yaml @@ -1,125 +1,109 @@ config: -- CDASBC-HAL-CL-PROD: default.json -- CDASBC-HAL-CL-E2E: default.json -- CDASBC-HAL-CL-INT: default.json -- CDASBC-HAL-CL-TEST: default.json +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json #PROD dashboards for EMEA/NA/CN Prod -CDASBC-HAL-CL-PROD: +CDnewComponentTag-PROD: - name: CD_ASBC-HAL-CL PROD -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "true" -CDASBC-HAL-CL-PROD.EMEA-Prod: +CDnewComponentTag-PROD.EMEA-Prod: - name: CD_ASBC-HAL-CL PROD -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" -CDASBC-HAL-CL-PROD.NA-Prod: +CDnewComponentTag-PROD.NA-Prod: - name: CD_ASBC-HAL-CL PROD -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" -CDASBC-HAL-CL-PROD.CN-Prod: +CDnewComponentTag-PROD.CN-Prod: - name: CD_ASBC-HAL-CL PROD -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: PROD - skipDeployment: "false" #E2E dashboards for EMEA/NA/CN Prod -CDASBC-HAL-CL-E2E: +CDnewComponentTag-E2E: - name: CD_ASBC-HAL-CL E2E -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: E2E - skipDeployment: "true" -CDASBC-HAL-CL-E2E.EMEA-Prod: +CDnewComponentTag-E2E.EMEA-Prod: - name: CD_ASBC-HAL-CL E2E -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: E2E - skipDeployment: "false" -CDASBC-HAL-CL-E2E.NA-Prod: +CDnewComponentTag-E2E.NA-Prod: - name: CD_ASBC-HAL-CL E2E -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: E2E - skipDeployment: "false" -CDASBC-HAL-CL-E2E.CN-Prod: +CDnewComponentTag-E2E.CN-Prod: - name: CD_ASBC-HAL-CL E2E -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: E2E - skipDeployment: "false" #INT dashboards for EMEA/NA/CN PreProd -CDASBC-HAL-CL-INT: +CDnewComponentTag-INT: - name: CD_ASBC-HAL-CL INT -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "true" -CDASBC-HAL-CL-INT.EMEA-PreProd: +CDnewComponentTag-INT.EMEA-PreProd: - name: CD_ASBC-HAL-CL INT -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" -CDASBC-HAL-CL-INT.NA-PreProd: +CDnewComponentTag-INT.NA-PreProd: - name: CD_ASBC-HAL-CL INT -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" -CDASBC-HAL-CL-INT.CN-PreProd: +CDnewComponentTag-INT.CN-PreProd: - name: CD_ASBC-HAL-CL INT -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" #TEST dashboards for EMEA/NA/CN PreProd -CDASBC-HAL-CL-TEST: +CDnewComponentTag-TEST: - name: CD_ASBC-HAL-CL TEST -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: TEST - skipDeployment: "true" -CDASBC-HAL-CL-TEST.EMEA-PreProd: +CDnewComponentTag-TEST.EMEA-PreProd: - name: CD_ASBC-HAL-CL TEST -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: TEST - skipDeployment: "false" -CDASBC-HAL-CL-TEST.NA-PreProd: +CDnewComponentTag-TEST.NA-PreProd: - name: CD_ASBC-HAL-CL TEST -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: TEST - skipDeployment: "false" -CDASBC-HAL-CL-TEST.CN-PreProd: +CDnewComponentTag-TEST.CN-PreProd: - name: CD_ASBC-HAL-CL TEST -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id -- tag: ASBC-HAL-CL +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - env: TEST - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/default.json index ef07d18c..189767ed 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/default.json +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/dashboard/default.json @@ -13,7 +13,7 @@ "timeframe": "-24h to now" }, "tags": [ - "{{.tag}}" + "{{.mzName}}" ], "preset": true }, @@ -28,7 +28,12 @@ "width": 1064, "height": 304 }, - "tileFilter": {}, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, "filterConfig": { "type": "MIXED", "customName": "Failure rate (HTTP 4xx/5xx errors)", @@ -72,8 +77,7 @@ "filtersPerEntityType": { "SERVICE": { "AUTO_TAGS": [ - "Environment:{{.env}}", - "Component:{{.tag}}" + "Environment:{{.env}}" ] } } @@ -106,7 +110,12 @@ "width": 1064, "height": 38 }, - "tileFilter": {} + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } }, { "name": "Markdown", @@ -131,7 +140,12 @@ "width": 1064, "height": 304 }, - "tileFilter": {}, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, "filterConfig": { "type": "MIXED", "customName": "Response time, Request Count and Number of Errors", @@ -189,8 +203,7 @@ "filtersPerEntityType": { "SERVICE": { "AUTO_TAGS": [ - "Environment:{{.env}}", - "Component:{{.tag}}" + "Environment:{{.env}}" ] } } @@ -219,7 +232,12 @@ "width": 190, "height": 152 }, - "tileFilter": {}, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, "filterConfig": { "type": "DATABASE", "customName": "Databases", @@ -233,8 +251,7 @@ "filtersPerEntityType": { "DATABASE": { "AUTO_TAGS": [ - "Environment:{{.env}}", - "Component:{{.tag}}" + "Environment:{{.env}}" ] } } @@ -251,7 +268,12 @@ "width": 190, "height": 152 }, - "tileFilter": {}, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, "filterConfig": { "type": "SERVICE", "customName": "Services", @@ -265,8 +287,7 @@ "filtersPerEntityType": { "SERVICE": { "AUTO_TAGS": [ - "Environment:{{.env}}", - "Component:{{.tag}}" + "Environment:{{.env}}" ] } } @@ -283,7 +304,12 @@ "width": 190, "height": 152 }, - "tileFilter": {}, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, "filterConfig": { "type": "HOST", "customName": "Hosts", @@ -297,8 +323,7 @@ "filtersPerEntityType": { "HOST": { "AUTO_TAGS": [ - "Environment:{{.env}}", - "Component:{{.tag}}" + "Environment:{{.env}}" ] } } diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/default.json index bffa0c3b..fc96de39 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/default.json +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/default.json @@ -1,114 +1,23 @@ { "dimensionalRules": [], "name": "{{.name}}", - "rules": [ - { - "conditions": [ + "entitySelectorBasedRules": [ { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "SERVICE_TAGS" - } - } - ], - "enabled": true, - "propagationTypes": [ - "SERVICE_TO_PROCESS_GROUP_LIKE", - "SERVICE_TO_HOST_LIKE" - ], - "type": "SERVICE" - }, - { - "conditions": [ + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "PROCESS_GROUP_TAGS" - } - } - ], - "enabled": true, - "propagationTypes": [ - "PROCESS_GROUP_TO_HOST" - ], - "type": "PROCESS_GROUP" - }, - { - "conditions": [ + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "HOST_TAGS" - } - } + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } ], - "enabled": true, - "type": "HOST" - }, - { - "conditions": [ - { - "comparisonInfo": { - "caseSensitive": true, - "negate": false, - "operator": "CONTAINS", - "type": "STRING", - "value": "{{.tag}}" - }, - "key": { - "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" - } - } - ], - "enabled": true, - "propagationTypes": [], - "type": "CLOUD_APPLICATION_NAMESPACE" - }, - { - "conditions": [ - { - "comparisonInfo": { - "caseSensitive": true, - "negate": false, - "operator": "CONTAINS", - "type": "STRING", - "value": "{{.tag}}" - }, - "key": { - "attribute": "CLOUD_APPLICATION_NAME" - } - } - ], - "enabled": true, - "propagationTypes": [], - "type": "CLOUD_APPLICATION" - } - ] + "rules": [] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/management-zone.yaml index ec6b3888..9fdb9441 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/management-zone.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/management-zone/management-zone.yaml @@ -1,6 +1,6 @@ config: -- CDASBC-HAL-CL: default.json +- CDnewComponentTag: default.json -CDASBC-HAL-CL: +CDnewComponentTag: - name: CD_ASBC-HAL-CL -- tag: ASBC-HAL-CL +- compassIDs: \"compass-id:asbc-hal-cl\" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/notification/notification.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/notification/notification.yaml index 74b04d04..8d262ec7 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/notification/notification.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/notification/notification.yaml @@ -1,102 +1,102 @@ config: -- CDASBC-HAL-CL: msTeams.json -- CDASBC-HAL-CLITSM: itsm.json +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json # Notification System for EMEA/NA/CN Prod msTeams -CDASBC-HAL-CL.EMEA-Prod: +CDnewComponentTag.EMEA-Prod: - name: CD_ASBC-HAL-CL PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" -CDASBC-HAL-CL.NA-Prod: +CDnewComponentTag.NA-Prod: - name: CD_ASBC-HAL-CL PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" -CDASBC-HAL-CL.CN-Prod: +CDnewComponentTag.CN-Prod: - name: CD_ASBC-HAL-CL PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" # Notification System for EMEA/NA/CN PreProd msTeams -CDASBC-HAL-CL.EMEA-PreProd: +CDnewComponentTag.EMEA-PreProd: - name: CD_ASBC-HAL-CL INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" -CDASBC-HAL-CL.NA-PreProd: +CDnewComponentTag.NA-PreProd: - name: CD_ASBC-HAL-CL INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" -CDASBC-HAL-CL.CN-PreProd: +CDnewComponentTag.CN-PreProd: - name: CD_ASBC-HAL-CL INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://empty - skipDeployment: "true" # Notification System for EMEA/NA/CN Prod ITSM -CDASBC-HAL-CLITSM.EMEA-Prod: +CDnewComponentTagITSM.EMEA-Prod: - name: CD_ASBC-HAL-CL ITSM PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" -CDASBC-HAL-CLITSM.NA-Prod: +CDnewComponentTagITSM.NA-Prod: - name: CD_ASBC-HAL-CL ITSM PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" -CDASBC-HAL-CLITSM.CN-Prod: +CDnewComponentTagITSM.CN-Prod: - name: CD_ASBC-HAL-CL ITSM PROD -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" -CDASBC-HAL-CLITSM.EMEA-PreProd: +CDnewComponentTagITSM.EMEA-PreProd: - name: CD_ASBC-HAL-CL ITSM INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" -CDASBC-HAL-CLITSM.NA-PreProd: +CDnewComponentTagITSM.NA-PreProd: - name: CD_ASBC-HAL-CL ITSM INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" -CDASBC-HAL-CLITSM.CN-PreProd: +CDnewComponentTagITSM.CN-PreProd: - name: CD_ASBC-HAL-CL ITSM INT -- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDnewComponentTag.id - webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 - contractid: "10APP11906401" - appdid: "TEST123" -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - DTEnvironment: https://xxu26128.live.dynatrace.com - skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/synthetic-monitor/synthetic-monitor.yaml index 38797538..f363eff8 100644 --- a/BMW-Dynatrace-config/CD_ASBC-HAL-CL/synthetic-monitor/synthetic-monitor.yaml +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL/synthetic-monitor/synthetic-monitor.yaml @@ -1,10 +1,10 @@ config: -- ASBC-HAL-CL: default.json +- newComponentTag: default.json -ASBC-HAL-CL: +newComponentTag: - name: CD_ASBC-HAL-CL - -- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name -- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- mzName: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDnewComponentTag.id - endpoint: - location: - skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..2d148eed --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/alerting-profile.yaml @@ -0,0 +1,43 @@ +config: +- CDASBC-HAL-CL: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDASBC-HAL-CL.EMEA-Prod: +- name: CD_ASBC-HAL-CL PROD +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: PROD +- skipDeployment: "false" +CDASBC-HAL-CL.NA-Prod: +- name: CD_ASBC-HAL-CL PROD +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: PROD +- skipDeployment: "false" +CDASBC-HAL-CL.CN-Prod: +- name: CD_ASBC-HAL-CL PROD +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDASBC-HAL-CL.EMEA-PreProd: +- name: CD_ASBC-HAL-CL INT +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: INT +- skipDeployment: "false" +CDASBC-HAL-CL.NA-PreProd: +- name: CD_ASBC-HAL-CL INT +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: INT +- skipDeployment: "false" +CDASBC-HAL-CL.CN-PreProd: +- name: CD_ASBC-HAL-CL INT +- tag: ASBC-HAL-CL +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/default.json new file mode 100644 index 00000000..681a4c64 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/alerting-profile/default.json @@ -0,0 +1,103 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/calculated-metrics-service/README.md @@ -0,0 +1,4 @@ + +### How to configure custom metrics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/README.md @@ -0,0 +1,4 @@ + +### How to configure process groups? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fe7ce5fa --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,8 @@ +config: +- CDASBC-HAL-CL: template.json + +CDASBC-HAL-CL: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: ASBC-HAL-CL +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-processgroup/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "type": "PROCESS_GROUP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/README.md @@ -0,0 +1,4 @@ + +### How to configure service naming + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fe7ce5fa --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,8 @@ +config: +- CDASBC-HAL-CL: template.json + +CDASBC-HAL-CL: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: ASBC-HAL-CL +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/conditional-naming-service/template.json @@ -0,0 +1,29 @@ +{ + "displayName": "{{.name}}", + "enabled": true, + "metadata": { + "clusterVersion": "1.214.107.20210407-223952", + "configurationVersions": [ + 0 + ] + }, + "nameFormat": "{{.nameFormat}}", + "rules": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "type": "SERVICE" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/README.md @@ -0,0 +1,4 @@ + +### How to configure custom services? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..25f8a028 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/custom-service-java.yaml @@ -0,0 +1,9 @@ +config: +- customService1: template-1-1.json + +customService1: +- name: myJOYNRService +- className: com.bmw.cc.conn.this.is.just.an.exampleClasss +- methodName: exampleJoynrMethod +- returnType: void +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/template-1-1.json new file mode 100644 index 00000000..b3003515 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/custom-service-java/template-1-1.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/README.md @@ -0,0 +1,4 @@ + +### How to configure dashboards? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Dashboards) page to configure your dashboards. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/dashboard.yaml new file mode 100644 index 00000000..59ce5ac5 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/dashboard.yaml @@ -0,0 +1,125 @@ +config: +- CDASBC-HAL-CL-PROD: default.json +- CDASBC-HAL-CL-E2E: default.json +- CDASBC-HAL-CL-INT: default.json +- CDASBC-HAL-CL-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDASBC-HAL-CL-PROD: +- name: CD_ASBC-HAL-CL PROD +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: PROD +- skipDeployment: "true" +CDASBC-HAL-CL-PROD.EMEA-Prod: +- name: CD_ASBC-HAL-CL PROD +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: PROD +- skipDeployment: "false" +CDASBC-HAL-CL-PROD.NA-Prod: +- name: CD_ASBC-HAL-CL PROD +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: PROD +- skipDeployment: "false" +CDASBC-HAL-CL-PROD.CN-Prod: +- name: CD_ASBC-HAL-CL PROD +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDASBC-HAL-CL-E2E: +- name: CD_ASBC-HAL-CL E2E +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: E2E +- skipDeployment: "true" +CDASBC-HAL-CL-E2E.EMEA-Prod: +- name: CD_ASBC-HAL-CL E2E +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: E2E +- skipDeployment: "false" +CDASBC-HAL-CL-E2E.NA-Prod: +- name: CD_ASBC-HAL-CL E2E +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: E2E +- skipDeployment: "false" +CDASBC-HAL-CL-E2E.CN-Prod: +- name: CD_ASBC-HAL-CL E2E +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDASBC-HAL-CL-INT: +- name: CD_ASBC-HAL-CL INT +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: INT +- skipDeployment: "true" +CDASBC-HAL-CL-INT.EMEA-PreProd: +- name: CD_ASBC-HAL-CL INT +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: INT +- skipDeployment: "false" +CDASBC-HAL-CL-INT.NA-PreProd: +- name: CD_ASBC-HAL-CL INT +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: INT +- skipDeployment: "false" +CDASBC-HAL-CL-INT.CN-PreProd: +- name: CD_ASBC-HAL-CL INT +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDASBC-HAL-CL-TEST: +- name: CD_ASBC-HAL-CL TEST +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: TEST +- skipDeployment: "true" +CDASBC-HAL-CL-TEST.EMEA-PreProd: +- name: CD_ASBC-HAL-CL TEST +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: TEST +- skipDeployment: "false" +CDASBC-HAL-CL-TEST.NA-PreProd: +- name: CD_ASBC-HAL-CL TEST +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: TEST +- skipDeployment: "false" +CDASBC-HAL-CL-TEST.CN-PreProd: +- name: CD_ASBC-HAL-CL TEST +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- tag: ASBC-HAL-CL +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/default.json new file mode 100644 index 00000000..ef07d18c --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/dashboard/default.json @@ -0,0 +1,309 @@ +{ + "metadata": { + "configurationVersions": [ + 3 + ], + "clusterVersion": "1.214.107.20210407-223952" + }, + "dashboardMetadata": { + "name": "{{.name}}", + "shared": true, + "owner": "Ignacio.Goldman@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "{{.tag}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Failure rate (HTTP 4xx/5xx errors)", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.errors.fourxx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.fivexx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956393463, + "customColor": "#ff0000" + }, + "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956441725, + "customColor": "#fff29a" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "name": "Overall Health", + "tileType": "HEADER", + "configured": true, + "bounds": { + "top": 0, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {} + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 532, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 570, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Response time, Request Count and Number of Errors", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.response.time", + "aggregation": "AVG", + "type": "LINE", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.requestCount.total", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.total.count", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275720776, + "customColor": "#008cdb" + }, + "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275955999, + "customColor": "#ef651f" + }, + "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE": { + "lastModified": 1595275686773, + "customColor": "#b4e5f9" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 190, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "", + "tileType": "DATABASES_OVERVIEW", + "configured": true, + "bounds": { + "top": 38, + "left": 646, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/README.md @@ -0,0 +1,4 @@ + +### How to configure management zones? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/default.json new file mode 100644 index 00000000..bffa0c3b --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/default.json @@ -0,0 +1,114 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "rules": [ + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_PROCESS_GROUP_LIKE", + "SERVICE_TO_HOST_LIKE" + ], + "type": "SERVICE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "HOST_TAGS" + } + } + ], + "enabled": true, + "type": "HOST" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION_NAMESPACE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION" + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/management-zone.yaml new file mode 100644 index 00000000..ec6b3888 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDASBC-HAL-CL: default.json + +CDASBC-HAL-CL: +- name: CD_ASBC-HAL-CL +- tag: ASBC-HAL-CL diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/README.md @@ -0,0 +1,4 @@ + +### How to configure notification systems? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Problem+Notification+Integrations) page to configure your notification systems. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/email.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/email.json @@ -0,0 +1,13 @@ +{ + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "bccReceivers": [], + "body": "{ProblemDetailsHTML}", + "ccReceivers": [], + "name": "{{.name}}", + "receivers": [ + "{{.receivers}}" + ], + "subject": "{State} Problem {ProblemID}: {ImpactedEntity}", + "type": "EMAIL" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/itsm.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/itsm.json @@ -0,0 +1,20 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [ + { + "name": "Authorization", + "value": "{{.Env.SecretAuthHeader}}" + }, + { + "name": "x-apikey", + "value": "{{.Env.SecretXAPIKey}}" + } + ], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/msTeams.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/msTeams.json @@ -0,0 +1,11 @@ +{ + "acceptAnyCertificate": false, + "active": true, + "alertingProfile": "{{.alertingProfile}}", + "headers": [], + "name": "{{.name}}", + "notifyEventMergesEnabled": false, + "payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}", + "type": "WEBHOOK", + "url": "{{.webhook}}" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/notification.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/notification.yaml new file mode 100644 index 00000000..74b04d04 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDASBC-HAL-CL: msTeams.json +- CDASBC-HAL-CLITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDASBC-HAL-CL.EMEA-Prod: +- name: CD_ASBC-HAL-CL PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" +CDASBC-HAL-CL.NA-Prod: +- name: CD_ASBC-HAL-CL PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" +CDASBC-HAL-CL.CN-Prod: +- name: CD_ASBC-HAL-CL PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDASBC-HAL-CL.EMEA-PreProd: +- name: CD_ASBC-HAL-CL INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" +CDASBC-HAL-CL.NA-PreProd: +- name: CD_ASBC-HAL-CL INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" +CDASBC-HAL-CL.CN-PreProd: +- name: CD_ASBC-HAL-CL INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDASBC-HAL-CLITSM.EMEA-Prod: +- name: CD_ASBC-HAL-CL ITSM PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDASBC-HAL-CLITSM.NA-Prod: +- name: CD_ASBC-HAL-CL ITSM PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDASBC-HAL-CLITSM.CN-Prod: +- name: CD_ASBC-HAL-CL ITSM PROD +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDASBC-HAL-CLITSM.EMEA-PreProd: +- name: CD_ASBC-HAL-CL ITSM INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDASBC-HAL-CLITSM.NA-PreProd: +- name: CD_ASBC-HAL-CL ITSM INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDASBC-HAL-CLITSM.CN-PreProd: +- name: CD_ASBC-HAL-CL ITSM INT +- alertingProfile: CD_ASBC-HAL-CL/alerting-profile/CDASBC-HAL-CL.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/README.md @@ -0,0 +1,4 @@ + +### How to configure synthetics? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/default.json @@ -0,0 +1,82 @@ +{ + "anomalyDetection": { + "loadingTimeThresholds": { + "enabled": false, + "thresholds": [ + { + "type": "TOTAL", + "valueMs": 0 + } + ] + }, + "outageHandling": { + "globalOutage": true, + "localOutage": false, + "localOutagePolicy": { + "affectedLocations": 1, + "consecutiveRuns": 3 + } + } + }, + "automaticallyAssignedApps": [], + "enabled": true, + "frequencyMin": 1, + "locations": [ + "{{.location}}" + ], + "managementZones": [ + { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + ], + "manuallyAssignedApps": [], + "name": "{{.name}}", + "requests": [ + { + "entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A", + "name": "{{.name}}", + "sequenceNumber": 1 + } + ], + "script": { + "requests": [ + { + "configuration": { + "acceptAnyCertificate": true, + "followRedirects": true, + "requestHeaders": [ + { + "name": "accept", + "value": "application/json" + }, + { + "name": "Content-Type", + "value": "application/json" + }, + { + "name": "api_key", + "value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23" + } + ] + }, + "description": "{{.name}}", + "method": "GET", + "url": "{{.endpoint}}", + "validation": { + "rules": [ + { + "passIfFound": true, + "type": "httpStatusesList", + "value": "200" + } + ], + "rulesChaining": "or" + } + } + ], + "version": "1.0" + }, + "tags": [], + "type": "HTTP" +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..38797538 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ASBC-HAL-CL_old/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- ASBC-HAL-CL: default.json + +ASBC-HAL-CL: +- name: CD_ASBC-HAL-CL - +- mzName: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.name +- mzId: CD_ASBC-HAL-CL/management-zone/CDASBC-HAL-CL.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file