From ce2773e847b664e652e0f10c6a35fafc6d660c93 Mon Sep 17 00:00:00 2001 From: Sebastian Sedziejowski Date: Fri, 20 Aug 2021 12:45:38 +0200 Subject: [PATCH] CDVDC1509400 Add new dashboard for application b2v-com-fe emea prod to Dynatrace --- .../dashboard/CDb2vcomfeEMEAPROD.json | 474 ++++++++++++++++++ .../CD_b2v-com-fe/dashboard/dashboard.yaml | 9 + 2 files changed, 483 insertions(+) create mode 100644 BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAPROD.json diff --git a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAPROD.json b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAPROD.json new file mode 100644 index 00000000..33b37a0a --- /dev/null +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/CDb2vcomfeEMEAPROD.json @@ -0,0 +1,474 @@ +{ + "metadata": { + "configurationVersions": [ + 5 + ], + "clusterVersion": "1.223.89.20210810-150941" + }, + "dashboardMetadata": { + "name": "CD_b2v-com-fe PROD", + "shared": false, + "owner": "Sebastian.Sedziejowski@partner.bmwgroup.com", + "dashboardFilter": { + "timeframe": "-24h to now" + }, + "tags": [ + "PROD", + "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": "CD_b2v-com-fe" + } + } + }, + { + "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": "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": "CD_b2v-com-fe" + } + }, + "customName": "Response time, Request Count and Number of Errors", + "queries": [ + { + "id": "A", + "metric": "builtin:service.response.time", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [], + "filterBy": { + "filterOperator": "AND", + "nestedFilters": [ + { + "filter": "dt.entity.service", + "filterType": "TAG", + "filterOperator": "OR", + "nestedFilters": [], + "criteria": [ + { + "value": "Environment:PROD", + "evaluator": "IN" + }, + { + "value": "Component:b2v-com-fe", + "evaluator": "IN" + } + ] + } + ], + "criteria": [] + }, + "enabled": true + }, + { + "id": "B", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [], + "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:PROD~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "enabled": true + }, + { + "id": "C", + "spaceAggregation": "AVG", + "timeAggregation": "DEFAULT", + "splitBy": [], + "metricSelector": "builtin:service.errors.total.count:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\")),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": [] + } + } + }, + { + "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": "CD_b2v-com-fe" + } + }, + "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:PROD", + "evaluator": "IN" + }, + { + "value": "Component: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:PROD", + "evaluator": "IN" + }, + { + "value": "Component: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": "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=476e06cc-d784-4cd9-9afb-09751df4ef31)\n\n[Average response time per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=309c5639-0689-4805-8573-53357b2e56d0)\n\n[Sucessful requests per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=79cc0b20-532e-4a4f-81b6-ca4979984113)\n\n[Failed requests per application](https://xxu26128.live.dynatrace.com/ui/diagnostictools/mda?gtf=-24h%20to%20now&gf=-5651984742855815750&mdaId=e3ca5c36-dd56-4ce9-8ee7-aea98668f26e)" + } + ] +} 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 31e2c120..55922475 100644 --- a/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml +++ b/BMW-Dynatrace-config/CD_b2v-com-fe/dashboard/dashboard.yaml @@ -3,6 +3,7 @@ config: - CDb2v-com-fe-E2E: default.json - CDb2v-com-fe-INT: default.json - CDb2v-com-fe-TEST: default.json +- CDb2v-com-fe-EMEA-PROD: CDb2vcomfeEMEAPROD.json #PROD dashboards for EMEA/NA/CN Prod CDb2v-com-fe-PROD: @@ -19,6 +20,14 @@ CDb2v-com-fe-PROD.EMEA-Prod: - tag: b2v-com-fe - env: 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 +- env: PROD +- skipDeployment: "false" CDb2v-com-fe-PROD.NA-Prod: - name: CD_b2v-com-fe PROD - mzName: CD_b2v-com-fe/management-zone/CDb2v-com-fe.name