From ce90e2179fcfedf12057e5203ffdb4ade69b2526 Mon Sep 17 00:00:00 2001 From: Sebastian Sedziejowski Date: Fri, 20 Aug 2021 13:14:39 +0200 Subject: [PATCH] CDVDC1509400 Add new dashboard for application b2v-com-fe emea e2e to Dynatrace --- .../dashboard/CDb2vcomfeEMEAE2E.json | 450 ++++++++++++++++++ .../CD_b2v-com-fe/dashboard/dashboard.yaml | 9 +- 2 files changed, 458 insertions(+), 1 deletion(-) create mode 100644 BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json new file mode 100644 index 00000000..57dbd3ef --- /dev/null +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAE2E.json @@ -0,0 +1,450 @@ +{ + "metadata": { + "configurationVersions": [ + 5 + ], + "clusterVersion": "1.223.89.20210810-150941" + }, + "id": "d30335ad-d58e-4eec-b696-b3d6d73b08f8", + "dashboardMetadata": { + "name": "CD_b2v-com-fe EMEA 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": { + "managementZone": { + "id": "-5651984742855815750", + "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": "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": 152 + }, + "tileFilter": {}, + "markdown": "[Total requests per Application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=c38a7cff-e5a9-4efc-ae8c-c9cbf53795b7)\n\n[Average response time per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=d83cc26c-65ef-4d45-9720-bc78ded1ea5e)\n\n[Successful requests per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=87a47590-cce6-4fa4-bff7-6409805137dc)\n\n[Failed requests per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=b6ed4e3e-172e-43ef-8dcd-8644f028c891)" + }, + { + "name": "Failure rate (HTTP 4xx/5xx errors)", + "tileType": "DATA_EXPLORER", + "configured": true, + "bounds": { + "top": 228, + "left": 38, + "width": 1064, + "height": 304 + }, + "tileFilter": { + "managementZone": { + "id": "-5651984742855815750", + "name": "{{.name}}" + } + }, + "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": "Environment:E2E", + "evaluator": "IN" + }, + { + "value": "b2v-com-fe", + "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": { + "managementZone": { + "id": "-5651984742855815750", + "name": "{{.name}}" + } + }, + "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 55922475..3c8c858c 100644 --- a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml @@ -4,6 +4,7 @@ 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 #PROD dashboards for EMEA/NA/CN Prod CDb2v-com-fe-PROD: @@ -22,7 +23,6 @@ CDb2v-com-fe-PROD.EMEA-Prod: - skipDeployment: "false" CDb2v-com-fe-EMEA-PROD.EMEA-Prod: - name: CD_b2v-com-fe EMEA PROD -- name: CD_b2v-com-fe EMEA 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 @@ -58,6 +58,13 @@ CDb2v-com-fe-E2E.EMEA-Prod: - tag: b2v-com-fe - env: E2E - skipDeployment: "false" +CDb2v-com-fe-EMEA-E2E.EMEA-Prod: +- name: CD_b2v-com-fe E2E 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: E2E +- skipDeployment: "false" CDb2v-com-fe-E2E.NA-Prod: - name: CD_b2v-com-fe E2E - mzName: CD_b2v-com-fe/management-zone/CDb2v-com-fe.name