Pull request #290: [Intangibles] add eMobility-Hub dashboard/alerts
Merge in OPAPM/cd_e2e_monitoring_config from intangibles-emobility-hub-space to master * commit '54b69c9f7937ffd8ef68b08767aebfeacbd0a91e': OPMAAS-2500 - Fixed reference for alerting profile. OPMAAS-2500 - Adding to ticket number 2500. OPMAAS-2500 - Linked to ticket. OPMAAS-2500 - fix webhooks fix webhooks add eMobility-Hub dashboard/alertsOPMAAS-2539
commit
ed8424deda
|
|
@ -0,0 +1,18 @@
|
||||||
|
config:
|
||||||
|
- CD_emobility-hub-composite-service: default.json
|
||||||
|
|
||||||
|
#Prod alerting profiles for EMEA
|
||||||
|
CD_emobility-hub-composite-service.EMEA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#INT alerting profiles for EMEA
|
||||||
|
CD_emobility-hub-composite-service.EMEA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
@ -0,0 +1,103 @@
|
||||||
|
{
|
||||||
|
"displayName": "{{.name}}",
|
||||||
|
"eventTypeFilters": [],
|
||||||
|
"managementZoneId": "{{.mzId}}",
|
||||||
|
"mzId": "{{.mzId}}",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"delayInMinutes": 0,
|
||||||
|
"severityLevel": "AVAILABILITY",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 10,
|
||||||
|
"severityLevel": "ERROR",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 30,
|
||||||
|
"severityLevel": "PERFORMANCE",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 30,
|
||||||
|
"severityLevel": "RESOURCE_CONTENTION",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 10,
|
||||||
|
"severityLevel": "CUSTOM_ALERT",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure dashboards?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Dashboards) page to configure your dashboards.
|
||||||
|
|
@ -0,0 +1,125 @@
|
||||||
|
config:
|
||||||
|
- CD_CSF-PROD: default.json
|
||||||
|
- CD_CSF-E2E: default.json
|
||||||
|
- CD_CSF-INT: default.json
|
||||||
|
- CD_CSF-TEST: default.json
|
||||||
|
|
||||||
|
#PROD dashboards for EMEA/NA/CN Prod
|
||||||
|
CD_CSF-PROD:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-PROD.EMEA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-PROD.NA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-PROD.CN-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#E2E dashboards for EMEA/NA/CN Prod
|
||||||
|
CD_CSF-E2E:
|
||||||
|
- name: CD_emobility-hub-composite-service E2E
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-E2E.EMEA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service E2E
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-E2E.NA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service E2E
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-E2E.CN-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service E2E
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#INT dashboards for EMEA/NA/CN PreProd
|
||||||
|
CD_CSF-INT:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-INT.EMEA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-INT.NA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-INT.CN-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#TEST dashboards for EMEA/NA/CN PreProd
|
||||||
|
CD_CSF-TEST:
|
||||||
|
- name: CD_emobility-hub-composite-service TEST
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-TEST.EMEA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service TEST
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-TEST.NA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service TEST
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "false"
|
||||||
|
CD_CSF-TEST.CN-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service TEST
|
||||||
|
- mzName: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.name
|
||||||
|
- mzId: CD_emobility-hub-composite-service/management-zone/CD_emobility-hub-composite-service.id
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure management zones?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones.
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
{
|
||||||
|
"dimensionalRules": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
||||||
|
"SERVICE_TO_HOST_LIKE"
|
||||||
|
],
|
||||||
|
"type": "SERVICE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "PROCESS_GROUP_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"PROCESS_GROUP_TO_HOST"
|
||||||
|
],
|
||||||
|
"type": "PROCESS_GROUP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "HOST_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"type": "HOST"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION_NAMESPACE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
config:
|
||||||
|
- CD_emobility-hub-composite-service: default.json
|
||||||
|
|
||||||
|
CD_emobility-hub-composite-service:
|
||||||
|
- name: CD_emobility-hub-composite-service
|
||||||
|
- tag: emobility-hub-composite-service
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure notification systems?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Problem+Notification+Integrations) page to configure your notification systems.
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"alertingProfile": "{{.alertingProfile}}",
|
||||||
|
"bccReceivers": [],
|
||||||
|
"body": "{ProblemDetailsHTML}",
|
||||||
|
"ccReceivers": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"receivers": [
|
||||||
|
"{{.receivers}}"
|
||||||
|
],
|
||||||
|
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
|
||||||
|
"type": "EMAIL"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"acceptAnyCertificate": false,
|
||||||
|
"active": true,
|
||||||
|
"alertingProfile": "{{.alertingProfile}}",
|
||||||
|
"headers": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"notifyEventMergesEnabled": false,
|
||||||
|
"payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}",
|
||||||
|
"type": "WEBHOOK",
|
||||||
|
"url": "{{.webhook}}"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
config:
|
||||||
|
- CD_emobility-hub-composite-service: msTeams.json
|
||||||
|
- CD_emobility-hub-composite-service_email: email.json
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN Prod msTeams
|
||||||
|
CD_emobility-hub-composite-service.EMEA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service PROD
|
||||||
|
- alertingProfile: CD_emobility-hub-composite-service/alerting-profile/CD_emobility-hub-composite-service.id
|
||||||
|
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/3d1d2c96e86b403989794017c57ae4b0/e2c61882-45fd-43f0-abe7-c16eb6196aaa
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN PreProd msTeams
|
||||||
|
CD_emobility-hub-composite-service.EMEA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service INT
|
||||||
|
- alertingProfile: CD_emobility-hub-composite-service/alerting-profile/CD_emobility-hub-composite-service.id
|
||||||
|
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/3d1d2c96e86b403989794017c57ae4b0/e2c61882-45fd-43f0-abe7-c16eb6196aaa
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN Prod Email
|
||||||
|
CD_emobility-hub-composite-service_email.EMEA-Prod:
|
||||||
|
- name: CD_emobility-hub-composite-service_email PROD
|
||||||
|
- alertingProfile: CD_emobility-hub-composite-service/alerting-profile/CD_emobility-hub-composite-service.id
|
||||||
|
- receivers: intangibles@list.bmw.com
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN PreProd Email
|
||||||
|
CD_emobility-hub-composite-service_email.EMEA-PreProd:
|
||||||
|
- name: CD_emobility-hub-composite-service_email INT
|
||||||
|
- alertingProfile: CD_emobility-hub-composite-service/alerting-profile/CD_emobility-hub-composite-service.id
|
||||||
|
- receivers: intangibles@list.bmw.com
|
||||||
Loading…
Reference in New Issue