From ebe9723c27050bb5f3a02ef74cd73f0981ebe56c Mon Sep 17 00:00:00 2001 From: Sebastian Sedziejowski Date: Fri, 20 Aug 2021 15:20:38 +0200 Subject: [PATCH] CDVDC1509400 Adjusting dashboard for application b2v-com-fe emea e2e to Dynatrace, new dashboard for us e2e --- .../dashboard/CDb2vcomfeUSE2E.json | 434 ++++++++++++++++++ .../CD_b2v-com-fe/dashboard/dashboard.yaml | 10 +- 2 files changed, 443 insertions(+), 1 deletion(-) create mode 100644 BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeUSE2E.json diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeUSE2E.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeUSE2E.json new file mode 100644 index 00000000..672eb730 --- /dev/null +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeUSE2E.json @@ -0,0 +1,434 @@ +{ + "metadata": { + "configurationVersions": [ + 5 + ], + "clusterVersion": "1.223.89.20210810-150941" + }, + "dashboardMetadata": { + "name": "CD_b2v-com-fe US E2E", + "shared": false, + "owner": "Sebastian.Sedziejowski@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "E2E", + "b2v-com-fe" + ] + }, + "tiles": [ + { + "name": "Problems", + "tileType": "OPEN_PROBLEMS", + "configured": true, + "bounds": { + "top": 38, + "left": 950, + "width": 152, + "height": 152 + }, + "tileFilter": {} + }, + { + "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": "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": [ + "Component:b2v-com-fe", + "Environment:PROD" + ] + } + } + }, + "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": [ + "Component:b2v-com-fe", + "Environment:PROD" + ] + } + } + }, + "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": [ + "Component:b2v-com-fe", + "Environment:PROD" + ] + } + } + }, + "chartVisible": true + }, + { + "name": "Markdown", + "tileType": "MARKDOWN", + "configured": true, + "bounds": { + "top": 912, + "left": 38, + "width": 380, + "height": 152 + }, + "tileFilter": {}, + "markdown": "[Total requests per Application](https://wgv50241.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=3522285e-a326-41f7-99ea-81723b8f1099)\n\n[Average response time per application](https://wgv50241.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=009f1f3d-0e85-4dc5-a621-7b3f66c095e8)\n\n[Successful requests per application](https://wgv50241.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=0839c63b-e04d-4558-ba10-8caa7b2f6b20)\n\n[Failed requests per application](https://wgv50241.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=all&mdaId=9c2e9785-93f9-4f03-892b-2ff7fc3bd673)" + }, + { + "name": "Failure rate (HTTP 4xx/5xx errors)", + "tileType": "DATA_EXPLORER", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "customName": "Failure rate (HTTP 4xx/5xx errors)", + "queries": [ + { + "id": "A", + "metric": "builtin:service.errors.fourxx.rate", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [], + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [ + { + "filter": "dt.entity.service", + "filterType": "TAG", + "filterOperator": "OR", + "nestedFilters": [], + "criteria": [ + { + "value": "b2v-com-fe", + "evaluator": "IN" + }, + { + "value": "Environment:E2E", + "evaluator": "IN" + } + ] + } + ], + "criteria": [] + }, + "enabled": true + }, + { + "id": "B", + "metric": "builtin:service.errors.fivexx.rate", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [ + { + "filter": "dt.entity.service", + "filterType": "TAG", + "filterOperator": "OR", + "nestedFilters": [], + "criteria": [ + { + "value": "Environment:E2E", + "evaluator": "IN" + }, + { + "value": "b2v-com-fe", + "evaluator": "IN" + } + ] + } + ], + "criteria": [] + }, + "enabled": true + }, + { + "id": "C", + "metric": "builtin:tech.mongodb.active_clients", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [ + { + "filter": "dt.entity.process_group_instance", + "filterType": "TAG", + "filterOperator": "OR", + "nestedFilters": [], + "criteria": [ + { + "value": "Component:b2v-com-fe", + "evaluator": "IN" + } + ] + } + ], + "criteria": [] + }, + "enabled": true + } + ], + "visualConfig": { + "type": "GRAPH_CHART", + "global": { + "theme": "DEFAULT", + "threshold": { + "axisTarget": "LEFT", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ] + }, + "seriesType": "LINE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "seriesType": "COLUMN" + } + }, + { + "matcher": "B:", + "properties": { + "seriesType": "COLUMN" + } + } + ], + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + } + } + }, + { + "name": "Response time, Request Count and Number of Errors", + "tileType": "DATA_EXPLORER", + "configured": true, + "bounds": { + "top": 570, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": {}, + "customName": "Response time, Request Count and Number of Errors", + "queries": [ + { + "id": "A", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "metricSelector": "builtin:service.response.time:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:E2E~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:b2v-com-fe~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "enabled": true + }, + { + "id": "B", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "metricSelector": "builtin:service.requestCount.total:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:b2v-com-fe~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:E2E~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "enabled": true + }, + { + "id": "C", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "metricSelector": "builtin:service.errors.total.count:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:E2E~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:b2v-com-fe~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "enabled": true + }, + { + "id": "D", + "metric": "builtin:host.osService.availability", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [ + "dt.entity.host" + ], + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [], + "criteria": [] + }, + "enabled": true + }, + { + "id": "E", + "metric": "builtin:host.dns.errorCount", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [ + "dt.entity.host", + "dnsServerIp", + "errorType" + ], + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [], + "criteria": [] + }, + "enabled": true + } + ], + "visualConfig": { + "type": "GRAPH_CHART", + "global": { + "theme": "DEFAULT", + "seriesType": "LINE" + }, + "rules": [ + { + "matcher": "A", + "properties": { + "seriesType": "LINE" + } + }, + { + "matcher": "B", + "properties": { + "seriesType": "COLUMN" + } + }, + { + "matcher": "C", + "properties": { + "seriesType": "COLUMN" + } + }, + { + "matcher": "D", + "properties": { + "seriesType": "LINE" + } + }, + { + "matcher": "E", + "properties": { + "seriesType": "LINE" + } + } + ], + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + } + } + } + ] +} \ No newline at end of file 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 1254baee..4646455b 100644 --- a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml @@ -4,7 +4,8 @@ config: - CDb2v-com-fe-INT: default.json - CDb2v-com-fe-TEST: default.json - CDb2v-com-fe-EMEA-PROD: CDb2vcomfeEMEAPROD.json -- CDb2v-com-fe-E2E-PROD: CDb2vcomfeEMEAPROD.json +- CDb2v-com-fe-EMEA-E2E: CDb2vcomfeEMEAE2E.json +- CDb2v-com-fe-US-E2E: CDb2vcomfeUSE2E.json #PROD dashboards for EMEA/NA/CN Prod CDb2v-com-fe-PROD: @@ -72,6 +73,13 @@ CDb2v-com-fe-E2E.NA-Prod: - tag: b2v-com-fe - env: E2E - skipDeployment: "false" +CDb2v-com-fe-E2E.NA-Prod: +- name: CD_b2v-com-fe US 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" CDb2v-com-fe-E2E.CN-Prod: - name: CD_b2v-com-fe E2E - mzName: CD_b2v-com-fe/management-zone/CDb2v-com-fe.name