From 32816a015f257a6a4f1f56c7d8ea005a2d72eb3a Mon Sep 17 00:00:00 2001 From: qxz15oi Date: Fri, 12 Mar 2021 11:03:24 +0100 Subject: [PATCH] removing unnecesary files --- .../CD_ABC/alerting-profile/ABC.json | 122 -------- .../alerting-profile/alerting-profile.yaml | 82 ----- .../CD_ABC/dashboard/ABC.json | 285 ------------------ .../CD_ABC/dashboard/dashboard.yaml | 82 ----- .../CD_ABC/management-zone/ABC.json | 112 ------- .../management-zone/management-zone.yaml | 20 -- INITIAL_COMMIT | 0 7 files changed, 703 deletions(-) delete mode 100644 BMW-Dynatrace-config/CD_ABC/alerting-profile/ABC.json delete mode 100644 BMW-Dynatrace-config/CD_ABC/alerting-profile/alerting-profile.yaml delete mode 100644 BMW-Dynatrace-config/CD_ABC/dashboard/ABC.json delete mode 100644 BMW-Dynatrace-config/CD_ABC/dashboard/dashboard.yaml delete mode 100644 BMW-Dynatrace-config/CD_ABC/management-zone/ABC.json delete mode 100644 BMW-Dynatrace-config/CD_ABC/management-zone/management-zone.yaml delete mode 100644 INITIAL_COMMIT diff --git a/BMW-Dynatrace-config/CD_ABC/alerting-profile/ABC.json b/BMW-Dynatrace-config/CD_ABC/alerting-profile/ABC.json deleted file mode 100644 index 716b4176..00000000 --- a/BMW-Dynatrace-config/CD_ABC/alerting-profile/ABC.json +++ /dev/null @@ -1,122 +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}}" - } - ] - } - }, - { - "delayInMinutes": 0, - "severityLevel": "MONITORING_UNAVAILABLE", - "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_ABC/alerting-profile/alerting-profile.yaml b/BMW-Dynatrace-config/CD_ABC/alerting-profile/alerting-profile.yaml deleted file mode 100644 index b2e251b2..00000000 --- a/BMW-Dynatrace-config/CD_ABC/alerting-profile/alerting-profile.yaml +++ /dev/null @@ -1,82 +0,0 @@ -config: -- CDABC-PROD: ABC.json -- CDABC-E2E: ABC.json -- CDABC-INT: ABC.json - -#Prod dashboards for EMEA/NA/CN -CDABC-PROD: -- name: CD_ABC PROD -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "true" -CDABC-PROD.EMEA-Prod: -- name: CD_ABC PROD -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" -CDABC-PROD.NA-Prod: -- name: CD_ABC PROD -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" -CDABC-PROD.CN-Prod: -- name: CD_ABC PROD -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" - -#E2E dashboards for EMEA/NA/CN -CDABC-E2E: -- name: CD_ABC E2E -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "true" -CDABC-E2E.EMEA-Prod: -- name: CD_ABC E2E -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" -CDABC-E2E.NA-Prod: -- name: CD_ABC E2E -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" -CDABC-E2E.CN-Prod: -- name: CD_ABC E2E -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" - -#INT dashboards for EMEA/NA/CN -CDABC-INT: -- name: CD_ABC INT -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "true" -CDABC-INT.EMEA-PreProd: -- name: CD_ABC INT -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" -CDABC-INT.NA-PreProd: -- name: CD_ABC INT -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" -CDABC-INT.CN-PreProd: -- name: CD_ABC INT -- tag: ABC -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ABC/dashboard/ABC.json b/BMW-Dynatrace-config/CD_ABC/dashboard/ABC.json deleted file mode 100644 index 936a4110..00000000 --- a/BMW-Dynatrace-config/CD_ABC/dashboard/ABC.json +++ /dev/null @@ -1,285 +0,0 @@ - { - "metadata": { - "configurationVersions": [ - 3 - ], - "clusterVersion": "1.212.88.20210305-151445" - }, - "dashboardMetadata": { - "name": "{{.name}}", - "shared": false, - "owner": "Ignacio.Goldman@partner.bmwgroup.com", - "dashboardFilter": { - "managementZone": { - "id": "{{.mzId}}", - "name": "{{.mzName}}" - } - }, - "tags": [ - "{{.mzName}}" - ] - }, - "tiles": [ - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 38, - "left": 38, - "width": 1216, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Response time, Throughput 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": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 342, - "left": 38, - "width": 304, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Failure rate (HTTP 4xx/5xx errors)", - "defaultName": "Custom chart", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [ - { - "metric": "builtin:service.errors.fourxx.rate", - "aggregation": "AVG", - "type": "BAR", - "entityType": "SERVICE", - "dimensions": [], - "sortAscending": false, - "sortColumn": false, - "aggregationRate": "TOTAL" - }, - { - "metric": "builtin:service.errors.fivexx.rate", - "aggregation": "AVG", - "type": "BAR", - "entityType": "SERVICE", - "dimensions": [], - "sortAscending": false, - "sortColumn": true, - "aggregationRate": "TOTAL" - } - ], - "resultMetadata": { - "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": { - "lastModified": 1595276148986, - "customColor": "#ef651f" - } - } - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:{{.env}}" - ] - } - } - } - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 684, - "left": 38, - "width": 304, - "height": 114 - }, - "tileFilter": {}, - "markdown": "[Top Web Requests](https://vse69518.sprint.dynatracelabs.com/#topglobalwebrequests;gtf=l_2_HOURS;gf=all)\n\n[Top database statements](https://vse69518.sprint.dynatracelabs.com/#topdbstatements;gtf=l_2_HOURS;gf=all)\n\n[Overview of captured exceptions](https://vse69518.sprint.dynatracelabs.com/#exceptionsoverview;gtf=l_2_HOURS;gf=all)" - }, - { - "name": "Problems", - "tileType": "OPEN_PROBLEMS", - "configured": true, - "bounds": { - "top": 646, - "left": 1102, - "width": 152, - "height": 152 - }, - "tileFilter": {} - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 38, - "left": 1254, - "width": 152, - "height": 304 - }, - "tileFilter": {}, - "markdown": "Response time (line, left axis), number of requests (blue bars, right axis) and number of errors (red bars, right axis)." - }, - { - "name": "", - "tileType": "SERVICES", - "configured": true, - "bounds": { - "top": 342, - "left": 342, - "width": 304, - "height": 304 - }, - "tileFilter": {}, - "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": 342, - "left": 646, - "width": 304, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "HOST", - "customName": "Hosts", - "defaultName": "Hosts", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "HOST": { - "AUTO_TAGS": [ - "Environment:{{.env}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "DATABASES_OVERVIEW", - "configured": true, - "bounds": { - "top": 342, - "left": 950, - "width": 304, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "DATABASE", - "customName": "Databases", - "defaultName": "Databases", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "DATABASE": { - "AUTO_TAGS": [ - "Environment:{{.env}}" - ] - } - } - }, - "chartVisible": true - } - ] -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ABC/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_ABC/dashboard/dashboard.yaml deleted file mode 100644 index 0577edce..00000000 --- a/BMW-Dynatrace-config/CD_ABC/dashboard/dashboard.yaml +++ /dev/null @@ -1,82 +0,0 @@ -config: -- CDABC-PROD: ABC.json -- CDABC-E2E: ABC.json -- CDABC-INT: ABC.json - -#Prod dashboards for EMEA/NA/CN -CDABC-PROD: -- name: CD_ABC PROD -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "true" -CDABC-PROD.EMEA-Prod: -- name: CD_ABC PROD -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" -CDABC-PROD.NA-Prod: -- name: CD_ABC PROD -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" -CDABC-PROD.CN-Prod: -- name: CD_ABC PROD -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: PROD -- skipDeployment: "false" - -#E2E dashboards for EMEA/NA/CN -CDABC-E2E: -- name: CD_ABC E2E -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "true" -CDABC-E2E.EMEA-Prod: -- name: CD_ABC E2E -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" -CDABC-E2E.NA-Prod: -- name: CD_ABC E2E -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" -CDABC-E2E.CN-Prod: -- name: CD_ABC E2E -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: E2E -- skipDeployment: "false" - -#INT dashboards for EMEA/NA/CN -CDABC-INT: -- name: CD_ABC INT -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "true" -CDABC-INT.EMEA-PreProd: -- name: CD_ABC INT -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" -CDABC-INT.NA-PreProd: -- name: CD_ABC INT -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" -CDABC-INT.CN-PreProd: -- name: CD_ABC INT -- mzName: CD_ABC/management-zone/CDABC.name -- mzId: CD_ABC/management-zone/CDABC.id -- env: INT -- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ABC/management-zone/ABC.json b/BMW-Dynatrace-config/CD_ABC/management-zone/ABC.json deleted file mode 100644 index 2e82bb71..00000000 --- a/BMW-Dynatrace-config/CD_ABC/management-zone/ABC.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "dimensionalRules": [], - "name": "{{.name}}", - "rules": [ - { - "conditions": [ - { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "SERVICE_TAGS" - } - }, - { - "comparisonInfo": { - "caseSensitive": true, - "negate": true, - "operator": "CONTAINS", - "type": "STRING", - "value": "HealthResource" - }, - "key": { - "attribute": "SERVICE_NAME" - } - }, - { - "comparisonInfo": { - "caseSensitive": true, - "negate": true, - "operator": "CONTAINS", - "type": "STRING", - "value": "PingResource" - }, - "key": { - "attribute": "SERVICE_NAME" - } - }, - { - "comparisonInfo": { - "caseSensitive": true, - "negate": true, - "operator": "CONTAINS", - "type": "STRING", - "value": "PrometheusResource" - }, - "key": { - "attribute": "SERVICE_NAME" - } - } - ], - "enabled": true, - "propagationTypes": [ - "SERVICE_TO_PROCESS_GROUP_LIKE", - "SERVICE_TO_HOST_LIKE" - ], - "type": "SERVICE" - }, - { - "conditions": [ - { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "PROCESS_GROUP_TAGS" - } - } - ], - "enabled": true, - "propagationTypes": [ - "PROCESS_GROUP_TO_HOST" - ], - "type": "PROCESS_GROUP" - }, - { - "conditions": [ - { - "comparisonInfo": { - "negate": false, - "operator": "EQUALS", - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "{{.tag}}" - } - }, - "key": { - "attribute": "HOST_TAGS" - } - } - ], - "enabled": true, - "type": "HOST" - } - ] -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_ABC/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_ABC/management-zone/management-zone.yaml deleted file mode 100644 index c9654843..00000000 --- a/BMW-Dynatrace-config/CD_ABC/management-zone/management-zone.yaml +++ /dev/null @@ -1,20 +0,0 @@ -config: -- CDABC: ABC.json -CDABC.CN-PreProd: -- name: CD_ABC -- tag: ABC -CDABC.CN-Prod: -- name: CD_ABC -- tag: ABC -CDABC.EMEA-PreProd: -- name: CD_ABC -- tag: ABC -CDABC.EMEA-Prod: -- name: CD_ABC -- tag: ABC -CDABC.NA-PreProd: -- name: CD_ABC -- tag: ABC -CDABC.NA-Prod: -- name: CD_ABC -- tag: ABC diff --git a/INITIAL_COMMIT b/INITIAL_COMMIT deleted file mode 100644 index e69de29b..00000000