From f1453aa2e8a107ebcf52cbe9a8113350a1345e7f Mon Sep 17 00:00:00 2001 From: rforstner Date: Tue, 22 Jun 2021 15:44:50 +0200 Subject: [PATCH] adding RSCockpit --- .../CD_RSCockpit/dashboard/README.md | 4 + .../CD_RSCockpit/dashboard/dashboard.yaml | 125 +++++++ .../CD_RSCockpit/dashboard/default.json | 308 ++++++++++++++++++ .../CD_RSCockpit/management-zone/README.md | 4 + .../CD_RSCockpit/management-zone/default.json | 114 +++++++ .../management-zone/management-zone.yaml | 6 + 6 files changed, 561 insertions(+) create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/dashboard/README.md create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/dashboard/dashboard.yaml create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/dashboard/default.json create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/management-zone/README.md create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/management-zone/default.json create mode 100644 BMW-Dynatrace-config/CD_RSCockpit/management-zone/management-zone.yaml diff --git a/BMW-Dynatrace-config/CD_RSCockpit/dashboard/README.md b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/README.md new file mode 100644 index 00000000..2b6d5717 --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/README.md @@ -0,0 +1,4 @@ + +### How to configure dashboards? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Dashboards) page to configure your dashboards. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_RSCockpit/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/dashboard.yaml new file mode 100644 index 00000000..35a38645 --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/dashboard.yaml @@ -0,0 +1,125 @@ +config: +- CDrscockpit-PROD: default.json +- CDrscockpit-E2E: default.json +- CDrscockpit-INT: default.json +- CDrscockpit-TEST: default.json + +#PROD dashboards for EMEA/NA/CN Prod +CDrscockpit-PROD: +- name: CD_RSCockpit PROD +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: PROD +- skipDeployment: "true" +CDrscockpit-PROD.EMEA-Prod: +- name: CD_RSCockpit PROD +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: PROD +- skipDeployment: "false" +CDrscockpit-PROD.NA-Prod: +- name: CD_RSCockpit PROD +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: PROD +- skipDeployment: "false" +CDrscockpit-PROD.CN-Prod: +- name: CD_RSCockpit PROD +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: PROD +- skipDeployment: "false" + +#E2E dashboards for EMEA/NA/CN Prod +CDrscockpit-E2E: +- name: CD_RSCockpit E2E +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: E2E +- skipDeployment: "true" +CDrscockpit-E2E.EMEA-Prod: +- name: CD_RSCockpit E2E +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: E2E +- skipDeployment: "false" +CDrscockpit-E2E.NA-Prod: +- name: CD_RSCockpit E2E +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: E2E +- skipDeployment: "false" +CDrscockpit-E2E.CN-Prod: +- name: CD_RSCockpit E2E +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: E2E +- skipDeployment: "false" + +#INT dashboards for EMEA/NA/CN PreProd +CDrscockpit-INT: +- name: CD_RSCockpit INT +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: INT +- skipDeployment: "true" +CDrscockpit-INT.EMEA-PreProd: +- name: CD_RSCockpit INT +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: INT +- skipDeployment: "false" +CDrscockpit-INT.NA-PreProd: +- name: CD_RSCockpit INT +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: INT +- skipDeployment: "false" +CDrscockpit-INT.CN-PreProd: +- name: CD_RSCockpit INT +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN PreProd +CDrscockpit-TEST: +- name: CD_RSCockpit TEST +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: TEST +- skipDeployment: "true" +CDrscockpit-TEST.EMEA-PreProd: +- name: CD_RSCockpit TEST +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: TEST +- skipDeployment: "false" +CDrscockpit-TEST.NA-PreProd: +- name: CD_RSCockpit TEST +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: TEST +- skipDeployment: "false" +CDrscockpit-TEST.CN-PreProd: +- name: CD_RSCockpit TEST +- mzName: CD_RSCockpit/management-zone/CDrscockpit.name +- mzId: CD_RSCockpit/management-zone/CDrscockpit.id +- tag: rscockpit +- env: TEST +- skipDeployment: "false" \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_RSCockpit/dashboard/default.json b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/default.json new file mode 100644 index 00000000..6c685810 --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/dashboard/default.json @@ -0,0 +1,308 @@ +{ + "metadata": { + "configurationVersions": [ + 3 + ], + "clusterVersion": "1.214.107.20210407-223952" + }, + "dashboardMetadata": { + "name": "{{.name}}", + "shared": true, + "owner": "Ignacio.Goldman@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "{{.tag}}" + ] + }, + "tiles": [ + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Failure rate (HTTP 4xx/5xx errors)", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.errors.fourxx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.fivexx.rate", + "aggregation": "AVG", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956393463, + "customColor": "#ff0000" + }, + "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE": { + "lastModified": 1617956441725, + "customColor": "#fff29a" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.mzName}}" + } + } + }, + { + "name": "Overall Health", + "tileType": "HEADER", + "configured": true, + "bounds": { + "top": 0, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {} + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 532, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "Custom chart", + "tileType": "CUSTOM_CHARTING", + "configured": true, + "bounds": { + "top": 570, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "filterConfig": { + "type": "MIXED", + "customName": "Response time, Request Count and Number of Errors", + "defaultName": "Custom chart", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [ + { + "metric": "builtin:service.response.time", + "aggregation": "AVG", + "type": "LINE", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.requestCount.total", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": false, + "aggregationRate": "TOTAL" + }, + { + "metric": "builtin:service.errors.total.count", + "aggregation": "NONE", + "type": "BAR", + "entityType": "SERVICE", + "dimensions": [], + "sortAscending": false, + "sortColumn": true, + "aggregationRate": "TOTAL" + } + ], + "resultMetadata": { + "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275720776, + "customColor": "#008cdb" + }, + "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE": { + "lastModified": 1595275955999, + "customColor": "#ef651f" + }, + "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE": { + "lastModified": 1595275686773, + "customColor": "#b4e5f9" + } + } + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + } + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 190, + "left": 38, + "width": 1064, + "height": 38 + }, + "tileFilter": {}, + "markdown": "---\n" + }, + { + "name": "", + "tileType": "DATABASES_OVERVIEW", + "configured": true, + "bounds": { + "top": 38, + "left": 646, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "DATABASE", + "customName": "Databases", + "defaultName": "Databases", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "DATABASE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "SERVICES", + "configured": true, + "bounds": { + "top": 38, + "left": 342, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "SERVICE", + "customName": "Services", + "defaultName": "Services", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "SERVICE": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "", + "tileType": "HOSTS", + "configured": true, + "bounds": { + "top": 38, + "left": 38, + "width": 190, + "height": 152 + }, + "tileFilter": {}, + "filterConfig": { + "type": "HOST", + "customName": "Hosts", + "defaultName": "Hosts", + "chartConfig": { + "legendShown": true, + "type": "TIMESERIES", + "series": [], + "resultMetadata": {} + }, + "filtersPerEntityType": { + "HOST": { + "AUTO_TAGS": [ + "Environment:{{.env}}", + "Component:{{.tag}}" + ] + } + } + }, + "chartVisible": true + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_RSCockpit/management-zone/README.md b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/README.md new file mode 100644 index 00000000..ffe9d6e3 --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/README.md @@ -0,0 +1,4 @@ + +### How to configure management zones? + +Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones. \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_RSCockpit/management-zone/default.json b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/default.json new file mode 100644 index 00000000..bffa0c3b --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/default.json @@ -0,0 +1,114 @@ +{ + "dimensionalRules": [], + "name": "{{.name}}", + "rules": [ + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "SERVICE_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "SERVICE_TO_PROCESS_GROUP_LIKE", + "SERVICE_TO_HOST_LIKE" + ], + "type": "SERVICE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "PROCESS_GROUP_TAGS" + } + } + ], + "enabled": true, + "propagationTypes": [ + "PROCESS_GROUP_TO_HOST" + ], + "type": "PROCESS_GROUP" + }, + { + "conditions": [ + { + "comparisonInfo": { + "negate": false, + "operator": "EQUALS", + "type": "TAG", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "{{.tag}}" + } + }, + "key": { + "attribute": "HOST_TAGS" + } + } + ], + "enabled": true, + "type": "HOST" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION_NAMESPACE" + }, + { + "conditions": [ + { + "comparisonInfo": { + "caseSensitive": true, + "negate": false, + "operator": "CONTAINS", + "type": "STRING", + "value": "{{.tag}}" + }, + "key": { + "attribute": "CLOUD_APPLICATION_NAME" + } + } + ], + "enabled": true, + "propagationTypes": [], + "type": "CLOUD_APPLICATION" + } + ] +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_RSCockpit/management-zone/management-zone.yaml b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/management-zone.yaml new file mode 100644 index 00000000..f38c0c91 --- /dev/null +++ b/BMW-Dynatrace-config/CD_RSCockpit/management-zone/management-zone.yaml @@ -0,0 +1,6 @@ +config: +- CDrscockpit: default.json + +CDrscockpit: +- name: CD_RSCockpit +- tag: rscockpit