From 7fbabd9de9211b70925f52e38f7d41bc3e29701a Mon Sep 17 00:00:00 2001 From: Muminovic Mersa Date: Fri, 10 Jun 2022 11:50:32 +0200 Subject: [PATCH 01/11] Changed custom services for scallservice and added new for diagservice --- .../custom-service-java.yaml | 28 ++++++++-- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- .../custom-service-java.yaml | 7 ++- .../custom-service-java/template-1-1.json | 2 +- .../custom-service-java/template-1-2.json | 4 +- 5 files changed, 63 insertions(+), 29 deletions(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml index 25f8a028..9b7ac25c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml @@ -1,9 +1,27 @@ config: - customService1: template-1-1.json +- customService2: 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 +- name: "ifs-007 (JOYNR) requestDiagResult/notifyDiagResult - IN/OUT" +- className1: com.bmw.cc.ts.diagservice.joynr.consumer.boundary.DiagServiceV1Consumer +- methodName1: requestDiagResult +- methodArgs1: com.bmw.cc.ts.diagservice.joynr.consumer.entity.RequestPdmResultData,boolean,int +- returnType1: void +- className2: com.bmw.cc.ts.diagservice.joynr.consumer.boundary.DiagServiceBackendServiceInterface +- methodName2: notifyDiagResult +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType2: void +- skipDeployment: "false" + +customService2: +- name: "ifs-007 (JOYNR) requestPdmResult/notifyPdmResult - IN/OUT" +- className1: com.bmw.cc.ts.diagservice.joynr.consumer.boundary.DiagServiceV1Consumer +- methodName1: requestPdmResult +- methodArgs1: com.bmw.cc.ts.diagservice.joynr.consumer.entity.RequestPdmResultData,boolean,int +- returnType1: void +- className2: com.bmw.cc.ts.diagservice.joynr.consumer.boundary.DiagServiceBackendServiceInterface +- methodName2: notifyPdmResultStatus +- methodArgs2:joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TeleserviceInfo,java.lang.String,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType2: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/template-1-1.json index b3003515..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml index f19e7fbe..e4484106 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml @@ -3,19 +3,22 @@ config: - customService2: template-1-1.json customService1: -- name: "VDLM_scallservice - ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT" +- name: "ifs-002 (JOYNR) requestMaintenanceStatus/confirmMaintenanceStatus - OUT" - className: com.bmw.cc.ts.scallservice.joynr.consumer.boundary.SCallServiceV1Consumer - methodName1: confirmMaintenanceStatus +- methodArgs1: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode - returnType1: void - methodName2: requestMaintenanceStatus +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId - returnType2: void - skipDeployment: "false" customService2: - - name: "VDLM_scallservice - ifs-002 (JOYNR) notifyMaintenanceStatus - IN" + - name: "ifs-002 (JOYNR) notifyMaintenanceStatus - IN" - className: com.bmw.cc.ts.scallservice.bm.maintenance.boundary.MaintenanceConfirmBF - methodName: notifyMaintenanceStatus + - methodArgs: com.bmw.cc.ts.joynr.consumer.entity.NotifyMaintenanceVehicleResponse - returnType: void - skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-1.json index 4ab1ee81..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-1.json @@ -13,7 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": ["com.bmw.cc.ts.joynr.consumer.entity.NotifyMaintenanceVehicleResponse"], + "argumentTypes": ["{{.methodArgs}}"], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json index b3b7224f..6a18b39d 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json @@ -13,7 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": ["joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId","joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode"], + "argumentTypes": ["{{.methodArgs1}}"], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" }] @@ -26,7 +26,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ "joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId" ], + "argumentTypes": ["{{.methodArgs2}}"], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" } From 63ad69fcc05528d3d3f353d449c533275650ea57 Mon Sep 17 00:00:00 2001 From: Muminovic Mersa Date: Fri, 10 Jun 2022 18:51:25 +0200 Subject: [PATCH 02/11] Added joynr custom services for tsrd and rtcservice --- .../custom-service-java.yaml | 15 ++++-- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- .../custom-service-java.yaml | 15 ++++-- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- 4 files changed, 84 insertions(+), 48 deletions(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/custom-service-java.yaml index 25f8a028..13cc9f3b 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/custom-service-java.yaml @@ -2,8 +2,13 @@ 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 +- name: "ifs-002 (JOYNR) request/notifyKeyData - IN/OUT" +- className1: com.bmw.cc.ts.rtcservice.joynr.consumer.boundary.RTCServiceV1Consumer +- methodName1: requestKeyData +- methodArgs1: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId +- returnType1: void +- className2: com.bmw.cc.ts.rtcservice.joynr.consumer.boundary.RTCBackendServiceInterface +- methodName2: notifyKeyData +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TeleserviceInfo,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType2: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/template-1-1.json index b3003515..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_rtcservice/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml index 25f8a028..a10649bd 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml @@ -2,8 +2,13 @@ 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 +- name: "ifs-006 (JOYNR) enable/disableFullDiagnosticsMode - OUT" +- className1: com.bmw.cc.ts.tsrd.bm.remotediagnosis.control.VehicleDiagnosticsJoynrBA +- methodName1: enableFullDiagnosticsMode +- methodArgs1: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId +- returnType1: void +- className2: com.bmw.cc.ts.tsrd.bm.remotediagnosis.control.VehicleDiagnosticsJoynrBA +- methodName2: disableFullDiagnosticsMode +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId +- returnType2: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json index b3003515..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file From 8bd31cbd35dd6d25107abf96dc34c5811d18ae54 Mon Sep 17 00:00:00 2001 From: Muminovic Mersa Date: Fri, 10 Jun 2022 18:59:20 +0200 Subject: [PATCH 03/11] Onboarded not yet AWS migrated applications: pdmmanager, wlmanager, wlupdater, cas-spm, cas-stm, eshad --- .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_cas-spm/dashboard/README.md | 4 + .../CD_VDLM_cas-spm/dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_cas-spm/dashboard/default.json | 334 ++++++++++++++++++ .../CD_VDLM_cas-spm/management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_cas-spm/notification/README.md | 4 + .../CD_VDLM_cas-spm/notification/email.json | 13 + .../CD_VDLM_cas-spm/notification/itsm.json | 20 ++ .../CD_VDLM_cas-spm/notification/msTeams.json | 11 + .../notification/notification.yaml | 102 ++++++ .../synthetic-monitor/README.md | 4 + .../synthetic-monitor/default.json | 82 +++++ .../synthetic-monitor/synthetic-monitor.yaml | 10 + .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_cas-stm/dashboard/README.md | 4 + .../CD_VDLM_cas-stm/dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_cas-stm/dashboard/default.json | 334 ++++++++++++++++++ .../CD_VDLM_cas-stm/management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_cas-stm/notification/README.md | 4 + .../CD_VDLM_cas-stm/notification/email.json | 13 + .../CD_VDLM_cas-stm/notification/itsm.json | 20 ++ .../CD_VDLM_cas-stm/notification/msTeams.json | 11 + .../notification/notification.yaml | 102 ++++++ .../synthetic-monitor/README.md | 4 + .../synthetic-monitor/default.json | 82 +++++ .../synthetic-monitor/synthetic-monitor.yaml | 10 + .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_eshad/dashboard/README.md | 4 + .../CD_VDLM_eshad/dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_eshad/dashboard/default.json | 334 ++++++++++++++++++ .../CD_VDLM_eshad/management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_eshad/notification/README.md | 4 + .../CD_VDLM_eshad/notification/email.json | 13 + .../CD_VDLM_eshad/notification/itsm.json | 20 ++ .../CD_VDLM_eshad/notification/msTeams.json | 11 + .../notification/notification.yaml | 102 ++++++ .../CD_VDLM_eshad/synthetic-monitor/README.md | 4 + .../synthetic-monitor/default.json | 82 +++++ .../synthetic-monitor/synthetic-monitor.yaml | 10 + .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_pdmmanager/dashboard/README.md | 4 + .../dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_pdmmanager/dashboard/default.json | 334 ++++++++++++++++++ .../management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_pdmmanager/notification/README.md | 4 + .../notification/email.json | 13 + .../CD_VDLM_pdmmanager/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 + .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_wlmanager/dashboard/README.md | 4 + .../dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_wlmanager/dashboard/default.json | 334 ++++++++++++++++++ .../management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_wlmanager/notification/README.md | 4 + .../CD_VDLM_wlmanager/notification/email.json | 13 + .../CD_VDLM_wlmanager/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 + .../alerting-profile/alerting-profile.yaml | 37 ++ .../alerting-profile/default.json | 78 ++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 7 + .../template.json | 29 ++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 7 + .../conditional-naming-service/template.json | 29 ++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 10 + .../custom-service-java/template-1-1.json | 23 ++ .../CD_VDLM_wlupdater/dashboard/README.md | 4 + .../dashboard/dashboard.yaml | 109 ++++++ .../CD_VDLM_wlupdater/dashboard/default.json | 334 ++++++++++++++++++ .../management-zone/README.md | 4 + .../management-zone/default.json | 23 ++ .../management-zone/management-zone.yaml | 6 + .../CD_VDLM_wlupdater/notification/README.md | 4 + .../CD_VDLM_wlupdater/notification/email.json | 13 + .../CD_VDLM_wlupdater/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 + 156 files changed, 5772 insertions(+) create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/management-zone.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/synthetic-monitor.yaml diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..d2e5236d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_cas-spm PROD +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_cas-spm PROD +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_cas-spm PROD +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_cas-spm INT +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_cas-spm INT +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_cas-spm INT +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_cas-spm/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/dashboard.yaml new file mode 100644 index 00000000..59501ca5 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_cas-spm PROD +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_cas-spm PROD +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_cas-spm PROD +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_cas-spm PROD +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_cas-spm E2E +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_cas-spm E2E +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_cas-spm E2E +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_cas-spm E2E +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_cas-spm INT +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_cas-spm INT +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_cas-spm INT +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_cas-spm INT +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_cas-spm TEST +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_cas-spm TEST +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_cas-spm TEST +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_cas-spm TEST +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/management-zone.yaml new file mode 100644 index 00000000..150b205b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_cas-spm +- compassIDs: \"compass-id:cas-spm\" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/notification.yaml new file mode 100644 index 00000000..5da0ce5a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_cas-spm PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_cas-spm PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_cas-spm PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_cas-spm INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_cas-spm INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_cas-spm INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_cas-spm ITSM PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_cas-spm ITSM PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_cas-spm ITSM PROD +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_cas-spm ITSM INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_cas-spm ITSM INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_cas-spm ITSM INT +- alertingProfile: CD_VDLM_cas-spm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/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_VDLM_cas-spm/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..db424b1d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-spm/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_cas-spm - +- mzName: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-spm/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..bd82a542 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_cas-stm PROD +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_cas-stm PROD +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_cas-stm PROD +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_cas-stm INT +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_cas-stm INT +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_cas-stm INT +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_cas-stm/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/dashboard.yaml new file mode 100644 index 00000000..d8936e0e --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_cas-stm PROD +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_cas-stm PROD +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_cas-stm PROD +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_cas-stm PROD +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_cas-stm E2E +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_cas-stm E2E +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_cas-stm E2E +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_cas-stm E2E +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_cas-stm INT +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_cas-stm INT +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_cas-stm INT +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_cas-stm INT +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_cas-stm TEST +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_cas-stm TEST +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_cas-stm TEST +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_cas-stm TEST +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/management-zone.yaml new file mode 100644 index 00000000..cbd41e7f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_cas-stm +- compassIDs: \"compass-id:cas-stm\" diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/notification.yaml new file mode 100644 index 00000000..002a93ff --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_cas-stm PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_cas-stm PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_cas-stm PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_cas-stm INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_cas-stm INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_cas-stm INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_cas-stm ITSM PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_cas-stm ITSM PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_cas-stm ITSM PROD +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_cas-stm ITSM INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_cas-stm ITSM INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_cas-stm ITSM INT +- alertingProfile: CD_VDLM_cas-stm/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/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_VDLM_cas-stm/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..ed497200 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_cas-stm/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_cas-stm - +- mzName: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_cas-stm/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..d90a987d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_eshad PROD +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_eshad PROD +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_eshad PROD +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_eshad INT +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_eshad INT +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_eshad INT +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_eshad/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_eshad/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_eshad/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/dashboard.yaml new file mode 100644 index 00000000..854d3318 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_eshad PROD +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_eshad PROD +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_eshad PROD +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_eshad PROD +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_eshad E2E +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_eshad E2E +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_eshad E2E +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_eshad E2E +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_eshad INT +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_eshad INT +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_eshad INT +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_eshad INT +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_eshad TEST +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_eshad TEST +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_eshad TEST +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_eshad TEST +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/management-zone.yaml new file mode 100644 index 00000000..30557131 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_eshad +- compassIDs: \"compass-id:eshad\" diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/notification.yaml new file mode 100644 index 00000000..afdfc9d3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_eshad PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_eshad PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_eshad PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_eshad INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_eshad INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_eshad INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_eshad ITSM PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_eshad ITSM PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_eshad ITSM PROD +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_eshad ITSM INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_eshad ITSM INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_eshad ITSM INT +- alertingProfile: CD_VDLM_eshad/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/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_VDLM_eshad/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..667608ce --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_eshad/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_eshad - +- mzName: CD_VDLM_eshad/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_eshad/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..ed49cf12 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_pdmmanager/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/dashboard.yaml new file mode 100644 index 00000000..dac1a1f6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_pdmmanager PROD +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_pdmmanager PROD +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_pdmmanager E2E +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_pdmmanager E2E +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_pdmmanager E2E +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_pdmmanager E2E +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_pdmmanager INT +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_pdmmanager INT +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_pdmmanager TEST +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_pdmmanager TEST +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_pdmmanager TEST +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_pdmmanager TEST +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/management-zone.yaml new file mode 100644 index 00000000..2a0c3887 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_pdmmanager +- compassIDs: \"compass-id:pdmmanager\" diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/notification.yaml new file mode 100644 index 00000000..b0384905 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_pdmmanager PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_pdmmanager PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_pdmmanager PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_pdmmanager INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_pdmmanager INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_pdmmanager INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_pdmmanager ITSM PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_pdmmanager ITSM PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_pdmmanager ITSM PROD +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_pdmmanager ITSM INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_pdmmanager ITSM INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_pdmmanager ITSM INT +- alertingProfile: CD_VDLM_pdmmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/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_VDLM_pdmmanager/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..bd6b58cf --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_pdmmanager/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_pdmmanager - +- mzName: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_pdmmanager/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..efe7189f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_wlmanager PROD +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_wlmanager PROD +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_wlmanager PROD +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_wlmanager INT +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_wlmanager INT +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_wlmanager INT +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_wlmanager/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/dashboard.yaml new file mode 100644 index 00000000..66d796e6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_wlmanager PROD +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_wlmanager PROD +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_wlmanager PROD +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_wlmanager PROD +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_wlmanager E2E +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_wlmanager E2E +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_wlmanager E2E +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_wlmanager E2E +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_wlmanager INT +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_wlmanager INT +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_wlmanager INT +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_wlmanager INT +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_wlmanager TEST +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_wlmanager TEST +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_wlmanager TEST +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_wlmanager TEST +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/management-zone.yaml new file mode 100644 index 00000000..3c5d1faa --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_wlmanager +- compassIDs: \"compass-id:wlmanager\" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/notification.yaml new file mode 100644 index 00000000..260f15f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_wlmanager PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_wlmanager PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_wlmanager PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_wlmanager INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_wlmanager INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_wlmanager INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_wlmanager ITSM PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_wlmanager ITSM PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_wlmanager ITSM PROD +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_wlmanager ITSM INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_wlmanager ITSM INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_wlmanager ITSM INT +- alertingProfile: CD_VDLM_wlmanager/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/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_VDLM_wlmanager/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..553a6097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlmanager/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_wlmanager - +- mzName: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlmanager/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..4110bd9d --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/alerting-profile.yaml @@ -0,0 +1,37 @@ +config: +- CDnewComponentTag: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_wlupdater PROD +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_wlupdater PROD +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_wlupdater PROD +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_wlupdater INT +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_wlupdater INT +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_wlupdater INT +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/default.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/default.json new file mode 100644 index 00000000..bb81115c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/alerting-profile/default.json @@ -0,0 +1,78 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..fb9502e8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,7 @@ +config: +- CDnewComponentTag: template.json + +CDnewComponentTag: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/custom-service-java/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..a58fde35 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml @@ -0,0 +1,10 @@ +config: +- customService1: template-1-1.json + +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_VDLM_wlupdater/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json new file mode 100644 index 00000000..ebe95097 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/dashboard.yaml new file mode 100644 index 00000000..5c75bd16 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/dashboard.yaml @@ -0,0 +1,109 @@ +config: +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDnewComponentTag-PROD: +- name: CD_VDLM_wlupdater PROD +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "true" +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_VDLM_wlupdater PROD +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.NA-Prod: +- name: CD_VDLM_wlupdater PROD +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" +CDnewComponentTag-PROD.CN-Prod: +- name: CD_VDLM_wlupdater PROD +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDnewComponentTag-E2E: +- name: CD_VDLM_wlupdater E2E +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_VDLM_wlupdater E2E +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_VDLM_wlupdater E2E +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_VDLM_wlupdater E2E +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-INT: +- name: CD_VDLM_wlupdater INT +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "true" +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_VDLM_wlupdater INT +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.NA-PreProd: +- name: CD_VDLM_wlupdater INT +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" +CDnewComponentTag-INT.CN-PreProd: +- name: CD_VDLM_wlupdater INT +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDnewComponentTag-TEST: +- name: CD_VDLM_wlupdater TEST +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "true" +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_VDLM_wlupdater TEST +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_VDLM_wlupdater TEST +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_VDLM_wlupdater TEST +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/default.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/default.json new file mode 100644 index 00000000..189767ed --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/dashboard/default.json @@ -0,0 +1,334 @@ +{ + "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": [ + "{{.mzName}}" + ], + "preset": true + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "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}}" + ] + } + } + } + }, + { + "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": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + }, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/management-zone/default.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/default.json new file mode 100644 index 00000000..fc96de39 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/default.json @@ -0,0 +1,23 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "entitySelectorBasedRules": [ + { + "enabled": true, + "entitySelector": "type(Service),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))" + }, + { + "enabled": true, + "entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})" + }, + { + "enabled": true, + "entitySelector": "type(HOST),tag({{.compassIDs}})" + } + ], + "rules": [] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/management-zone.yaml new file mode 100644 index 00000000..91d84b53 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDnewComponentTag: default.json + +CDnewComponentTag: +- name: CD_VDLM_wlupdater +- compassIDs: \"compass-id:wlupdater\" diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/notification/email.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/notification/itsm.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/notification/msTeams.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/notification/notification.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/notification.yaml new file mode 100644 index 00000000..aad49de1 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDnewComponentTag: msTeams.json +- CDnewComponentTagITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDnewComponentTag.EMEA-Prod: +- name: CD_VDLM_wlupdater PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-Prod: +- name: CD_VDLM_wlupdater PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-Prod: +- name: CD_VDLM_wlupdater PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDnewComponentTag.EMEA-PreProd: +- name: CD_VDLM_wlupdater INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.NA-PreProd: +- name: CD_VDLM_wlupdater INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" +CDnewComponentTag.CN-PreProd: +- name: CD_VDLM_wlupdater INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDnewComponentTagITSM.EMEA-Prod: +- name: CD_VDLM_wlupdater ITSM PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-Prod: +- name: CD_VDLM_wlupdater ITSM PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-Prod: +- name: CD_VDLM_wlupdater ITSM PROD +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.EMEA-PreProd: +- name: CD_VDLM_wlupdater ITSM INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDnewComponentTagITSM.NA-PreProd: +- name: CD_VDLM_wlupdater ITSM INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDnewComponentTagITSM.CN-PreProd: +- name: CD_VDLM_wlupdater ITSM INT +- alertingProfile: CD_VDLM_wlupdater/alerting-profile/CDnewComponentTag.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/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_VDLM_wlupdater/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..ad731f37 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- newComponentTag: default.json + +newComponentTag: +- name: CD_VDLM_wlupdater - +- mzName: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.name +- mzId: CD_VDLM_wlupdater/management-zone/CDnewComponentTag.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file From d102838da529e2d24d39d771f5fe0c3af610208f Mon Sep 17 00:00:00 2001 From: Muminovic Mersa Date: Fri, 10 Jun 2022 20:13:50 +0200 Subject: [PATCH 04/11] Added multiple joynr custom services to multiple applications - VDLM --- .../custom-service-java.yaml | 15 ++++-- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- .../custom-service-java.yaml | 9 ++-- .../custom-service-java/template-1-1.json | 2 +- .../custom-service-java/template-1-2.json | 4 +- .../custom-service-java.yaml | 15 ++++-- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- .../custom-service-java.yaml | 46 ++++++++++++++--- .../custom-service-java/template-1-1.json | 51 ++++++++++++------- .../custom-service-java/template-1-2.json | 50 ++++++++++++++++++ 10 files changed, 214 insertions(+), 80 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-2.json diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/custom-service-java.yaml index 25f8a028..13a0bf2d 100644 --- a/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/custom-service-java.yaml @@ -2,8 +2,13 @@ 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 +- name: "ifs-003 (JOYNR) triggerPdmContainerUpdate/notifyPdmContainerStatus - IN/OUT" +- className1: com.bmw.cc.ts.pdmupdater.bm.control.PDMContainerUpdater +- methodName1: triggerPDMContainerUpdate +- methodArgs1: com.bmw.cc.ts.pdmupdater.bm.entity.persistent.PdmData,long +- returnType1: void +- className2: com.bmw.cc.ts.pdmupdater.joynr.consumer.boundary.PDMUpdaterBackendServiceInterface +- methodName2: notifyPdmContainerStatus +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.VehicleInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType2: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/template-1-1.json index b3003515..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_pdmupdater/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/custom-service-java.yaml index 25f8a028..bf5af195 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/custom-service-java.yaml @@ -2,8 +2,9 @@ config: - customService1: template-1-1.json customService1: -- name: myJOYNRService -- className: com.bmw.cc.conn.this.is.just.an.exampleClasss -- methodName: exampleJoynrMethod +- name: "ifs-002 (JOYNR) notifyRSUStatus - IN" +- className: com.bmw.cc.ts.rsurservice.joynr.consumer.boundary.RSURServiceBackendServiceInterface +- methodName: notifyRSUStatus +- methodArgs: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,java.lang.Long,java.lang.String,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.RsuTriggerType,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.ExtPosition,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode - returnType: void -- skipDeployment: "true" \ No newline at end of file +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_rsurservice/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_rsurservice/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_VDLM_scallservice/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json index 6a18b39d..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json @@ -7,7 +7,7 @@ "rules": [ { "annotations": [], - "className": "{{.className}}", + "className": "{{.className1}}", "enabled": true, "fileName": "", "matcher": "EQUALS", @@ -20,7 +20,7 @@ }, { "annotations": [], - "className": "{{.className}}", + "className": "{{.className2}}", "enabled": true, "fileName": "", "matcher": "EQUALS", diff --git a/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/custom-service-java.yaml index 25f8a028..b9e7ac12 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/custom-service-java.yaml @@ -2,8 +2,13 @@ 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 +- name: "ifs-005 (JOYNR) notify/confirmBatteryStatus - IN/OUT" +- className1: com.bmw.cc.ts.tsbgservice.api.joynr.v1.boundary.TeleserviceTSBGBackendProviderBF +- methodName1: notifyBatteryStatus +- methodArgs1: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.VehicleInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TeleserviceInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.BatteryCall[],joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType1: io.joynr.provider.Promise +- className2: com.bmw.cc.ts.tsbgservice.api.joynr.v1.boundary.TeleserviceTSBGBackendProviderBF +- methodName2: confirmBatteryStatus +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode,long,java.lang.String +- returnType2: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/template-1-1.json index b3003515..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_tsbgservice/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml index a58fde35..80c3aa27 100644 --- a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml @@ -1,10 +1,44 @@ config: - customService1: template-1-1.json +- customService2: template-1-1.json +- customService3: template-1-2.json 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 +- name: "ifs-003 (JOYNR) triggerWhitelistUpdate/notifyWhitelistStatus - IN/OUT" +- className1: com.bmw.cc.ts.wlupdater.bm.control.WhitelistUpdateTriggerBA +- methodName1: triggerWhitelistUpdate +- methodArgs1: com.bmw.cc.ts.wlupdater.bm.entity.persistent.WLData,long +- returnType1: void +- className2: com.bmw.cc.ts.wlupdater.bm.boundary.WhitelistUpdaterBF +- methodName2: notifyWhitelistStatus +- methodArgs2: com.bmw.cc.ts.wlupdater.joynr.consumer.entity.NotifyWhitelistStatusVehicleResponse +- returnType2: void +- skipDeployment: "false" + +customService2: +- name: "ifs-003 (JOYNR) triggerStandardOdfUpdate/notifyOdfStatus - IN/OUT" +- className1: com.bmw.cc.ts.wlupdater.bm.control.WhitelistUpdateTriggerBA +- methodName1: triggerWhitelistUpdate +- methodArgs1: com.bmw.cc.ts.wlupdater.bm.entity.persistent.WLData,long +- returnType1: void +- className2: com.bmw.cc.ts.wlupdater.joynr.consumer.boundary.OdfVehicle2BackendService +- methodName2: notifyOdfStatus +- methodArgs2:joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.VehicleInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- returnType2: void +- skipDeployment: "false" + +customService3: +- name: "ifs-003 (JOYNR) start/stop/notifyTemporaryOdfStatus - INT/OUT" +- className1: com.bmw.cc.ts.wlupdater.joynr.consumer.boundary.WLUpdaterV1Consumer +- methodName1: startTemporaryOdfSession +- methodArgs1: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,java.lang.String,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TemporaryOdfSignature,java.lang.String,java.lang.String +- returnType1: boolean +- className2: com.bmw.cc.ts.wlupdater.joynr.consumer.boundary.WLUpdaterV1Consumer +- methodName2: stopTemporaryOdfSession +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,java.lang.String +- returnType2: Boolean +- className3: com.bmw.cc.ts.wlupdater.bm.boundary.WhitelistUpdaterBF +- methodName3: notifyTemporaryOdfStatus +- methodArgs3: com.bmw.cc.ts.wlupdater.joynr.consumer.entity.TemporaryOdfStatus +- returnType3: void +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json index ebe95097..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-1.json @@ -1,23 +1,36 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ { - "argumentTypes": ["{{.methodArgs}}"], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] } - ] - } - ] + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-2.json new file mode 100644 index 00000000..60a0404c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/template-1-2.json @@ -0,0 +1,50 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + }, + { + "annotations": [], + "className": "{{.className3}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs3}}"], + "methodName": "{{.methodName3}}", + "returnType": "{{.returnType3}}" + } + ] + } + ] +} \ No newline at end of file From 5d4e51517f67dc96cba4a0f66ec7d8d07e68c2ec Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 09:10:59 +0200 Subject: [PATCH 05/11] ts-bcallhandler TeleX-SQS --- .../custom-service-java/template-1-1.json | 2 +- .../custom-service-java/template-2-1.json | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-2-1.json diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json index b3003515..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/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_VDLM_ts-bcallhandler/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-2-1.json new file mode 100644 index 00000000..f0077b0c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/template-2-1.json @@ -0,0 +1,36 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file From 834f65741486f7a0476f613df04425b5e8799740 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 09:14:01 +0200 Subject: [PATCH 06/11] fix? --- .../custom-service-java.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml index 25f8a028..f02beaa5 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml @@ -1,9 +1,14 @@ config: -- customService1: template-1-1.json +- customService1: template-2-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 +- name: "ifs-001 (SQS) BCallIn/Out - IN/OUT" +- className1: com.bmw.cc.tsbcallhandler.integration.sqs.boundary.TeleXSqsListenerMF +- methodName1: onTeleXMessage +- methodArgs1: java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String +- returnType1: void +- className2: com.bmw.cc.tsbcallhandler.integration.sqs.boundary.TeleXSqsESI +- methodName2: send +- methodArgs2: java.lang.String,java.util.Map +- returnType2: void +- skipDeployment: "false" \ No newline at end of file From 16c45dd5f04e9d7313374b9743491d6111924afe Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 09:27:08 +0200 Subject: [PATCH 07/11] SQS/MQS ts-asc --- .../custom-service-java.yaml | 23 +++++++++---------- .../custom-service-java/template-1-1.json | 6 +---- .../custom-service-java/template-2-1.json | 9 ++------ ...n => template-2-2-without-methodargs.json} | 8 +++---- 4 files changed, 18 insertions(+), 28 deletions(-) rename BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/{template-1-2.json => template-2-2-without-methodargs.json} (81%) diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/custom-service-java.yaml index 87745cc7..c7e31b68 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/custom-service-java.yaml @@ -1,35 +1,34 @@ config: -- customService1: template-1-2.json +- customService1: template-2-2-without-methodargs.json - customService2: template-2-1.json - customService3: template-1-1.json customService1: -- name: VDLM_ts-asc - (Timer) deletion/timeout -- className: com.bmw.cc.asc.bm.boundary.TimerBF +- name: (Timer) deletion/timeout +- className1: com.bmw.cc.asc.bm.boundary.TimerBF - methodName1: executeDeletionJob - returnType1: void -# - argumentTypes1: +- className2: com.bmw.cc.asc.bm.boundary.TimerBF - methodName2: executeTimeoutJob - returnType2: void -# - argumentTypes2: - skipDeployment: "false" customService2: -- name: VDLM_ts-asc - ifs-001 (SQS) AscIn/AscOut - IN/OUT -- className1: com.bmw.cc.asc.bm.boundary.TeleXBF -- methodName1: handleTeleXMessage +- name: ifs-001 (SQS) AscIn/Out - IN/OUT +- className1: com.bmw.cc.asc.integration.sqs.boundary.TeleXSqsListener +- methodName1: onSqsMessage - returnType1: void -# - argumentTypes1: +- methodArgs1: java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String - className2: com.bmw.cc.asc.integration.sqs.boundary.TeleXSqsESI - methodName2: send - returnType2: void -# - argumentTypes2: +- methodArgs2: java.lang.String,java.util.Map - skipDeployment: "false" customService3: -- name: VDLM_ts-asc - (MQS) CallTopic - OUT +- name: (MQS) CallTopic - OUT - className: com.bmw.cc.asc.integration.jms.boundry.CallTopicJmsESI - methodName: send - returnType: void -# - argumentTypes: +- methodArgs: java.lang.String,com.bmw.cc.tscs.enums.CallState,com.bmw.cc.asc.bm.entity.Call - skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-1.json index a50c1a24..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-1.json @@ -13,11 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "java.lang.String", - "com.bmw.cc.tscs.enums.CallState", - "com.bmw.cc.asc.bm.entity.Call" - ], + "argumentTypes": ["{{.methodArgs}}"], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-1.json index 18dd391c..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-1.json @@ -13,9 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "com.bmw.cc.asc.integration.sqs.entity.TeleXMessageData" - ], + "argumentTypes": ["{{.methodArgs1}}"], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" }] @@ -28,10 +26,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "java.lang.String", - "java.util.Map" - ], + "argumentTypes": ["{{.methodArgs2}}"], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-2-without-methodargs.json similarity index 81% rename from BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-2.json rename to BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-2-without-methodargs.json index 9d13d592..7ed95c38 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-1-2.json +++ b/BMW-Dynatrace-config/CD_VDLM_ts-asc/custom-service-java/template-2-2-without-methodargs.json @@ -7,26 +7,26 @@ "rules": [ { "annotations": [], - "className": "{{.className}}", + "className": "{{.className1}}", "enabled": true, "fileName": "", "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ ], + "argumentTypes": [], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" }] }, { "annotations": [], - "className": "{{.className}}", + "className": "{{.className2}}", "enabled": true, "fileName": "", "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ ], + "argumentTypes": [], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" } From 6c42432676e3f767783cba59fbf0897dd61026d7 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 10:26:07 +0200 Subject: [PATCH 08/11] MQS ts-bcallhandler --- .../custom-service-java.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml index f02beaa5..1677d38f 100644 --- a/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_ts-bcallhandler/custom-service-java/custom-service-java.yaml @@ -1,5 +1,7 @@ config: - customService1: template-2-1.json +- customService2: template-2-1.json +- customService3: template-1-1.json customService1: - name: "ifs-001 (SQS) BCallIn/Out - IN/OUT" @@ -11,4 +13,24 @@ customService1: - methodName2: send - methodArgs2: java.lang.String,java.util.Map - returnType2: void +- skipDeployment: "false" + +customService2: +- name: ifs-005 (MQS) BCallHandlerIstaIn/Out - IN/OUT +- className1: com.bmw.cc.tsbcallhandler.integration.jms.boundary.IstaTsNextJmsESI +- methodName1: onMessage +- returnType1: void +- methodArgs1: java.lang.String +- className2: com.bmw.cc.tsbcallhandler.integration.jms.boundary.IstaTsNextJmsESI +- methodName2: send +- returnType2: void +- methodArgs2: java.lang.String +- skipDeployment: "false" + +customService3: +- name: (MQS) CallTopic - OUT +- className: com.bmw.cc.tsbcallhandler.integration.jms.boundary.CallTopicJmsESI +- methodName: send +- returnType: void +- methodArgs: java.lang.String,com.bmw.cc.tscs.enums.CallState,com.bmw.cc.tscs.enums.CallType,com.bmw.cc.tsbcallhandler.bm.entity.BCall - skipDeployment: "false" \ No newline at end of file From 205c475866484274979c2d27068d63f6ba15d5e4 Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 11:00:28 +0200 Subject: [PATCH 09/11] tsrd SQS/MQS/TIMER - without new SQSQuitDiagnosisTsrd --- .../custom-service-java.yaml | 34 ++++++++++++- .../custom-service-java/template-1-1.json | 51 +++++++------------ .../custom-service-java/template-2-1.json | 36 +++++++++++++ 3 files changed, 87 insertions(+), 34 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-2-1.json diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml index a10649bd..8027a3d8 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml @@ -1,5 +1,8 @@ config: -- customService1: template-1-1.json +- customService1: template-2-1.json +- customService2: template-1-1.json +- customService3: template-1-1.json +- customService4: template-2-1.json customService1: - name: "ifs-006 (JOYNR) enable/disableFullDiagnosticsMode - OUT" @@ -11,4 +14,31 @@ customService1: - methodName2: disableFullDiagnosticsMode - methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId - returnType2: void -- skipDeployment: "false" \ No newline at end of file +- skipDeployment: "false" + +customService2: +- name: "(MQS) CallTopic - OUT" +- className1: com.bmw.cc.ts.tsrd.bm.jms.calltopic.boundary.CallTopicJmsPublisherBA +- methodName1: publishCallToCallTopic +- methodArgs1: com.bmw.cc.ts.tsrd.bm.jms.calltopic.entity.CallStorageCallDO +- returnType1: void + +customService3: +- name: "ifs-007 (SQS) odfUpdateStatus - IN" +- className1: com.bmw.cc.ts.tsrd.bm.odfupdatestatus.boundary.OdfUpdateStatusSqsMF +- methodName1: processMessage +- methodArgs1: software.amazon.awssdk.services.sqs.model.Message +- returnType1: void + + +- customService4: +- name: "(Timer) deletion/timeout" +- className1: com.bmw.cc.ts.tsrd.bm.timer.DatabaseCleanerTimerService +- methodName1: timeout +- methodArgs1: javax.ejb.Timer +- returnType1: void +- className2: com.bmw.cc.ts.tsrd.bm.timer.RDTimeoutTimer +- methodName2: timeout +- methodArgs2: javax.ejb.Timer +- returnType2: void +- skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json index f0077b0c..ebe95097 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-1-1.json @@ -1,36 +1,23 @@ { - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ { - "annotations": [], - "className": "{{.className1}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ - { - "argumentTypes": ["{{.methodArgs1}}"], - "methodName": "{{.methodName1}}", - "returnType": "{{.returnType1}}" - }] - }, - { - "annotations": [], - "className": "{{.className2}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ - { - "argumentTypes": ["{{.methodArgs2}}"], - "methodName": "{{.methodName2}}", - "returnType": "{{.returnType2}}" - } - ] + "argumentTypes": ["{{.methodArgs}}"], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" } - ] + ] + } + ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-2-1.json b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-2-1.json new file mode 100644 index 00000000..f0077b0c --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/template-2-1.json @@ -0,0 +1,36 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file From d9b952b1718491f3633c0f39621f065258f23aeb Mon Sep 17 00:00:00 2001 From: Bernd Brandl Date: Mon, 13 Jun 2022 11:28:51 +0200 Subject: [PATCH 10/11] seam update to new templates --- .../custom-service-java.yaml | 50 +++++++++++-------- ...n => template-1-1-without-methodargs.json} | 5 +- .../custom-service-java/template-1-1.json | 8 +-- .../custom-service-java/template-1-1a.json | 27 ---------- .../custom-service-java/template-1-1c.json | 27 ---------- .../custom-service-java/template-1-1d.json | 26 ---------- .../custom-service-java/template-1-2.json | 37 ++++++++++++++ .../{template-1-2e.json => template-2-1.json} | 13 ++--- .../template-2-2-without-methodargs.json | 36 +++++++++++++ 9 files changed, 110 insertions(+), 119 deletions(-) rename BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/{template-1-1b.json => template-1-1-without-methodargs.json} (81%) delete mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json delete mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json delete mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2.json rename BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/{template-1-2e.json => template-2-1.json} (71%) create mode 100644 BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-2-without-methodargs.json diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml index 91a21533..5bd25434 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/custom-service-java.yaml @@ -1,43 +1,49 @@ config: -- customService1: template-1-1a.json -- customService2: template-1-1b.json -- customService3: template-1-1c.json -- customService4: template-1-1d.json -- customService5: template-1-2e.json +- customService1: template-1-1.json +- customService2: template-1-1.json +- customService3: template-1-1.json +- customService4: template-1-1.json +- customService5: template-1-2.json customService1: -- name: "VDLM_seam - ifs-004 (SQS) ServiceDemand - IN" -- className: com.bmw.cc.seam.api.servicedemandevent.v1.boundary.ServiceDemandEventMDB -- methodName: listen -- returnType: void +- name: "ifs-004 (SQS) ServiceDemand - IN" +- className1: com.bmw.cc.seam.api.servicedemandevent.v1.boundary.ServiceDemandEventMDB +- methodName1: listen +- methodArgs1: java.lang.String,java.util.Map,org.springframework.cloud.aws.messaging.listener.Acknowledgment +- returnType1: void - skipDeployment: "false" customService2: - - name: "VDLM_seam - ifs-005 (SQS) ServiceAppointment - IN" - - className: com.bmw.cc.seam.api.appointment.v1.boundary.AppointmentListenerMDB - - methodName: listen - - returnType: void + - name: "ifs-005 (SQS) ServiceAppointment - IN" + - className1: com.bmw.cc.seam.api.appointment.v1.boundary.AppointmentListenerMDB + - methodName1: listen + - methodArgs1: java.lang.String,java.util.Map + - returnType1: void - skipDeployment: "false" customService3: - - name: "VDLM_seam - ifs-003 (SQS) ServiceNotificationFeedback - IN" - - className: com.bmw.cc.seam.api.notificationfeedback.v1.boundary.ServiceNotificationFeedbackListenerMDB - - methodName: listen - - returnType: void + - name: "ifs-003 (SQS) ServiceNotificationFeedback - IN" + - className1: com.bmw.cc.seam.api.notificationfeedback.v1.boundary.ServiceNotificationFeedbackListenerMDB + - methodName1: listen + - methodArgs1: java.lang.String,java.util.Map,org.springframework.cloud.aws.messaging.listener.Acknowledgment + - returnType1: void - skipDeployment: "false" customService4: - - name: "VDLM_seam - ifs (SQS) ServiceNotification - OUT" - - className: com.bmw.cc.seam.integration.notificationservice.boundary.ServiceNotificationESI - - methodName: send - - returnType: void + - name: "ifs (SQS) ServiceNotification - OUT" + - className1: com.bmw.cc.seam.integration.notificationservice.boundary.ServiceNotificationESI + - methodName1: send + - methodArgs1: com.bmw.cc.seam.integration.notificationservice.entity.ServiceNotification,java.lang.String + - returnType1: void - skipDeployment: "false" customService5: - - name: "VDLM_seam - cdh: ifs-001 (Kinesis) Reporting - OUT" + - name: "cdh: ifs-001 (Kinesis) Reporting - OUT" - className: com.bmw.cc.seam.integration.datalake.boundary.DataLakeESI - methodName1: sendAsync + - methodArgs1: java.lang.String,java.lang.String - returnType1: void - methodName2: sendSync + - methodArgs2: java.lang.String - returnType2: void - skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1-without-methodargs.json similarity index 81% rename from BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json rename to BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1-without-methodargs.json index a8434d5d..b3003515 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1b.json +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1-without-methodargs.json @@ -13,10 +13,7 @@ "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "java.lang.String", - "java.util.Map" - ], + "argumentTypes": [], "methodName": "{{.methodName}}", "returnType": "{{.returnType}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1.json index b3003515..d972cec5 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1.json +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1.json @@ -7,15 +7,15 @@ "rules": [ { "annotations": [], - "className": "{{.className}}", + "className": "{{.className1}}", "enabled": true, "fileName": "", "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" } ] } diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json deleted file mode 100644 index 61022ee8..00000000 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1a.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ - { - "argumentTypes": [ - "java.lang.String", - "java.util.Map", - "org.springframework.cloud.aws.messaging.listener.Acknowledgment" - ], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" - } - ] - } - ] -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json deleted file mode 100644 index 61022ee8..00000000 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1c.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ - { - "argumentTypes": [ - "java.lang.String", - "java.util.Map", - "org.springframework.cloud.aws.messaging.listener.Acknowledgment" - ], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" - } - ] - } - ] -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json deleted file mode 100644 index 6f3d0988..00000000 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-1d.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "enabled": true, - "name": "{{.name}}", - "processGroups": [], - "queueEntryPoint": false, - "queueEntryPointType": null, - "rules": [ - { - "annotations": [], - "className": "{{.className}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ - { - "argumentTypes": [ - "com.bmw.cc.seam.integration.notificationservice.entity.ServiceNotification", - "java.lang.String" - ], - "methodName": "{{.methodName}}", - "returnType": "{{.returnType}}" - } - ] - } - ] -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2.json new file mode 100644 index 00000000..956c6803 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2.json @@ -0,0 +1,37 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs1}}"], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + } + ] + }, + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": ["{{.methodArgs2}}"], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-1.json similarity index 71% rename from BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json rename to BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-1.json index 5d450258..f0077b0c 100644 --- a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-1-2e.json +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-1.json @@ -7,31 +7,26 @@ "rules": [ { "annotations": [], - "className": "{{.className}}", + "className": "{{.className1}}", "enabled": true, "fileName": "", "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "java.lang.String", - "java.lang.String" - ], + "argumentTypes": ["{{.methodArgs1}}"], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" }] }, { "annotations": [], - "className": "{{.className}}", + "className": "{{.className2}}", "enabled": true, "fileName": "", "matcher": "EQUALS", "methodRules": [ { - "argumentTypes": [ - "java.lang.String" - ], + "argumentTypes": ["{{.methodArgs2}}"], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" } diff --git a/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-2-without-methodargs.json b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-2-without-methodargs.json new file mode 100644 index 00000000..7ed95c38 --- /dev/null +++ b/BMW-Dynatrace-config/CD_VDLM_seam/custom-service-java/template-2-2-without-methodargs.json @@ -0,0 +1,36 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className1}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName1}}", + "returnType": "{{.returnType1}}" + }] + }, + { + "annotations": [], + "className": "{{.className2}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName2}}", + "returnType": "{{.returnType2}}" + } + ] + } + ] +} \ No newline at end of file From c2b6fbc45e50bdadc76d6906ade06a9cadbc0a73 Mon Sep 17 00:00:00 2001 From: "SLW\\ARNAUA" Date: Tue, 14 Jun 2022 11:39:07 +0200 Subject: [PATCH 11/11] Multiple fixes applied. --- .../custom-service-java.yaml | 2 +- .../custom-service-java.yaml | 12 ++++++------ .../custom-service-java/template-1-2.json | 15 +++------------ .../custom-service-java.yaml | 19 +++++++++---------- .../custom-service-java.yaml | 2 +- 5 files changed, 20 insertions(+), 30 deletions(-) diff --git a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml index 9b7ac25c..d48cfc65 100644 --- a/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_diagservice/custom-service-java/custom-service-java.yaml @@ -22,6 +22,6 @@ customService2: - returnType1: void - className2: com.bmw.cc.ts.diagservice.joynr.consumer.boundary.DiagServiceBackendServiceInterface - methodName2: notifyPdmResultStatus -- methodArgs2:joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TeleserviceInfo,java.lang.String,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.TeleserviceInfo,java.lang.String,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode - returnType2: void - skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml index e4484106..2c090151 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/custom-service-java.yaml @@ -15,10 +15,10 @@ customService1: customService2: - - name: "ifs-002 (JOYNR) notifyMaintenanceStatus - IN" - - className: com.bmw.cc.ts.scallservice.bm.maintenance.boundary.MaintenanceConfirmBF - - methodName: notifyMaintenanceStatus - - methodArgs: com.bmw.cc.ts.joynr.consumer.entity.NotifyMaintenanceVehicleResponse - - returnType: void - - skipDeployment: "false" +- name: "ifs-002 (JOYNR) notifyMaintenanceStatus - IN" +- className: com.bmw.cc.ts.scallservice.bm.maintenance.boundary.MaintenanceConfirmBF +- methodName: notifyMaintenanceStatus +- methodArgs: com.bmw.cc.ts.joynr.consumer.entity.NotifyMaintenanceVehicleResponse +- returnType: void +- skipDeployment: "false" diff --git a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json index f0077b0c..1e4f1928 100644 --- a/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json +++ b/BMW-Dynatrace-config/CD_VDLM_scallservice/custom-service-java/template-1-2.json @@ -7,7 +7,7 @@ "rules": [ { "annotations": [], - "className": "{{.className1}}", + "className": "{{.className}}", "enabled": true, "fileName": "", "matcher": "EQUALS", @@ -16,21 +16,12 @@ "argumentTypes": ["{{.methodArgs1}}"], "methodName": "{{.methodName1}}", "returnType": "{{.returnType1}}" - }] - }, - { - "annotations": [], - "className": "{{.className2}}", - "enabled": true, - "fileName": "", - "matcher": "EQUALS", - "methodRules": [ + }, { "argumentTypes": ["{{.methodArgs2}}"], "methodName": "{{.methodName2}}", "returnType": "{{.returnType2}}" - } - ] + }] } ] } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml index 8027a3d8..1c902f69 100644 --- a/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_tsrd/custom-service-java/custom-service-java.yaml @@ -18,20 +18,19 @@ customService1: customService2: - name: "(MQS) CallTopic - OUT" -- className1: com.bmw.cc.ts.tsrd.bm.jms.calltopic.boundary.CallTopicJmsPublisherBA -- methodName1: publishCallToCallTopic -- methodArgs1: com.bmw.cc.ts.tsrd.bm.jms.calltopic.entity.CallStorageCallDO -- returnType1: void +- className: com.bmw.cc.ts.tsrd.bm.jms.calltopic.boundary.CallTopicJmsPublisherBA +- methodName: publishCallToCallTopic +- methodArgs: com.bmw.cc.ts.tsrd.bm.jms.calltopic.entity.CallStorageCallDO +- returnType: void customService3: - name: "ifs-007 (SQS) odfUpdateStatus - IN" -- className1: com.bmw.cc.ts.tsrd.bm.odfupdatestatus.boundary.OdfUpdateStatusSqsMF -- methodName1: processMessage -- methodArgs1: software.amazon.awssdk.services.sqs.model.Message -- returnType1: void +- className: com.bmw.cc.ts.tsrd.bm.odfupdatestatus.boundary.OdfUpdateStatusSqsMF +- methodName: processMessage +- methodArgs: software.amazon.awssdk.services.sqs.model.Message +- returnType: void - -- customService4: +customService4: - name: "(Timer) deletion/timeout" - className1: com.bmw.cc.ts.tsrd.bm.timer.DatabaseCleanerTimerService - methodName1: timeout diff --git a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml index 80c3aa27..4c9105a6 100644 --- a/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml +++ b/BMW-Dynatrace-config/CD_VDLM_wlupdater/custom-service-java/custom-service-java.yaml @@ -23,7 +23,7 @@ customService2: - returnType1: void - className2: com.bmw.cc.ts.wlupdater.joynr.consumer.boundary.OdfVehicle2BackendService - methodName2: notifyOdfStatus -- methodArgs2:joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.VehicleInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode +- methodArgs2: joynr.de.bmw.infotainment.telematic.common.CommonTypes.RequestId,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.VehicleInfo,joynr.de.bmw.infotainment.telematic.teleservice.TeleserviceTypes.AppInfo,java.lang.String,java.lang.String,joynr.de.bmw.infotainment.telematic.common.CommonTypes.ResultCode - returnType2: void - skipDeployment: "false"