diff --git a/BMW-Dynatrace-config/CD_CICD/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_CICD/alerting-profile/alerting-profile.yaml deleted file mode 100644 index c5198d77..00000000 --- a/BMW-Dynatrace-config/CD_CICD/alerting-profile/alerting-profile.yaml +++ /dev/null @@ -1,43 +0,0 @@ -config: -- CDCICD: default.json - - -#Prod alerting profiles for EMEA/NA/CN -CDCICD.EMEA-Prod: -- name: CD_CICD PROD -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: PROD -- skipDeployment: "false" -CDCICD.NA-Prod: -- name: CD_CICD PROD -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: PROD -- skipDeployment: "false" -CDCICD.CN-Prod: -- name: CD_CICD PROD -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: PROD -- skipDeployment: "false" - -#INT alerting profiles for EMEA/NA/CN -CDCICD.EMEA-PreProd: -- name: CD_CICD INT -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: INT -- skipDeployment: "false" -CDCICD.NA-PreProd: -- name: CD_CICD INT -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: INT -- skipDeployment: "false" -CDCICD.CN-PreProd: -- name: CD_CICD INT -- tag: CICD -- mzId: CD_CICD/management-zone/CDCICD.id -- env: INT -- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_CICD/alerting-profile/default.json b/BMW-Dynatrace-config/CD_CICD/alerting-profile/default.json deleted file mode 100644 index 681a4c64..00000000 --- a/BMW-Dynatrace-config/CD_CICD/alerting-profile/default.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "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_CICD/calculated-metrics-service/README.md b/BMW-Dynatrace-config/CD_CICD/calculated-metrics-service/README.md deleted file mode 100644 index f958f929..00000000 --- a/BMW-Dynatrace-config/CD_CICD/calculated-metrics-service/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/conditional-naming-processgroup/README.md b/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/README.md deleted file mode 100644 index 8c10d2b4..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/conditional-naming-processgroup/conditional-naming-processgroup.yaml b/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/conditional-naming-processgroup.yaml deleted file mode 100644 index 8989e1ed..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/conditional-naming-processgroup.yaml +++ /dev/null @@ -1,8 +0,0 @@ -config: -- CDCICD: template.json - -CDCICD: -- name: MyProcessNamingRule -- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: CICD -- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/template.json b/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/template.json deleted file mode 100644 index 7c039808..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-processgroup/template.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "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_CICD/conditional-naming-service/README.md b/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/README.md deleted file mode 100644 index 93dc620b..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/conditional-naming-service/conditional-naming-service.yaml b/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/conditional-naming-service.yaml deleted file mode 100644 index 8989e1ed..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/conditional-naming-service.yaml +++ /dev/null @@ -1,8 +0,0 @@ -config: -- CDCICD: template.json - -CDCICD: -- name: MyProcessNamingRule -- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}" -- tag: CICD -- skipDeployment: "true" diff --git a/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/template.json b/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/template.json deleted file mode 100644 index 5d4fac56..00000000 --- a/BMW-Dynatrace-config/CD_CICD/conditional-naming-service/template.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "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_CICD/custom-service-java/README.md b/BMW-Dynatrace-config/CD_CICD/custom-service-java/README.md deleted file mode 100644 index a467a6f8..00000000 --- a/BMW-Dynatrace-config/CD_CICD/custom-service-java/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/custom-service-java/custom-service-java.yaml b/BMW-Dynatrace-config/CD_CICD/custom-service-java/custom-service-java.yaml deleted file mode 100644 index 25f8a028..00000000 --- a/BMW-Dynatrace-config/CD_CICD/custom-service-java/custom-service-java.yaml +++ /dev/null @@ -1,9 +0,0 @@ -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_CICD/custom-service-java/template-1-1.json b/BMW-Dynatrace-config/CD_CICD/custom-service-java/template-1-1.json deleted file mode 100644 index b3003515..00000000 --- a/BMW-Dynatrace-config/CD_CICD/custom-service-java/template-1-1.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "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_CICD/notification/README.md b/BMW-Dynatrace-config/CD_CICD/notification/README.md deleted file mode 100644 index 5ba3825a..00000000 --- a/BMW-Dynatrace-config/CD_CICD/notification/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/notification/email.json b/BMW-Dynatrace-config/CD_CICD/notification/email.json deleted file mode 100644 index 486642a7..00000000 --- a/BMW-Dynatrace-config/CD_CICD/notification/email.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "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_CICD/notification/itsm.json b/BMW-Dynatrace-config/CD_CICD/notification/itsm.json deleted file mode 100644 index 677ef0ea..00000000 --- a/BMW-Dynatrace-config/CD_CICD/notification/itsm.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "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_CICD/notification/msTeams.json b/BMW-Dynatrace-config/CD_CICD/notification/msTeams.json deleted file mode 100644 index 33e92cf6..00000000 --- a/BMW-Dynatrace-config/CD_CICD/notification/msTeams.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "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_CICD/notification/notification.yaml b/BMW-Dynatrace-config/CD_CICD/notification/notification.yaml deleted file mode 100644 index c060ef4c..00000000 --- a/BMW-Dynatrace-config/CD_CICD/notification/notification.yaml +++ /dev/null @@ -1,102 +0,0 @@ -config: -- CDCICD: msTeams.json -- CDCICDITSM: itsm.json - -# Notification System for EMEA/NA/CN Prod msTeams -CDCICD.EMEA-Prod: -- name: CD_CICD PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" -CDCICD.NA-Prod: -- name: CD_CICD PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" -CDCICD.CN-Prod: -- name: CD_CICD PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" - -# Notification System for EMEA/NA/CN PreProd msTeams -CDCICD.EMEA-PreProd: -- name: CD_CICD INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" -CDCICD.NA-PreProd: -- name: CD_CICD INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" -CDCICD.CN-PreProd: -- name: CD_CICD INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://empty -- skipDeployment: "true" - - -# Notification System for EMEA/NA/CN Prod ITSM -CDCICDITSM.EMEA-Prod: -- name: CD_CICD ITSM PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCICDITSM.NA-Prod: -- name: CD_CICD ITSM PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - - -CDCICDITSM.CN-Prod: -- name: CD_CICD ITSM PROD -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCICDITSM.EMEA-PreProd: -- name: CD_CICD ITSM INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - -CDCICDITSM.NA-PreProd: -- name: CD_CICD ITSM INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - - -CDCICDITSM.CN-PreProd: -- name: CD_CICD ITSM INT -- alertingProfile: CD_CICD/alerting-profile/CDCICD.id -- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1 -- contractid: "10APP11906401" -- appdid: "TEST123" -- mzName: CD_CICD/management-zone/CDCICD.id -- DTEnvironment: https://xxu26128.live.dynatrace.com -- skipDeployment: "true" - diff --git a/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/README.md b/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/README.md deleted file mode 100644 index 04d7949f..00000000 --- a/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/README.md +++ /dev/null @@ -1,4 +0,0 @@ - -### 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_CICD/synthetic-monitor/default.json b/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/default.json deleted file mode 100644 index cf83039b..00000000 --- a/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/default.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "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_CICD/synthetic-monitor/synthetic-monitor.yaml b/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/synthetic-monitor.yaml deleted file mode 100644 index 114a281e..00000000 --- a/BMW-Dynatrace-config/CD_CICD/synthetic-monitor/synthetic-monitor.yaml +++ /dev/null @@ -1,10 +0,0 @@ -config: -- CICD: default.json - -CICD: -- name: CD_CICD - -- mzName: CD_CICD/management-zone/CDCICD.name -- mzId: CD_CICD/management-zone/CDCICD.id -- endpoint: -- location: -- skipDeployment: "true" \ No newline at end of file