From e2ffbaad150147bdfe56bcb6dce1e339fc819129 Mon Sep 17 00:00:00 2001 From: Sebastian Sedziejowski Date: Tue, 7 Sep 2021 14:39:08 +0200 Subject: [PATCH] CDVDC1509400 added daschboards for cn, fixing existing dashboards --- .../dashboard/CDb2vcomfeCNE2E.json | 322 ++++++++++++++++++ .../dashboard/CDb2vcomfeCNPROD.json | 322 ++++++++++++++++++ .../dashboard/CDb2vcomfeEMEAE2E.json | 16 +- .../CD_b2v-com-fe/dashboard/dashboard.yaml | 17 + 4 files changed, 669 insertions(+), 8 deletions(-) create mode 100644 BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNE2E.json create mode 100644 BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNPROD.json diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNE2E.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNE2E.json new file mode 100644 index 00000000..b1b96a87 --- /dev/null +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNE2E.json @@ -0,0 +1,322 @@ +{ + "metadata": { + "configurationVersions": [ + 5 + ], + "clusterVersion": "1.224.79.20210830-074711" + }, + "dashboardMetadata": { + "name": "CD_b2v-com-fe CN E2E", + "shared": false, + "owner": "sebastian.sedziejowski@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "E2E", + "b2v-com-fe" + ] + }, + "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:E2E", + "Component:b2v-com-fe" + ] + } + } + } + }, + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.name}}" + } + } + }, + { + "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:E2E", + "Component:b2v-com-fe" + ] + } + } + } + }, + { + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 912, + "left": 38, + "width": 418, + "height": 190 + }, + "tileFilter": {}, + "markdown": "[Total requests per Application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=cd2cb2d3-67da-4598-8bb4-7a48bc0ce3bc)\n\n[Average response time per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=c00d5c3e-3013-48f4-958d-2753cfdddd59)\n\n[Successful requests per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=9bef7be0-9924-4276-868f-06aa3004394c)\n\n[Failed requests per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=3803db02-b997-429a-9414-5ec70cf913de)" + } + ] +} diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNPROD.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNPROD.json new file mode 100644 index 00000000..b81f31bc --- /dev/null +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeCNPROD.json @@ -0,0 +1,322 @@ +{ + "metadata": { + "configurationVersions": [ + 5 + ], + "clusterVersion": "1.224.79.20210830-074711" + }, + "dashboardMetadata": { + "name": "CD_b2v-com-fe CN PROD", + "shared": false, + "owner": "sebastian.sedziejowski@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "PROD", + "b2v-com-fe" + ] + }, + "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": [ + "Component:b2v-com-be", + "Environment:PROD" + ] + } + } + } + }, + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": { + "managementZone": { + "id": "{{.mzId}}", + "name": "{{.name}}" + } + } + }, + { + "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": [ + "Component:b2v-com-be", + "Environment:PROD" + ] + } + } + } + }, + { + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "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:{{.tag}}", + "Component:{{.env}}" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 912, + "left": 38, + "width": 380, + "height": 228 + }, + "tileFilter": {}, + "markdown": "[Total requests per Application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=25a8b8a3-b8cf-4065-8ffa-a89eee172030)\n\n[Average response time per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=e560d42c-a0f5-4a5e-b1c9-d90420a259f6)\n\n[Successful requests per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=6f8b03f9-16a4-47c0-8867-13d07c5189b8)\n\n[Failed requests per application](https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=94d693d3-3deb-4aca-af6e-8abebe8f6b8b)" + } + ] +} diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json index 3ce4f54d..f47b08ec 100644 --- a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json @@ -30,8 +30,8 @@ }, "tileFilter": { "managementZone": { - "id": "-5651984742855815750", - "name": "CD_b2v-com-fe" + "id": "{{.mzId}}", + "name": "{{.name}}" } } }, @@ -97,8 +97,8 @@ "filtersPerEntityType": { "DATABASE": { "AUTO_TAGS": [ - "Component:b2v-com-fe", - "Environment:PROD" + "Environment:{{.tag}}", + "Component:{{.env}}" ] } } @@ -129,8 +129,8 @@ "filtersPerEntityType": { "SERVICE": { "AUTO_TAGS": [ - "Component:b2v-com-fe", - "Environment:PROD" + "Environment:{{.tag}}", + "Component:{{.env}}" ] } } @@ -161,8 +161,8 @@ "filtersPerEntityType": { "HOST": { "AUTO_TAGS": [ - "Component:b2v-com-fe", - "Environment:PROD" + "Environment:{{.tag}}", + "Component:{{.env}}" ] } } diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml index 4646455b..675faa99 100644 --- a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml @@ -6,6 +6,9 @@ config: - CDb2v-com-fe-EMEA-PROD: CDb2vcomfeEMEAPROD.json - CDb2v-com-fe-EMEA-E2E: CDb2vcomfeEMEAE2E.json - CDb2v-com-fe-US-E2E: CDb2vcomfeUSE2E.json +- CDb2v-com-fe-US-PROD: CDb2vcomfeUSPROD.json +- CDb2v-com-fe-CN-E2E: CDb2vcomfeCNE2E.json +- CDb2v-com-fe-CN-PROD: CDb2vcomfeCNPROD.json #PROD dashboards for EMEA/NA/CN Prod CDb2v-com-fe-PROD: @@ -43,6 +46,13 @@ CDb2v-com-fe-PROD.CN-Prod: - tag: b2v-com-fe - env: PROD - skipDeployment: "false" +CDb2v-com-fe-CN-PROD.CN-Prod: +- name: CD_b2v-com-fe CN PROD +- mzName: CD_b2v-com-fe/management-zone/CDb2v-com-fe.name +- mzId: CD_b2v-com-fe/management-zone/CDb2v-com-fe.id +- tag: b2v-com-fe +- env: PROD +- skipDeployment: "false" #E2E dashboards for EMEA/NA/CN Prod CDb2v-com-fe-E2E: @@ -87,6 +97,13 @@ CDb2v-com-fe-E2E.CN-Prod: - tag: b2v-com-fe - env: E2E - skipDeployment: "false" +CDb2v-com-fe-CN-E2E.CN-Prod: +- name: CD_b2v-com-fe CN E2E +- mzName: CD_b2v-com-fe/management-zone/CDb2v-com-fe.name +- mzId: CD_b2v-com-fe/management-zone/CDb2v-com-fe.id +- tag: b2v-com-fe +- env: E2E +- skipDeployment: "false" #INT dashboards for EMEA/NA/CN PreProd CDb2v-com-fe-INT: