diff --git a/onboarding/CD_managementZone/alerting-profile/alerting-profile.yaml b/onboarding/CD_managementZone/alerting-profile/alerting-profile.yaml index affdfe5d..8e835837 100644 --- a/onboarding/CD_managementZone/alerting-profile/alerting-profile.yaml +++ b/onboarding/CD_managementZone/alerting-profile/alerting-profile.yaml @@ -1,9 +1,8 @@ config: - CDnewComponentTag-PROD: default.json -- CDnewComponentTag-E2E: default.json - CDnewComponentTag-INT: default.json -#Prod dashboards for EMEA/NA/CN +#Prod alerting profiles for EMEA/NA/CN #Dry-run needed for all hubs CDnewComponentTag-PROD: - name: CD_managementZone PROD @@ -31,35 +30,8 @@ CDnewComponentTag-PROD.CN-Prod: - env: PROD - skipDeployment: "false" -#E2E dashboards for EMEA/NA/CN -#Dry-run needed for all hubs -CDnewComponentTag-E2E: -- name: CD_managementZone E2E -- tag: newComponentTag -- mzId: CD_managementZone/management-zone/CDnewComponentTag.id -- env: E2E -- skipDeployment: "true" -#Configuration -CDnewComponentTag-E2E.EMEA-Prod: -- name: CD_managementZone E2E -- tag: newComponentTag -- mzId: CD_managementZone/management-zone/CDnewComponentTag.id -- env: E2E -- skipDeployment: "false" -CDnewComponentTag-E2E.NA-Prod: -- name: CD_managementZone E2E -- tag: newComponentTag -- mzId: CD_managementZone/management-zone/CDnewComponentTag.id -- env: E2E -- skipDeployment: "false" -CDnewComponentTag-E2E.CN-Prod: -- name: CD_managementZone E2E -- tag: newComponentTag -- mzId: CD_managementZone/management-zone/CDnewComponentTag.id -- env: E2E -- skipDeployment: "false" -#INT dashboards for EMEA/NA/CN +#INT alerting profiles for EMEA/NA/CN #Dry-run needed for all hubs CDnewComponentTag-INT: - name: CD_managementZone INT diff --git a/onboarding/CD_managementZone/dashboard/dashboard.yaml b/onboarding/CD_managementZone/dashboard/dashboard.yaml index 08033f18..4f45d440 100644 --- a/onboarding/CD_managementZone/dashboard/dashboard.yaml +++ b/onboarding/CD_managementZone/dashboard/dashboard.yaml @@ -1,59 +1,127 @@ config: -- CDnewComponentTag-PROD-E2E: defaultPRODE2E.json -- CDnewComponentTag-INT-TEST: defaultINTTEST.json +- CDnewComponentTag-PROD: default.json +- CDnewComponentTag-E2E: default.json +- CDnewComponentTag-INT: default.json +- CDnewComponentTag-TEST: default.json -#PROD-E2E dashboards for EMEA/NA/CN Prod +#PROD dashboards for EMEA/NA/CN Prod #Dry-run needed for all hubs -CDnewComponentTag-PROD-E2E: -- name: CD_managementZone PROD-E2E +CDnewComponentTag-PROD: +- name: CD_managementZone PROD - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: PROD - skipDeployment: "true" #Configuration -CDnewComponentTag-PROD-E2E.EMEA-Prod: -- name: CD_managementZone PROD-E2E +CDnewComponentTag-PROD.EMEA-Prod: +- name: CD_managementZone PROD - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id - tag: newComponentTag +- env: PROD - skipDeployment: "false" -CDnewComponentTag-PROD-E2E.NA-Prod: -- name: CD_managementZone PROD-E2E +CDnewComponentTag-PROD.NA-Prod: +- name: CD_managementZone PROD - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id - tag: newComponentTag +- env: PROD - skipDeployment: "false" -CDnewComponentTag-PROD-E2E.CN-Prod: -- name: CD_managementZone PROD-E2E +CDnewComponentTag-PROD.CN-Prod: +- name: CD_managementZone PROD - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id - tag: newComponentTag +- env: PROD - skipDeployment: "false" - -#INT-TEST dashboards for EMEA/NA/CN PreProd +#E2E dashboards for EMEA/NA/CN E2E #Dry-run needed for all hubs -CDnewComponentTag-INT-TEST: -- name: CD_managementZone INT-TEST +CDnewComponentTag-E2E: +- name: CD_managementZone E2E - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: E2E +- skipDeployment: "true" +#Configuration +CDnewComponentTag-E2E.EMEA-Prod: +- name: CD_managementZone E2E +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: E2E +- tag: newComponentTag +- skipDeployment: "true" +CDnewComponentTag-E2E.NA-Prod: +- name: CD_managementZone E2E +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: E2E +- tag: newComponentTag +- skipDeployment: "true" +CDnewComponentTag-E2E.CN-Prod: +- name: CD_managementZone E2E +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: E2E +- tag: newComponentTag +- skipDeployment: "true" + +#INT dashboards for EMEA/NA/CN +#Dry-run needed for all hubs +CDnewComponentTag-INT: +- name: CD_managementZone INT +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: INT - tag: newComponentTag - skipDeployment: "true" #Configuration -CDnewComponentTag-INT-TEST.EMEA-PreProd: -- name: CD_managementZone INT-TEST +CDnewComponentTag-INT.EMEA-PreProd: +- name: CD_managementZone INT - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: INT - tag: newComponentTag - skipDeployment: "false" -CDnewComponentTag-INT-TEST.NA-PreProd: -- name: CD_managementZone INT-TEST +CDnewComponentTag-INT.NA-PreProd: +- name: CD_managementZone INT - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id - env: INT - skipDeployment: "false" -CDnewComponentTag-INT-TEST.CN-PreProd: -- name: CD_managementZone INT-TEST +CDnewComponentTag-INT.CN-PreProd: +- name: CD_managementZone INT - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id - env: INT +- skipDeployment: "false" + +#TEST dashboards for EMEA/NA/CN +#Dry-run needed for all hubs +CDnewComponentTag-TEST: +- name: CD_managementZone TEST +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- tag: newComponentTag +- env: TEST +- skipDeployment: "true" +#Configuration +CDnewComponentTag-TEST.EMEA-PreProd: +- name: CD_managementZone TEST +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- tag: newComponentTag +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.NA-PreProd: +- name: CD_managementZone TEST +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: TEST +- skipDeployment: "false" +CDnewComponentTag-TEST.CN-PreProd: +- name: CD_managementZone TEST +- mzName: CD_managementZone/management-zone/CDnewComponentTag.name +- mzId: CD_managementZone/management-zone/CDnewComponentTag.id +- env: TEST - skipDeployment: "false" \ No newline at end of file diff --git a/onboarding/CD_managementZone/dashboard/default.json b/onboarding/CD_managementZone/dashboard/default.json new file mode 100644 index 00000000..6c685810 --- /dev/null +++ b/onboarding/CD_managementZone/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/onboarding/CD_managementZone/dashboard/defaultINTTEST.json b/onboarding/CD_managementZone/dashboard/defaultINTTEST.json deleted file mode 100644 index e08e9260..00000000 --- a/onboarding/CD_managementZone/dashboard/defaultINTTEST.json +++ /dev/null @@ -1,586 +0,0 @@ -{ - "metadata": { - "configurationVersions": [ - 3 - ], - "clusterVersion": "1.213.116.20210318-174118" - }, - "dashboardMetadata": { - "name": "{{.name}}", - "shared": false, - "owner": "Ignacio.Goldman@partner.bmwgroup.com", - "dashboardFilter": { - "managementZone": { - "id": "{{.mzId}}", - "name": "{{.mzName}}" - } - }, - "tags": [ - "{{.mzName}}" - ] - }, - "tiles": [ - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 380, - "left": 38, - "width": 760, - "height": 266 - }, - "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": 1595276148986, - "customColor": "#ef651f" - } - } - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:INT" - ] - } - } - } - }, - { - "name": "Problems", - "tileType": "OPEN_PROBLEMS", - "configured": true, - "bounds": { - "top": 114, - "left": 1596, - "width": 152, - "height": 152 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "SERVICES", - "configured": true, - "bounds": { - "top": 76, - "left": 1064, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "SERVICE", - "customName": "Services", - "defaultName": "Services", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:TEST", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "Overall Health - INT", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 38, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 684, - "left": 38, - "width": 1520, - "height": 38 - }, - "tileFilter": {}, - "markdown": "---\n" - }, - { - "name": "Service1 - TEST", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 722, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 760, - "left": 798, - "width": 760, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Response time, Throughput 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:TEST" - ] - } - } - } - }, - { - "name": "Service1 - INT", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 722, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 760, - "left": 38, - "width": 760, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Response time, Throughput 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:INT" - ] - } - } - } - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 380, - "left": 798, - "width": 760, - "height": 266 - }, - "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": 1595276148986, - "customColor": "#ef651f" - } - } - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:TEST" - ] - } - } - } - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 304, - "left": 38, - "width": 1520, - "height": 38 - }, - "tileFilter": {}, - "markdown": "---\n" - }, - { - "name": "Failure rate - TEST (HTTP 4xx/5xx errors)", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 342, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Failure rate - INT (HTTP 4xx/5xx errors)", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 342, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "DATABASES_OVERVIEW", - "configured": true, - "bounds": { - "top": 76, - "left": 570, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "DATABASE", - "customName": "Databases", - "defaultName": "Databases", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "DATABASE": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:INT" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "Overall Health - TEST", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 38, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "DATABASES_OVERVIEW", - "configured": true, - "bounds": { - "top": 76, - "left": 1330, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "DATABASE", - "customName": "Databases", - "defaultName": "Databases", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "DATABASE": { - "AUTO_TAGS": [ - "Environment:TEST", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "SERVICES", - "configured": true, - "bounds": { - "top": 76, - "left": 304, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "SERVICE", - "customName": "Services", - "defaultName": "Services", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:INT" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "HOSTS", - "configured": true, - "bounds": { - "top": 76, - "left": 798, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "HOST", - "customName": "Hosts", - "defaultName": "Hosts", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "HOST": { - "AUTO_TAGS": [ - "Environment:TEST", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "HOSTS", - "configured": true, - "bounds": { - "top": 76, - "left": 38, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "HOST", - "customName": "Hosts", - "defaultName": "Hosts", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "HOST": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:INT" - ] - } - } - }, - "chartVisible": true - } - ] -} \ No newline at end of file diff --git a/onboarding/CD_managementZone/dashboard/defaultPRODE2E.json b/onboarding/CD_managementZone/dashboard/defaultPRODE2E.json deleted file mode 100644 index 3bc85568..00000000 --- a/onboarding/CD_managementZone/dashboard/defaultPRODE2E.json +++ /dev/null @@ -1,586 +0,0 @@ -{ - "metadata": { - "configurationVersions": [ - 3 - ], - "clusterVersion": "1.213.116.20210318-174118" - }, - "dashboardMetadata": { - "name": "{{.name}}", - "shared": false, - "owner": "Ignacio.Goldman@partner.bmwgroup.com", - "dashboardFilter": { - "managementZone": { - "id": "{{.mzId}}", - "name": "{{.mzName}}" - } - }, - "tags": [ - "{{.mzName}}" - ] - }, - "tiles": [ - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 380, - "left": 38, - "width": 760, - "height": 266 - }, - "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": 1595276148986, - "customColor": "#ef651f" - } - } - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:PROD" - ] - } - } - } - }, - { - "name": "Problems", - "tileType": "OPEN_PROBLEMS", - "configured": true, - "bounds": { - "top": 114, - "left": 1596, - "width": 152, - "height": 152 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "SERVICES", - "configured": true, - "bounds": { - "top": 76, - "left": 1064, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "SERVICE", - "customName": "Services", - "defaultName": "Services", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:E2E", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "Overall Health - PROD", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 38, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 684, - "left": 38, - "width": 1520, - "height": 38 - }, - "tileFilter": {}, - "markdown": "---\n" - }, - { - "name": "Service1 - E2E", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 722, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 760, - "left": 798, - "width": 760, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Response time, Throughput 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" - ] - } - } - } - }, - { - "name": "Service1 - PROD", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 722, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 760, - "left": 38, - "width": 760, - "height": 304 - }, - "tileFilter": {}, - "filterConfig": { - "type": "MIXED", - "customName": "Response time, Throughput 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:PROD" - ] - } - } - } - }, - { - "name": "Custom chart", - "tileType": "CUSTOM_CHARTING", - "configured": true, - "bounds": { - "top": 380, - "left": 798, - "width": 760, - "height": 266 - }, - "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": 1595276148986, - "customColor": "#ef651f" - } - } - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Environment:E2E" - ] - } - } - } - }, - { - "name": "Markdown", - "tileType": "MARKDOWN", - "configured": true, - "bounds": { - "top": 304, - "left": 38, - "width": 1520, - "height": 38 - }, - "tileFilter": {}, - "markdown": "---\n" - }, - { - "name": "Failure rate - E2E (HTTP 4xx/5xx errors)", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 342, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "Failure rate - PROD (HTTP 4xx/5xx errors)", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 342, - "left": 38, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "DATABASES_OVERVIEW", - "configured": true, - "bounds": { - "top": 76, - "left": 570, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "DATABASE", - "customName": "Databases", - "defaultName": "Databases", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "DATABASE": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:PROD" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "Overall Health - E2E", - "tileType": "HEADER", - "configured": true, - "bounds": { - "top": 38, - "left": 798, - "width": 760, - "height": 38 - }, - "tileFilter": {} - }, - { - "name": "", - "tileType": "DATABASES_OVERVIEW", - "configured": true, - "bounds": { - "top": 76, - "left": 1330, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "DATABASE", - "customName": "Databases", - "defaultName": "Databases", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "DATABASE": { - "AUTO_TAGS": [ - "Environment:E2E", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "SERVICES", - "configured": true, - "bounds": { - "top": 76, - "left": 304, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "SERVICE", - "customName": "Services", - "defaultName": "Services", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "SERVICE": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:PROD" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "HOSTS", - "configured": true, - "bounds": { - "top": 76, - "left": 798, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "HOST", - "customName": "Hosts", - "defaultName": "Hosts", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "HOST": { - "AUTO_TAGS": [ - "Environment:E2E", - "Component:{{.tag}}" - ] - } - } - }, - "chartVisible": true - }, - { - "name": "", - "tileType": "HOSTS", - "configured": true, - "bounds": { - "top": 76, - "left": 38, - "width": 228, - "height": 190 - }, - "tileFilter": {}, - "filterConfig": { - "type": "HOST", - "customName": "Hosts", - "defaultName": "Hosts", - "chartConfig": { - "legendShown": true, - "type": "TIMESERIES", - "series": [], - "resultMetadata": {} - }, - "filtersPerEntityType": { - "HOST": { - "AUTO_TAGS": [ - "Component:{{.tag}}", - "Environment:PROD" - ] - } - } - }, - "chartVisible": true - } - ] -} \ No newline at end of file diff --git a/onboarding/CD_managementZone/notification/notification.yaml b/onboarding/CD_managementZone/notification/notification.yaml index 3e6b24a3..2d6336ae 100644 --- a/onboarding/CD_managementZone/notification/notification.yaml +++ b/onboarding/CD_managementZone/notification/notification.yaml @@ -1,6 +1,5 @@ config: - CDnewComponentTag-PROD: msTeams.json -- CDnewComponentTag-E2E: msTeams.json - CDnewComponentTag-INT: msTeams.json #Prod notification system for EMEA/NA/CN @@ -27,30 +26,6 @@ CDnewComponentTag-PROD.CN-Prod: - webhook: https://empty - skipDeployment: "false" -#E2E notification system for EMEA/NA/CN -#Dry-run needed for all hubs -CDnewComponentTag-E2E: -- name: CD_managementZone E2E -- alertingProfile: CD_managementZone/alerting-profile/CDnewComponentTag-E2E.id -- webhook: https://empty -- skipDeployment: "true" -#Configuration -CDnewComponentTag-E2E.EMEA-Prod: -- name: CD_managementZone E2E -- alertingProfile: CD_managementZone/alerting-profile/CDnewComponentTag-E2E.id -- webhook: https://empty -- skipDeployment: "false" -CDnewComponentTag-E2E.NA-Prod: -- name: CD_managementZone E2E -- alertingProfile: CD_managementZone/alerting-profile/CDnewComponentTag-E2E.id -- webhook: https://empty -- skipDeployment: "false" -CDnewComponentTag-E2E.CN-Prod: -- name: CD_managementZone E2E -- alertingProfile: CD_managementZone/alerting-profile/CDnewComponentTag-E2E.id -- webhook: https://empty -- skipDeployment: "false" - #INT notification system for EMEA/NA/CN #Dry-run needed for all hubs CDnewComponentTag-INT: diff --git a/onboarding/CD_managementZone/synthetic-monitor/README.md b/onboarding/CD_managementZone/synthetic-monitor/README.md index 58273541..92e734fa 100644 --- a/onboarding/CD_managementZone/synthetic-monitor/README.md +++ b/onboarding/CD_managementZone/synthetic-monitor/README.md @@ -2,8 +2,33 @@ To calculate the Availability KPI, a synthetic must be configured. -1. Modify the synthetic-monitor.yaml file, providing the endpoint that will be tested, and location where the synthetic will run. -2. Change the skipDeployment to false. +1. Modify the synthetic-monitor.yaml file, providing: + - **Endpoint**: url intended to check the availability. + - **Location**: + - *synthetic private location*: If the endpoint is reachable within the BMW network. + ``` + - location: BMW-Dynatrace-config/00_Global-Config/synthetic-location/BMW-AWS-Frankfurt.id + ``` + - *synthetic public location*: If the endpoint is reachable from the internet. + ``` + - location: GEOLOCATION-45AB48D9D6925ECC + ``` +2. Change `skipDeployment` to false. + +i.e. +``` +config: +- my-synthetic: default.json + +my-synthetic: +- name: CD_BMW - bmw.com +- mzName: CD_google/management-zone/CDgoogle.name +- mzId: CD_google/management-zone/CDgoogle.id +- endpoint: https://google.com +- location: GEOLOCATION-45AB48D9D6925ECC +- skipDeployment: "false" +``` + 3. Commit and pull request to merge the branch to the master: ``` git add diff --git a/onboarding/CD_managementZone/synthetic-monitor/default.json b/onboarding/CD_managementZone/synthetic-monitor/default.json index 7e91d5ba..cf83039b 100644 --- a/onboarding/CD_managementZone/synthetic-monitor/default.json +++ b/onboarding/CD_managementZone/synthetic-monitor/default.json @@ -19,17 +19,15 @@ } }, "automaticallyAssignedApps": [], - "createdFrom": "GUI", "enabled": true, - "entityId": "HTTP_CHECK-3A93AE1CD9A029F7", "frequencyMin": 1, "locations": [ - "SYNTHETIC_LOCATION-6A36EDD481FAEB5D" + "{{.location}}" ], "managementZones": [ { - "id": "-2133422980246552080", - "name": "CD_SMS-Gateway" + "id": "{{.mzId}}", + "name": "{{.mzName}}" } ], "manuallyAssignedApps": [], @@ -37,7 +35,7 @@ "requests": [ { "entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A", - "name": "SMS GW EMEA PROD", + "name": "{{.name}}", "sequenceNumber": 1 } ], @@ -62,16 +60,15 @@ } ] }, - "description": "SMS GW EMEA PROD", - "method": "POST", - "requestBody": "{\n \"sender\": \"CDE2EMonitoring\",\n \"msg\": \n [ \n {\"to\": \n [ \n {\n \"number\": 49151601XXXX\n \n }\n ],\n \"contentType\":\"text\",\n \"content\": \"Test SMS GW MONITORING\" \n \n }\n ]\n \n}", - "url": "https://smsgw-emea-prod.bmwgroup.net/sms/v1/message", + "description": "{{.name}}", + "method": "GET", + "url": "{{.endpoint}}", "validation": { "rules": [ { "passIfFound": true, "type": "httpStatusesList", - "value": "400" + "value": "200" } ], "rulesChaining": "or" diff --git a/onboarding/CD_managementZone/synthetic-monitor/synthetic-monitor.yaml b/onboarding/CD_managementZone/synthetic-monitor/synthetic-monitor.yaml index ab749d1a..0ffabf57 100644 --- a/onboarding/CD_managementZone/synthetic-monitor/synthetic-monitor.yaml +++ b/onboarding/CD_managementZone/synthetic-monitor/synthetic-monitor.yaml @@ -2,9 +2,9 @@ config: - newComponentTag: default.json newComponentTag: -- name: CD_managementZone - +- name: CD_managementZone - - mzName: CD_managementZone/management-zone/CDnewComponentTag.name - mzId: CD_managementZone/management-zone/CDnewComponentTag.id -- endpoint: +- endpoint: - location: - skipDeployment: "true" \ No newline at end of file