From df0756742d453756c8a637e2468ab465032c76f3 Mon Sep 17 00:00:00 2001 From: ermisw Date: Tue, 13 Jul 2021 17:32:30 +0200 Subject: [PATCH 1/2] Onboarding --- .../alerting-profile/alerting-profile.yaml | 43 ++++++++ .../alerting-profile/default.json | 103 ++++++++++++++++++ .../calculated-metrics-service/README.md | 4 + .../conditional-naming-processgroup/README.md | 4 + .../conditional-naming-processgroup.yaml | 8 ++ .../template.json | 29 +++++ .../conditional-naming-service/README.md | 4 + .../conditional-naming-service.yaml | 8 ++ .../conditional-naming-service/template.json | 29 +++++ .../custom-service-java/README.md | 4 + .../custom-service-java.yaml | 9 ++ .../custom-service-java/template-1-1.json | 23 ++++ .../notification/README.md | 4 + .../notification/email.json | 13 +++ .../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 ++ 20 files changed, 514 insertions(+) create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/calculated-metrics-service/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/template.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/template.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/custom-service-java.yaml create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/email.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/itsm.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/msTeams.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/README.md create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/default.json create mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..a2d51ae5 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml @@ -0,0 +1,43 @@ +config: +- CDCallCenterClient: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDCallCenterClient.EMEA-Prod: +- name: CD_CallCenterClient PROD +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: PROD +- skipDeployment: "false" +CDCallCenterClient.NA-Prod: +- name: CD_CallCenterClient PROD +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: PROD +- skipDeployment: "false" +CDCallCenterClient.CN-Prod: +- name: CD_CallCenterClient PROD +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDCallCenterClient.EMEA-PreProd: +- name: CD_CallCenterClient INT +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: INT +- skipDeployment: "false" +CDCallCenterClient.NA-PreProd: +- name: CD_CallCenterClient INT +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: INT +- skipDeployment: "false" +CDCallCenterClient.CN-PreProd: +- name: CD_CallCenterClient INT +- tag: CallCenterClient +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json b/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json new file mode 100644 index 00000000..681a4c64 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json @@ -0,0 +1,103 @@ +{ + "displayName": "{{.name}}", + "eventTypeFilters": [], + "managementZoneId": "{{.mzId}}", + "mzId": "{{.mzId}}", + "rules": [ + { + "delayInMinutes": 0, + "severityLevel": "AVAILABILITY", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "ERROR", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "PERFORMANCE", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 30, + "severityLevel": "RESOURCE_CONTENTION", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + }, + { + "delayInMinutes": 10, + "severityLevel": "CUSTOM_ALERT", + "tagFilter": { + "includeMode": "INCLUDE_ALL", + "tagFilters": [ + { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + }, + { + "context": "CONTEXTLESS", + "key": "Environment", + "value": "{{.env}}" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/calculated-metrics-service/README.md new file mode 100644 index 00000000..f958f929 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/README.md new file mode 100644 index 00000000..8c10d2b4 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml new file mode 100644 index 00000000..ee09e53f --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -0,0 +1,8 @@ +config: +- CDCallCenterClient: template.json + +CDCallCenterClient: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: CallCenterClient +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/template.json new file mode 100644 index 00000000..7c039808 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/README.md new file mode 100644 index 00000000..93dc620b --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml new file mode 100644 index 00000000..ee09e53f --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml @@ -0,0 +1,8 @@ +config: +- CDCallCenterClient: template.json + +CDCallCenterClient: +- name: MyProcessNamingRule +- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" +- tag: CallCenterClient +- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/template.json new file mode 100644 index 00000000..5d4fac56 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/custom-service-java/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/README.md new file mode 100644 index 00000000..a467a6f8 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/custom-service-java.yaml new file mode 100644 index 00000000..25f8a028 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/custom-service-java.yaml @@ -0,0 +1,9 @@ +config: +- customService1: template-1-1.json + +customService1: +- name: myJOYNRService +- className: com.bmw.cc.conn.this.is.just.an.exampleClasss +- methodName: exampleJoynrMethod +- returnType: void +- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json new file mode 100644 index 00000000..b3003515 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json @@ -0,0 +1,23 @@ +{ + "enabled": true, + "name": "{{.name}}", + "processGroups": [], + "queueEntryPoint": false, + "queueEntryPointType": null, + "rules": [ + { + "annotations": [], + "className": "{{.className}}", + "enabled": true, + "fileName": "", + "matcher": "EQUALS", + "methodRules": [ + { + "argumentTypes": [], + "methodName": "{{.methodName}}", + "returnType": "{{.returnType}}" + } + ] + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/notification/README.md new file mode 100644 index 00000000..5ba3825a --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/notification/email.json b/BMW-Dynatrace-config/CD_CallCenterClient/notification/email.json new file mode 100644 index 00000000..486642a7 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/notification/itsm.json b/BMW-Dynatrace-config/CD_CallCenterClient/notification/itsm.json new file mode 100644 index 00000000..677ef0ea --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/notification/msTeams.json b/BMW-Dynatrace-config/CD_CallCenterClient/notification/msTeams.json new file mode 100644 index 00000000..33e92cf6 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/notification/notification.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml new file mode 100644 index 00000000..94fbbace --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDCallCenterClient: msTeams.json +- CDCallCenterClientITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDCallCenterClient.EMEA-Prod: +- name: CD_CallCenterClient PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" +CDCallCenterClient.NA-Prod: +- name: CD_CallCenterClient PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" +CDCallCenterClient.CN-Prod: +- name: CD_CallCenterClient PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDCallCenterClient.EMEA-PreProd: +- name: CD_CallCenterClient INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" +CDCallCenterClient.NA-PreProd: +- name: CD_CallCenterClient INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" +CDCallCenterClient.CN-PreProd: +- name: CD_CallCenterClient INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDCallCenterClientITSM.EMEA-Prod: +- name: CD_CallCenterClient ITSM PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDCallCenterClientITSM.NA-Prod: +- name: CD_CallCenterClient ITSM PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDCallCenterClientITSM.CN-Prod: +- name: CD_CallCenterClient ITSM PROD +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDCallCenterClientITSM.EMEA-PreProd: +- name: CD_CallCenterClient ITSM INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDCallCenterClientITSM.NA-PreProd: +- name: CD_CallCenterClient ITSM INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDCallCenterClientITSM.CN-PreProd: +- name: CD_CallCenterClient ITSM INT +- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/README.md new file mode 100644 index 00000000..04d7949f --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/default.json new file mode 100644 index 00000000..cf83039b --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/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_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..15951c43 --- /dev/null +++ b/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- CallCenterClient: default.json + +CallCenterClient: +- name: CD_CallCenterClient - +- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name +- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file From 531f1bb0376af15ab90dbba93a0d4d8208159727 Mon Sep 17 00:00:00 2001 From: ermisw Date: Tue, 13 Jul 2021 18:31:21 +0200 Subject: [PATCH 2/2] recreated renamed to ccc --- .../alerting-profile/alerting-profile.yaml | 43 ------ .../dashboard/dashboard.yaml | 127 ------------------ .../management-zone/management-zone.yaml | 6 - .../notification/notification.yaml | 102 -------------- .../synthetic-monitor/synthetic-monitor.yaml | 10 -- .../alerting-profile/alerting-profile.yaml | 43 ++++++ .../alerting-profile/default.json | 0 .../calculated-metrics-service/README.md | 0 .../conditional-naming-processgroup/README.md | 0 .../conditional-naming-processgroup.yaml | 6 +- .../template.json | 0 .../conditional-naming-service/README.md | 0 .../conditional-naming-service.yaml | 6 +- .../conditional-naming-service/template.json | 0 .../custom-service-java/README.md | 0 .../custom-service-java.yaml | 0 .../custom-service-java/template-1-1.json | 0 .../dashboard/README.md | 6 +- .../CD_ccc/dashboard/dashboard.yaml | 125 +++++++++++++++++ .../dashboard/default.json | 0 .../management-zone/README.md | 6 +- .../management-zone/default.json | 0 .../management-zone/management-zone.yaml | 6 + .../notification/README.md | 0 .../notification/email.json | 0 .../notification/itsm.json | 0 .../notification/msTeams.json | 0 .../CD_ccc/notification/notification.yaml | 102 ++++++++++++++ .../synthetic-monitor/README.md | 0 .../synthetic-monitor/default.json | 0 .../synthetic-monitor/synthetic-monitor.yaml | 10 ++ 31 files changed, 298 insertions(+), 300 deletions(-) delete mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml delete mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/dashboard/dashboard.yaml delete mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/management-zone/management-zone.yaml delete mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml delete mode 100644 BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml create mode 100644 BMW-Dynatrace-config/CD_ccc/alerting-profile/alerting-profile.yaml rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/alerting-profile/default.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/calculated-metrics-service/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-processgroup/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-processgroup/conditional-naming-processgroup.yaml (61%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-processgroup/template.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-service/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-service/conditional-naming-service.yaml (61%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/conditional-naming-service/template.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/custom-service-java/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/custom-service-java/custom-service-java.yaml (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/custom-service-java/template-1-1.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/dashboard/README.md (92%) create mode 100644 BMW-Dynatrace-config/CD_ccc/dashboard/dashboard.yaml rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/dashboard/default.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/management-zone/README.md (87%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/management-zone/default.json (100%) create mode 100644 BMW-Dynatrace-config/CD_ccc/management-zone/management-zone.yaml rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/notification/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/notification/email.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/notification/itsm.json (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/notification/msTeams.json (100%) create mode 100644 BMW-Dynatrace-config/CD_ccc/notification/notification.yaml rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/synthetic-monitor/README.md (100%) rename BMW-Dynatrace-config/{CD_CallCenterClient => CD_ccc}/synthetic-monitor/default.json (100%) create mode 100644 BMW-Dynatrace-config/CD_ccc/synthetic-monitor/synthetic-monitor.yaml diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml deleted file mode 100644 index a2d51ae5..00000000 --- a/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/alerting-profile.yaml +++ /dev/null @@ -1,43 +0,0 @@ -config: -- CDCallCenterClient: default.json - - -#Prod alerting profiles for EMEA/NA/CN -CDCallCenterClient.EMEA-Prod: -- name: CD_CallCenterClient PROD -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: PROD -- skipDeployment: "false" -CDCallCenterClient.NA-Prod: -- name: CD_CallCenterClient PROD -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: PROD -- skipDeployment: "false" -CDCallCenterClient.CN-Prod: -- name: CD_CallCenterClient PROD -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: PROD -- skipDeployment: "false" - -#INT alerting profiles for EMEA/NA/CN -CDCallCenterClient.EMEA-PreProd: -- name: CD_CallCenterClient INT -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- skipDeployment: "false" -CDCallCenterClient.NA-PreProd: -- name: CD_CallCenterClient INT -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- skipDeployment: "false" -CDCallCenterClient.CN-PreProd: -- name: CD_CallCenterClient INT -- tag: CallCenterClient -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/dashboard.yaml deleted file mode 100644 index abca2948..00000000 --- a/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/dashboard.yaml +++ /dev/null @@ -1,127 +0,0 @@ -config: -- CDCallCenterClient-PROD: default.json -- CDCallCenterClient-E2E: default.json -- CDCallCenterClient-INT: default.json -- CDCallCenterClient-TEST: default.json - -#PROD dashboards for EMEA/NA/CN Prod -#Dry-run needed for all hubs -CDCallCenterClient-PROD: -- name: CD_CallCenterClient PROD -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: PROD -- skipDeployment: "true" -#Configuration -CDCallCenterClient-PROD.EMEA-Prod: -- name: CD_CallCenterClient PROD -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- tag: Call Center Client -- env: PROD -- skipDeployment: "false" -CDCallCenterClient-PROD.NA-Prod: -- name: CD_CallCenterClient PROD -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- tag: Call Center Client -- env: PROD -- skipDeployment: "false" -CDCallCenterClient-PROD.CN-Prod: -- name: CD_CallCenterClient PROD -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- tag: Call Center Client -- env: PROD -- skipDeployment: "false" - -#E2E dashboards for EMEA/NA/CN E2E -#Dry-run needed for all hubs -CDCallCenterClient-E2E: -- name: CD_CallCenterClient E2E -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: E2E -- skipDeployment: "true" -#Configuration -CDCallCenterClient-E2E.EMEA-Prod: -- name: CD_CallCenterClient E2E -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: E2E -- tag: Call Center Client -- skipDeployment: "true" -CDCallCenterClient-E2E.NA-Prod: -- name: CD_CallCenterClient E2E -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: E2E -- tag: Call Center Client -- skipDeployment: "true" -CDCallCenterClient-E2E.CN-Prod: -- name: CD_CallCenterClient E2E -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: E2E -- tag: Call Center Client -- skipDeployment: "true" - -#INT dashboards for EMEA/NA/CN -#Dry-run needed for all hubs -CDCallCenterClient-INT: -- name: CD_CallCenterClient INT -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- tag: Call Center Client -- skipDeployment: "true" -#Configuration -CDCallCenterClient-INT.EMEA-PreProd: -- name: CD_CallCenterClient INT -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- tag: Call Center Client -- skipDeployment: "false" -CDCallCenterClient-INT.NA-PreProd: -- name: CD_CallCenterClient INT -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- skipDeployment: "false" -CDCallCenterClient-INT.CN-PreProd: -- name: CD_CallCenterClient INT -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: INT -- skipDeployment: "false" - -#TEST dashboards for EMEA/NA/CN -#Dry-run needed for all hubs -CDCallCenterClient-TEST: -- name: CD_CallCenterClient TEST -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- tag: Call Center Client -- env: TEST -- skipDeployment: "true" -#Configuration -CDCallCenterClient-TEST.EMEA-PreProd: -- name: CD_CallCenterClient TEST -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- tag: Call Center Client -- env: TEST -- skipDeployment: "false" -CDCallCenterClient-TEST.NA-PreProd: -- name: CD_CallCenterClient TEST -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: TEST -- skipDeployment: "false" -CDCallCenterClient-TEST.CN-PreProd: -- name: CD_CallCenterClient TEST -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- env: TEST -- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/management-zone/management-zone.yaml deleted file mode 100644 index a9eaeaa6..00000000 --- a/BMW-Dynatrace-config/CD_CallCenterClient/management-zone/management-zone.yaml +++ /dev/null @@ -1,6 +0,0 @@ -config: -- CDCallCenterClient: default.json - -CDCallCenterClient: -- name: CD_CallCenterClient -- tag: Call Center Client diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml deleted file mode 100644 index 94fbbace..00000000 --- a/BMW-Dynatrace-config/CD_CallCenterClient/notification/notification.yaml +++ /dev/null @@ -1,102 +0,0 @@ -config: -- CDCallCenterClient: msTeams.json -- CDCallCenterClientITSM: itsm.json - -# Notification System for EMEA/NA/CN Prod msTeams -CDCallCenterClient.EMEA-Prod: -- name: CD_CallCenterClient PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" -CDCallCenterClient.NA-Prod: -- name: CD_CallCenterClient PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" -CDCallCenterClient.CN-Prod: -- name: CD_CallCenterClient PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" - -# Notification System for EMEA/NA/CN PreProd msTeams -CDCallCenterClient.EMEA-PreProd: -- name: CD_CallCenterClient INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" -CDCallCenterClient.NA-PreProd: -- name: CD_CallCenterClient INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" -CDCallCenterClient.CN-PreProd: -- name: CD_CallCenterClient INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://empty -- skipDeployment: "true" - - -# Notification System for EMEA/NA/CN Prod ITSM -CDCallCenterClientITSM.EMEA-Prod: -- name: CD_CallCenterClient ITSM PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCallCenterClientITSM.NA-Prod: -- name: CD_CallCenterClient ITSM PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - - -CDCallCenterClientITSM.CN-Prod: -- name: CD_CallCenterClient ITSM PROD -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCallCenterClientITSM.EMEA-PreProd: -- name: CD_CallCenterClient ITSM INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCallCenterClientITSM.NA-PreProd: -- name: CD_CallCenterClient ITSM INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - - -CDCallCenterClientITSM.CN-PreProd: -- name: CD_CallCenterClient ITSM INT -- alertingProfile: CD_CallCenterClient/alerting-profile/CDCallCenterClient.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml deleted file mode 100644 index 15951c43..00000000 --- a/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/synthetic-monitor.yaml +++ /dev/null @@ -1,10 +0,0 @@ -config: -- CallCenterClient: default.json - -CallCenterClient: -- name: CD_CallCenterClient - -- mzName: CD_CallCenterClient/management-zone/CDCallCenterClient.name -- mzId: CD_CallCenterClient/management-zone/CDCallCenterClient.id -- endpoint: -- location: -- skipDeployment: "true" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ccc/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_ccc/alerting-profile/alerting-profile.yaml new file mode 100644 index 00000000..7d59d086 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ccc/alerting-profile/alerting-profile.yaml @@ -0,0 +1,43 @@ +config: +- CDccc: default.json + + +#Prod alerting profiles for EMEA/NA/CN +CDccc.EMEA-Prod: +- name: CD_ccc PROD +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: PROD +- skipDeployment: "false" +CDccc.NA-Prod: +- name: CD_ccc PROD +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: PROD +- skipDeployment: "false" +CDccc.CN-Prod: +- name: CD_ccc PROD +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: PROD +- skipDeployment: "false" + +#INT alerting profiles for EMEA/NA/CN +CDccc.EMEA-PreProd: +- name: CD_ccc INT +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: INT +- skipDeployment: "false" +CDccc.NA-PreProd: +- name: CD_ccc INT +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: INT +- skipDeployment: "false" +CDccc.CN-PreProd: +- name: CD_ccc INT +- tag: ccc +- mzId: CD_ccc/management-zone/CDccc.id +- env: INT +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json b/BMW-Dynatrace-config/CD_ccc/alerting-profile/default.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/alerting-profile/default.json rename to BMW-Dynatrace-config/CD_ccc/alerting-profile/default.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_ccc/calculated-metrics-service/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/calculated-metrics-service/README.md rename to BMW-Dynatrace-config/CD_ccc/calculated-metrics-service/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/README.md rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/conditional-naming-processgroup.yaml similarity index 61% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/conditional-naming-processgroup.yaml index ee09e53f..bbd78ca0 100644 --- a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/conditional-naming-processgroup.yaml +++ b/BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/conditional-naming-processgroup.yaml @@ -1,8 +1,8 @@ config: -- CDCallCenterClient: template.json +- CDccc: template.json -CDCallCenterClient: +CDccc: - name: MyProcessNamingRule - nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: CallCenterClient +- tag: ccc - skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/template.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-processgroup/template.json rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-processgroup/template.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_ccc/conditional-naming-service/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/README.md rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-service/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_ccc/conditional-naming-service/conditional-naming-service.yaml similarity index 61% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-service/conditional-naming-service.yaml index ee09e53f..bbd78ca0 100644 --- a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/conditional-naming-service.yaml +++ b/BMW-Dynatrace-config/CD_ccc/conditional-naming-service/conditional-naming-service.yaml @@ -1,8 +1,8 @@ config: -- CDCallCenterClient: template.json +- CDccc: template.json -CDCallCenterClient: +CDccc: - name: MyProcessNamingRule - nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: CallCenterClient +- tag: ccc - skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_ccc/conditional-naming-service/template.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/conditional-naming-service/template.json rename to BMW-Dynatrace-config/CD_ccc/conditional-naming-service/template.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/README.md b/BMW-Dynatrace-config/CD_ccc/custom-service-java/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/README.md rename to BMW-Dynatrace-config/CD_ccc/custom-service-java/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_ccc/custom-service-java/custom-service-java.yaml similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/custom-service-java.yaml rename to BMW-Dynatrace-config/CD_ccc/custom-service-java/custom-service-java.yaml diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_ccc/custom-service-java/template-1-1.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/custom-service-java/template-1-1.json rename to BMW-Dynatrace-config/CD_ccc/custom-service-java/template-1-1.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/README.md b/BMW-Dynatrace-config/CD_ccc/dashboard/README.md similarity index 92% rename from BMW-Dynatrace-config/CD_CallCenterClient/dashboard/README.md rename to BMW-Dynatrace-config/CD_ccc/dashboard/README.md index f2f821ec..2b6d5717 100644 --- a/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/README.md +++ b/BMW-Dynatrace-config/CD_ccc/dashboard/README.md @@ -1,4 +1,4 @@ - -### How to configure dashboards? - + +### 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_ccc/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_ccc/dashboard/dashboard.yaml new file mode 100644 index 00000000..e4bd1c98 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ccc/dashboard/dashboard.yaml @@ -0,0 +1,125 @@ +config: +- CDccc-PROD: default.json +- CDccc-E2E: default.json +- CDccc-INT: default.json +- CDccc-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDccc-PROD: +- name: CD_ccc PROD +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: PROD +- skipDeployment: "true" +CDccc-PROD.EMEA-Prod: +- name: CD_ccc PROD +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: PROD +- skipDeployment: "false" +CDccc-PROD.NA-Prod: +- name: CD_ccc PROD +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: PROD +- skipDeployment: "false" +CDccc-PROD.CN-Prod: +- name: CD_ccc PROD +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDccc-E2E: +- name: CD_ccc E2E +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: E2E +- skipDeployment: "true" +CDccc-E2E.EMEA-Prod: +- name: CD_ccc E2E +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: E2E +- skipDeployment: "false" +CDccc-E2E.NA-Prod: +- name: CD_ccc E2E +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: E2E +- skipDeployment: "false" +CDccc-E2E.CN-Prod: +- name: CD_ccc E2E +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDccc-INT: +- name: CD_ccc INT +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: INT +- skipDeployment: "true" +CDccc-INT.EMEA-PreProd: +- name: CD_ccc INT +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: INT +- skipDeployment: "false" +CDccc-INT.NA-PreProd: +- name: CD_ccc INT +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: INT +- skipDeployment: "false" +CDccc-INT.CN-PreProd: +- name: CD_ccc INT +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDccc-TEST: +- name: CD_ccc TEST +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: TEST +- skipDeployment: "true" +CDccc-TEST.EMEA-PreProd: +- name: CD_ccc TEST +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: TEST +- skipDeployment: "false" +CDccc-TEST.NA-PreProd: +- name: CD_ccc TEST +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: TEST +- skipDeployment: "false" +CDccc-TEST.CN-PreProd: +- name: CD_ccc TEST +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- tag: ccc +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/dashboard/default.json b/BMW-Dynatrace-config/CD_ccc/dashboard/default.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/dashboard/default.json rename to BMW-Dynatrace-config/CD_ccc/dashboard/default.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/management-zone/README.md b/BMW-Dynatrace-config/CD_ccc/management-zone/README.md similarity index 87% rename from BMW-Dynatrace-config/CD_CallCenterClient/management-zone/README.md rename to BMW-Dynatrace-config/CD_ccc/management-zone/README.md index 3716858c..ffe9d6e3 100644 --- a/BMW-Dynatrace-config/CD_CallCenterClient/management-zone/README.md +++ b/BMW-Dynatrace-config/CD_ccc/management-zone/README.md @@ -1,4 +1,4 @@ - -### How to configure management zones? - + +### 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_CallCenterClient/management-zone/default.json b/BMW-Dynatrace-config/CD_ccc/management-zone/default.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/management-zone/default.json rename to BMW-Dynatrace-config/CD_ccc/management-zone/default.json diff --git a/BMW-Dynatrace-config/CD_ccc/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_ccc/management-zone/management-zone.yaml new file mode 100644 index 00000000..c8203091 --- /dev/null +++ b/BMW-Dynatrace-config/CD_ccc/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDccc: default.json + +CDccc: +- name: CD_ccc +- tag: ccc diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/README.md b/BMW-Dynatrace-config/CD_ccc/notification/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/notification/README.md rename to BMW-Dynatrace-config/CD_ccc/notification/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/email.json b/BMW-Dynatrace-config/CD_ccc/notification/email.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/notification/email.json rename to BMW-Dynatrace-config/CD_ccc/notification/email.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/itsm.json b/BMW-Dynatrace-config/CD_ccc/notification/itsm.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/notification/itsm.json rename to BMW-Dynatrace-config/CD_ccc/notification/itsm.json diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/notification/msTeams.json b/BMW-Dynatrace-config/CD_ccc/notification/msTeams.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/notification/msTeams.json rename to BMW-Dynatrace-config/CD_ccc/notification/msTeams.json diff --git a/BMW-Dynatrace-config/CD_ccc/notification/notification.yaml b/BMW-Dynatrace-config/CD_ccc/notification/notification.yaml new file mode 100644 index 00000000..b0c0c46b --- /dev/null +++ b/BMW-Dynatrace-config/CD_ccc/notification/notification.yaml @@ -0,0 +1,102 @@ +config: +- CDccc: msTeams.json +- CDcccITSM: itsm.json + +# Notification System for EMEA/NA/CN Prod msTeams +CDccc.EMEA-Prod: +- name: CD_ccc PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" +CDccc.NA-Prod: +- name: CD_ccc PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" +CDccc.CN-Prod: +- name: CD_ccc PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" + +# Notification System for EMEA/NA/CN PreProd msTeams +CDccc.EMEA-PreProd: +- name: CD_ccc INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" +CDccc.NA-PreProd: +- name: CD_ccc INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" +CDccc.CN-PreProd: +- name: CD_ccc INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://empty +- skipDeployment: "true" + + +# Notification System for EMEA/NA/CN Prod ITSM +CDcccITSM.EMEA-Prod: +- name: CD_ccc ITSM PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDcccITSM.NA-Prod: +- name: CD_ccc ITSM PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDcccITSM.CN-Prod: +- name: CD_ccc ITSM PROD +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDcccITSM.EMEA-PreProd: +- name: CD_ccc ITSM INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + +CDcccITSM.NA-PreProd: +- name: CD_ccc ITSM INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + + +CDcccITSM.CN-PreProd: +- name: CD_ccc ITSM INT +- alertingProfile: CD_ccc/alerting-profile/CDccc.id +- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 +- contractid: "10APP11906401" +- appdid: "TEST123" +- mzName: CD_ccc/management-zone/CDccc.id +- DTEnvironment: https://xxu26128.live.dynatrace.com +- skipDeployment: "true" + diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_ccc/synthetic-monitor/README.md similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/README.md rename to BMW-Dynatrace-config/CD_ccc/synthetic-monitor/README.md diff --git a/BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_ccc/synthetic-monitor/default.json similarity index 100% rename from BMW-Dynatrace-config/CD_CallCenterClient/synthetic-monitor/default.json rename to BMW-Dynatrace-config/CD_ccc/synthetic-monitor/default.json diff --git a/BMW-Dynatrace-config/CD_ccc/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_ccc/synthetic-monitor/synthetic-monitor.yaml new file mode 100644 index 00000000..5d211acf --- /dev/null +++ b/BMW-Dynatrace-config/CD_ccc/synthetic-monitor/synthetic-monitor.yaml @@ -0,0 +1,10 @@ +config: +- ccc: default.json + +ccc: +- name: CD_ccc - +- mzName: CD_ccc/management-zone/CDccc.name +- mzId: CD_ccc/management-zone/CDccc.id +- endpoint: +- location: +- skipDeployment: "true" \ No newline at end of file