added templates for GCDM, Infotainment SMACC-BE, Service-Bus, Service-Gateway, Mobile, LSC-FSU, Navigation-Information-Services

custom-service-JONYR
qxz15oi 2021-04-28 11:05:04 +02:00
parent 6902633812
commit 64542d3269
230 changed files with 9288 additions and 18 deletions

View File

@ -3,4 +3,4 @@ config:
CDBilling_Buffet: CDBilling_Buffet:
- name: CD_Billing_Buffet - name: CD_Billing_Buffet
- tag: Billing_Buffet - tag: Buffet

View File

@ -0,0 +1,63 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": 5530586743181604000,
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [],
"currentConfigurationVersions": [
"0"
]
},
"mzId": "5530586743181603811",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 0,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 0,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 0,
"severityLevel": "MONITORING_UNAVAILABLE",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
}
]
}

View File

@ -0,0 +1,5 @@
config:
- CDGCDM: CDGCDM.json
CDGCDM:
- name: CD_GCDM

View File

@ -0,0 +1,4 @@
### How to configure custom metrics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics.

View File

@ -0,0 +1,4 @@
### How to configure process groups?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups.

View File

@ -0,0 +1,8 @@
config:
- CDGCDM: template.json
CDGCDM:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: GCDM
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"type": "PROCESS_GROUP"
}

View File

@ -0,0 +1,4 @@
### How to configure service naming
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming.

View File

@ -0,0 +1,8 @@
config:
- CDGCDM: template.json
CDGCDM:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: GCDM
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"type": "SERVICE"
}

View File

@ -0,0 +1,4 @@
### How to configure custom services?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services.

View File

@ -0,0 +1,9 @@
config:
- customService1: template-1-1.json
customService1:
- name: myJOYNRService
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
- methodName: exampleJoynrMethod
- returnType: void
- skipDeployment: "true"

View File

@ -0,0 +1,23 @@
{
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
}
]
}

View File

@ -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.

View File

@ -0,0 +1,127 @@
config:
- CDGCDM-PROD: default.json
- CDGCDM-E2E: default.json
- CDGCDM-INT: default.json
- CDGCDM-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
#Dry-run needed for all hubs
CDGCDM-PROD:
- name: CD_GCDM PROD
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDGCDM-PROD.EMEA-Prod:
- name: CD_GCDM PROD
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- tag: GCDM
- env: PROD
- skipDeployment: "false"
CDGCDM-PROD.NA-Prod:
- name: CD_GCDM PROD
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- tag: GCDM
- env: PROD
- skipDeployment: "false"
CDGCDM-PROD.CN-Prod:
- name: CD_GCDM PROD
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- tag: GCDM
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN E2E
#Dry-run needed for all hubs
CDGCDM-E2E:
- name: CD_GCDM E2E
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: E2E
- skipDeployment: "true"
#Configuration
CDGCDM-E2E.EMEA-Prod:
- name: CD_GCDM E2E
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: E2E
- tag: GCDM
- skipDeployment: "true"
CDGCDM-E2E.NA-Prod:
- name: CD_GCDM E2E
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: E2E
- tag: GCDM
- skipDeployment: "true"
CDGCDM-E2E.CN-Prod:
- name: CD_GCDM E2E
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: E2E
- tag: GCDM
- skipDeployment: "true"
#INT dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDGCDM-INT:
- name: CD_GCDM INT
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: INT
- tag: GCDM
- skipDeployment: "true"
#Configuration
CDGCDM-INT.EMEA-PreProd:
- name: CD_GCDM INT
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: INT
- tag: GCDM
- skipDeployment: "false"
CDGCDM-INT.NA-PreProd:
- name: CD_GCDM INT
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: INT
- skipDeployment: "false"
CDGCDM-INT.CN-PreProd:
- name: CD_GCDM INT
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDGCDM-TEST:
- name: CD_GCDM TEST
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- tag: GCDM
- env: TEST
- skipDeployment: "true"
#Configuration
CDGCDM-TEST.EMEA-PreProd:
- name: CD_GCDM TEST
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- tag: GCDM
- env: TEST
- skipDeployment: "false"
CDGCDM-TEST.NA-PreProd:
- name: CD_GCDM TEST
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: TEST
- skipDeployment: "false"
CDGCDM-TEST.CN-PreProd:
- name: CD_GCDM TEST
- mzName: CD_GCDM/management-zone/CDGCDM.name
- mzId: CD_GCDM/management-zone/CDGCDM.id
- env: TEST
- skipDeployment: "false"

View File

@ -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
}
]
}

View File

@ -1,7 +1,9 @@
{ {
"description": null,
"dimensionalRules": [], "dimensionalRules": [],
"entitySelectorBasedRules": [],
"metadata": { "metadata": {
"clusterVersion": "1.209.98.20210122-102634", "clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [ "configurationVersions": [
0 0
] ]
@ -16,16 +18,16 @@
"negate": false, "negate": false,
"operator": "BEGINS_WITH", "operator": "BEGINS_WITH",
"type": "STRING", "type": "STRING",
"value": "empty" "value": "GCDM"
}, },
"key": { "key": {
"attribute": "SERVICE_AKKA_ACTOR_SYSTEM" "attribute": "HTTP_MONITOR_NAME"
} }
} }
], ],
"enabled": true, "enabled": true,
"propagationTypes": [], "propagationTypes": [],
"type": "SERVICE" "type": "HTTP_MONITOR"
} }
] ]
} }

View File

@ -0,0 +1,5 @@
config:
- CDGCDM: CDGCDM.json
CDGCDM:
- name: CD_GCDM

View File

@ -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.

View File

@ -0,0 +1,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,11 @@
config:
- CDGCDM: msTeams.json
#Prod notification system for EMEA/NA/CN
#Dry-run needed for all hubs
CDGCDM:
- name: CD_GCDM PROD
- alertingProfile: CD_GCDM/alerting-profile/CDGCDM-PROD.id
- webhook: https://empty
- skipDeployment: "true"

View File

@ -0,0 +1,99 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": -2636562501139802600,
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [],
"currentConfigurationVersions": [
"0"
]
},
"mzId": "-2636562501139802422",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
},
{
"delayInMinutes": 0,
"severityLevel": "MONITORING_UNAVAILABLE",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
]
}
}
]
}

View File

@ -0,0 +1,5 @@
config:
- CDInfotainment: CDInfotainment.json
CDInfotainment:
- name: CD_Infotainment

View File

@ -0,0 +1,4 @@
### How to configure custom metrics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics.

View File

@ -0,0 +1,4 @@
### How to configure process groups?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups.

View File

@ -0,0 +1,8 @@
config:
- CDInfotainment: template.json
CDInfotainment:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: Infotainment
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"type": "PROCESS_GROUP"
}

View File

@ -0,0 +1,4 @@
### How to configure service naming
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming.

View File

@ -0,0 +1,8 @@
config:
- CDInfotainment: template.json
CDInfotainment:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: Infotainment
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"type": "SERVICE"
}

View File

@ -0,0 +1,4 @@
### How to configure custom services?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services.

View File

@ -0,0 +1,9 @@
config:
- customService1: template-1-1.json
customService1:
- name: myJOYNRService
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
- methodName: exampleJoynrMethod
- returnType: void
- skipDeployment: "true"

View File

@ -0,0 +1,23 @@
{
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
}
]
}

View File

@ -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.

View File

@ -0,0 +1,127 @@
config:
- CDInfotainment-PROD: default.json
- CDInfotainment-E2E: default.json
- CDInfotainment-INT: default.json
- CDInfotainment-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
#Dry-run needed for all hubs
CDInfotainment-PROD:
- name: CD_Infotainment-In-Car-Experience-Services PROD
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDInfotainment-PROD.EMEA-Prod:
- name: CD_Infotainment-In-Car-Experience-Services PROD
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- tag: Infotainment
- env: PROD
- skipDeployment: "false"
CDInfotainment-PROD.NA-Prod:
- name: CD_Infotainment-In-Car-Experience-Services PROD
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- tag: Infotainment
- env: PROD
- skipDeployment: "false"
CDInfotainment-PROD.CN-Prod:
- name: CD_Infotainment-In-Car-Experience-Services PROD
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- tag: Infotainment
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN E2E
#Dry-run needed for all hubs
CDInfotainment-E2E:
- name: CD_Infotainment-In-Car-Experience-Services E2E
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: E2E
- skipDeployment: "true"
#Configuration
CDInfotainment-E2E.EMEA-Prod:
- name: CD_Infotainment-In-Car-Experience-Services E2E
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: E2E
- tag: Infotainment
- skipDeployment: "true"
CDInfotainment-E2E.NA-Prod:
- name: CD_Infotainment-In-Car-Experience-Services E2E
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: E2E
- tag: Infotainment
- skipDeployment: "true"
CDInfotainment-E2E.CN-Prod:
- name: CD_Infotainment-In-Car-Experience-Services E2E
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: E2E
- tag: Infotainment
- skipDeployment: "true"
#INT dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDInfotainment-INT:
- name: CD_Infotainment-In-Car-Experience-Services INT
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: INT
- tag: Infotainment
- skipDeployment: "true"
#Configuration
CDInfotainment-INT.EMEA-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services INT
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: INT
- tag: Infotainment
- skipDeployment: "false"
CDInfotainment-INT.NA-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services INT
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: INT
- skipDeployment: "false"
CDInfotainment-INT.CN-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services INT
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDInfotainment-TEST:
- name: CD_Infotainment-In-Car-Experience-Services TEST
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- tag: Infotainment
- env: TEST
- skipDeployment: "true"
#Configuration
CDInfotainment-TEST.EMEA-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services TEST
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- tag: Infotainment
- env: TEST
- skipDeployment: "false"
CDInfotainment-TEST.NA-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services TEST
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: TEST
- skipDeployment: "false"
CDInfotainment-TEST.CN-PreProd:
- name: CD_Infotainment-In-Car-Experience-Services TEST
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- env: TEST
- skipDeployment: "false"

View File

@ -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
}
]
}

View File

@ -0,0 +1,144 @@
{
"description": null,
"dimensionalRules": [],
"entitySelectorBasedRules": [],
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [
0
]
},
"name": "{{.name}}",
"rules": [
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "Infotainment"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "HealthResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "PingResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "PrometheusResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "background"
},
"key": {
"attribute": "SERVICE_NAME"
}
}
],
"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": "Infotainment"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"enabled": true,
"propagationTypes": [
"PROCESS_GROUP_TO_HOST"
],
"type": "PROCESS_GROUP"
},
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "TAG_KEY_EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "External"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"comparisonInfo": {
"caseSensitive": false,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "asbc"
},
"key": {
"attribute": "SERVICE_NAME"
}
}
],
"enabled": true,
"propagationTypes": [],
"type": "SERVICE"
}
]
}

View File

@ -0,0 +1,5 @@
config:
- CDInfotainment: CDInfotainment-In-Car-Experience-Services.json
CDInfotainment:
- name: CD_Infotainment-In-Car-Experience-Services

View File

@ -0,0 +1,20 @@
{
"acceptAnyCertificate": true,
"active": false,
"alertingProfile": "6158fb78-f0a6-4d87-b39a-5889f9d0b36e",
"headers": [
{
"name": "x-apikey",
"value": "QkdrmGSgDAwU9iVF6cYEtVXPvUqciNai"
},
{
"name": "Authorization",
"value": null
}
],
"name": "{{.name}}",
"notifyEventMergesEnabled": false,
"payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: Name\",\n \"severity\": \"MINOR\", \n \"origin\": \"APPD-134221\",\n \"sub_origin\": \"Dynatrace SaaS {ImpactedEntity}\",\n \"adapter_host\": \"xxu26128.live.dynatrace.com\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"10APP10294512\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"Dynatrace\",\n \"sub_source\": \"Dynatrace\", \n \"server_loc\": \"Munich\",\n \"event_id\": \"AI001\", \n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\",\n \"dd3\": \"{Tags}\"\n }\n}\n]",
"type": "WEBHOOK",
"url": "https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1"
}

View File

@ -0,0 +1,11 @@
{
"acceptAnyCertificate": false,
"active": true,
"alertingProfile": "6158fb78-f0a6-4d87-b39a-5889f9d0b36e",
"headers": [],
"name": "{{.name}}",
"notifyEventMergesEnabled": false,
"payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}",
"type": "WEBHOOK",
"url": "https://outlook.office.com/webhook/effa4886-dfc0-4e3e-906b-5d0e740376e8@ce849bab-cc1c-465b-b62e-18f07c9ac198/IncomingWebhook/5bbe9d268d8a48a294d265e05ecfd572/38544660-a8c9-4550-a68e-70d455f650a9"
}

View File

@ -0,0 +1,17 @@
config:
- CDInfotainment-MSTeams: CDInfotainment-MSTeams.json
- CDInfotainment-ITSM-10APP10294512MINOR: CDInfotainment-ITSM-10APP10294512MINOR.json
CDInfotainment-ITSM-10APP10294512MINOR:
- name: CD_Infotainment - ITSM - 10APP10294512_MINOR
- skipDeployment: "true"
CDInfotainment-ITSM-10APP10294512MINOR.EMEA-Prod:
- name: CD_Infotainment - ITSM - 10APP10294512_MINOR
- skipDeployment: "false"
CDInfotainment-MSTeams:
- name: CD_Infotainment - MS Teams
- skipDeployment: "true"
CDInfotainment-MSTeams.EMEA-Prod:
- name: CD_Infotainment - MS Teams
- skipDeployment: "false"

View File

@ -0,0 +1,4 @@
### How to configure synthetics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics.

View File

@ -0,0 +1,82 @@
{
"anomalyDetection": {
"loadingTimeThresholds": {
"enabled": false,
"thresholds": [
{
"type": "TOTAL",
"valueMs": 0
}
]
},
"outageHandling": {
"globalOutage": true,
"localOutage": false,
"localOutagePolicy": {
"affectedLocations": 1,
"consecutiveRuns": 3
}
}
},
"automaticallyAssignedApps": [],
"enabled": true,
"frequencyMin": 1,
"locations": [
"{{.location}}"
],
"managementZones": [
{
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
],
"manuallyAssignedApps": [],
"name": "{{.name}}",
"requests": [
{
"entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A",
"name": "{{.name}}",
"sequenceNumber": 1
}
],
"script": {
"requests": [
{
"configuration": {
"acceptAnyCertificate": true,
"followRedirects": true,
"requestHeaders": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "api_key",
"value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23"
}
]
},
"description": "{{.name}}",
"method": "GET",
"url": "{{.endpoint}}",
"validation": {
"rules": [
{
"passIfFound": true,
"type": "httpStatusesList",
"value": "200"
}
],
"rulesChaining": "or"
}
}
],
"version": "1.0"
},
"tags": [],
"type": "HTTP"
}

View File

@ -0,0 +1,10 @@
config:
- Infotainment: default.json
Infotainment:
- name: CD_Infotainment-In-Car-Experience-Services - <synthetic-name>
- mzName: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.name
- mzId: CD_Infotainment-In-Car-Experience-Services/management-zone/CDInfotainment.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,99 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": -9051200530083094000,
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [],
"currentConfigurationVersions": [
"0"
]
},
"mzId": "-9051200530083093822",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
},
{
"delayInMinutes": 0,
"severityLevel": "MONITORING_UNAVAILABLE",
"tagFilter": {
"includeMode": "INCLUDE_ANY",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
]
}
}
]
}

View File

@ -0,0 +1,5 @@
config:
- CDLSC-FSU: CDLSC-FSU.json
CDLSC-FSU:
- name: CD_LSC-FSU

View File

@ -0,0 +1,4 @@
### How to configure custom metrics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics.

View File

@ -0,0 +1,4 @@
### How to configure process groups?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups.

View File

@ -0,0 +1,8 @@
config:
- CDLSC-FSU: template.json
CDLSC-FSU:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: LSC-FSU
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"type": "PROCESS_GROUP"
}

View File

@ -0,0 +1,4 @@
### How to configure service naming
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming.

View File

@ -0,0 +1,8 @@
config:
- CDLSC-FSU: template.json
CDLSC-FSU:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: LSC-FSU
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"type": "SERVICE"
}

View File

@ -0,0 +1,4 @@
### How to configure custom services?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services.

View File

@ -0,0 +1,9 @@
config:
- customService1: template-1-1.json
customService1:
- name: myJOYNRService
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
- methodName: exampleJoynrMethod
- returnType: void
- skipDeployment: "true"

View File

@ -0,0 +1,23 @@
{
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
}
]
}

View File

@ -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.

View File

@ -0,0 +1,127 @@
config:
- CDLSC-FSU-PROD: default.json
- CDLSC-FSU-E2E: default.json
- CDLSC-FSU-INT: default.json
- CDLSC-FSU-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
#Dry-run needed for all hubs
CDLSC-FSU-PROD:
- name: CD_LSC-FSU PROD
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDLSC-FSU-PROD.EMEA-Prod:
- name: CD_LSC-FSU PROD
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- tag: LSC-FSU
- env: PROD
- skipDeployment: "false"
CDLSC-FSU-PROD.NA-Prod:
- name: CD_LSC-FSU PROD
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- tag: LSC-FSU
- env: PROD
- skipDeployment: "false"
CDLSC-FSU-PROD.CN-Prod:
- name: CD_LSC-FSU PROD
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- tag: LSC-FSU
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN E2E
#Dry-run needed for all hubs
CDLSC-FSU-E2E:
- name: CD_LSC-FSU E2E
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: E2E
- skipDeployment: "true"
#Configuration
CDLSC-FSU-E2E.EMEA-Prod:
- name: CD_LSC-FSU E2E
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: E2E
- tag: LSC-FSU
- skipDeployment: "true"
CDLSC-FSU-E2E.NA-Prod:
- name: CD_LSC-FSU E2E
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: E2E
- tag: LSC-FSU
- skipDeployment: "true"
CDLSC-FSU-E2E.CN-Prod:
- name: CD_LSC-FSU E2E
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: E2E
- tag: LSC-FSU
- skipDeployment: "true"
#INT dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDLSC-FSU-INT:
- name: CD_LSC-FSU INT
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: INT
- tag: LSC-FSU
- skipDeployment: "true"
#Configuration
CDLSC-FSU-INT.EMEA-PreProd:
- name: CD_LSC-FSU INT
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: INT
- tag: LSC-FSU
- skipDeployment: "false"
CDLSC-FSU-INT.NA-PreProd:
- name: CD_LSC-FSU INT
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: INT
- skipDeployment: "false"
CDLSC-FSU-INT.CN-PreProd:
- name: CD_LSC-FSU INT
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDLSC-FSU-TEST:
- name: CD_LSC-FSU TEST
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- tag: LSC-FSU
- env: TEST
- skipDeployment: "true"
#Configuration
CDLSC-FSU-TEST.EMEA-PreProd:
- name: CD_LSC-FSU TEST
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- tag: LSC-FSU
- env: TEST
- skipDeployment: "false"
CDLSC-FSU-TEST.NA-PreProd:
- name: CD_LSC-FSU TEST
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: TEST
- skipDeployment: "false"
CDLSC-FSU-TEST.CN-PreProd:
- name: CD_LSC-FSU TEST
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- env: TEST
- skipDeployment: "false"

View File

@ -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
}
]
}

View File

@ -0,0 +1,99 @@
{
"description": null,
"dimensionalRules": [],
"entitySelectorBasedRules": [],
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [
0
]
},
"name": "{{.name}}",
"rules": [
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "HealthResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "PingResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
},
{
"comparisonInfo": {
"caseSensitive": true,
"negate": true,
"operator": "CONTAINS",
"type": "STRING",
"value": "PrometheusResource"
},
"key": {
"attribute": "SERVICE_NAME"
}
}
],
"enabled": true,
"propagationTypes": [
"SERVICE_TO_HOST_LIKE",
"SERVICE_TO_PROCESS_GROUP_LIKE"
],
"type": "SERVICE"
},
{
"conditions": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "LSC-FSU"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"enabled": true,
"propagationTypes": [
"PROCESS_GROUP_TO_HOST"
],
"type": "PROCESS_GROUP"
}
]
}

View File

@ -0,0 +1,5 @@
config:
- CDLSC-FSU: CDLSC-FSU.json
CDLSC-FSU:
- name: CD_LSC-FSU

View File

@ -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.

View File

@ -0,0 +1,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,10 @@
config:
- CDLSC-FSU: msTeams.json
#Prod notification system for EMEA/NA/CN
#Dry-run needed for all hubs
CDLSC-FSU:
- name: CD_LSC-FSU
- alertingProfile: CD_LSC-FSU/alerting-profile/CDLSC-FSU.id
- webhook: https://empty
- skipDeployment: "true"

View File

@ -0,0 +1,4 @@
### How to configure synthetics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics.

View File

@ -0,0 +1,82 @@
{
"anomalyDetection": {
"loadingTimeThresholds": {
"enabled": false,
"thresholds": [
{
"type": "TOTAL",
"valueMs": 0
}
]
},
"outageHandling": {
"globalOutage": true,
"localOutage": false,
"localOutagePolicy": {
"affectedLocations": 1,
"consecutiveRuns": 3
}
}
},
"automaticallyAssignedApps": [],
"enabled": true,
"frequencyMin": 1,
"locations": [
"{{.location}}"
],
"managementZones": [
{
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
],
"manuallyAssignedApps": [],
"name": "{{.name}}",
"requests": [
{
"entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A",
"name": "{{.name}}",
"sequenceNumber": 1
}
],
"script": {
"requests": [
{
"configuration": {
"acceptAnyCertificate": true,
"followRedirects": true,
"requestHeaders": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "api_key",
"value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23"
}
]
},
"description": "{{.name}}",
"method": "GET",
"url": "{{.endpoint}}",
"validation": {
"rules": [
{
"passIfFound": true,
"type": "httpStatusesList",
"value": "200"
}
],
"rulesChaining": "or"
}
}
],
"version": "1.0"
},
"tags": [],
"type": "HTTP"
}

View File

@ -0,0 +1,10 @@
config:
- LSC-FSU: default.json
LSC-FSU:
- name: CD_LSC-FSU - <synthetic-name>
- mzName: CD_LSC-FSU/management-zone/CDLSC-FSU.name
- mzId: CD_LSC-FSU/management-zone/CDLSC-FSU.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,60 @@
config:
- CDLocation-Services-PROD: default.json
- CDLocation-Services-INT: default.json
#Prod alerting profiles for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-PROD:
- name: CD_Location-Services PROD
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDLocation-Services-PROD.EMEA-Prod:
- name: CD_Location-Services PROD
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: PROD
- skipDeployment: "false"
CDLocation-Services-PROD.NA-Prod:
- name: CD_Location-Services PROD
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: PROD
- skipDeployment: "false"
CDLocation-Services-PROD.CN-Prod:
- name: CD_Location-Services PROD
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-INT:
- name: CD_Location-Services INT
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "true"
#Configuration
CDLocation-Services-INT.EMEA-PreProd:
- name: CD_Location-Services INT
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "false"
CDLocation-Services-INT.NA-PreProd:
- name: CD_Location-Services INT
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "false"
CDLocation-Services-INT.CN-PreProd:
- name: CD_Location-Services INT
- tag: Location-Services
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "false"

View File

@ -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}}"
}
]
}
}
]
}

View File

@ -0,0 +1,4 @@
### How to configure custom metrics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics.

View File

@ -0,0 +1,4 @@
### How to configure process groups?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups.

View File

@ -0,0 +1,8 @@
config:
- CDLocation-Services: template.json
CDLocation-Services:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: Location-Services
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"type": "PROCESS_GROUP"
}

View File

@ -0,0 +1,4 @@
### How to configure service naming
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Service+Naming) page to configure your service naming.

View File

@ -0,0 +1,8 @@
config:
- CDLocation-Services: template.json
CDLocation-Services:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: Location-Services
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"type": "SERVICE"
}

View File

@ -0,0 +1,4 @@
### How to configure custom services?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Custom+Services) page to configure your custom services.

View File

@ -0,0 +1,9 @@
config:
- customService1: template-1-1.json
customService1:
- name: myJOYNRService
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
- methodName: exampleJoynrMethod
- returnType: void
- skipDeployment: "true"

View File

@ -0,0 +1,23 @@
{
"enabled": true,
"name": "{{.name}}",
"processGroups": [],
"queueEntryPoint": false,
"queueEntryPointType": null,
"rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName}}",
"returnType": "{{.returnType}}"
}
]
}
]
}

View File

@ -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.

View File

@ -0,0 +1,127 @@
config:
- CDLocation-Services-PROD: default.json
- CDLocation-Services-E2E: default.json
- CDLocation-Services-INT: default.json
- CDLocation-Services-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
#Dry-run needed for all hubs
CDLocation-Services-PROD:
- name: CD_Location-Services PROD
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDLocation-Services-PROD.EMEA-Prod:
- name: CD_Location-Services PROD
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- tag: Location-Services
- env: PROD
- skipDeployment: "false"
CDLocation-Services-PROD.NA-Prod:
- name: CD_Location-Services PROD
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- tag: Location-Services
- env: PROD
- skipDeployment: "false"
CDLocation-Services-PROD.CN-Prod:
- name: CD_Location-Services PROD
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- tag: Location-Services
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN E2E
#Dry-run needed for all hubs
CDLocation-Services-E2E:
- name: CD_Location-Services E2E
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: E2E
- skipDeployment: "true"
#Configuration
CDLocation-Services-E2E.EMEA-Prod:
- name: CD_Location-Services E2E
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: E2E
- tag: Location-Services
- skipDeployment: "true"
CDLocation-Services-E2E.NA-Prod:
- name: CD_Location-Services E2E
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: E2E
- tag: Location-Services
- skipDeployment: "true"
CDLocation-Services-E2E.CN-Prod:
- name: CD_Location-Services E2E
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: E2E
- tag: Location-Services
- skipDeployment: "true"
#INT dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-INT:
- name: CD_Location-Services INT
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- tag: Location-Services
- skipDeployment: "true"
#Configuration
CDLocation-Services-INT.EMEA-PreProd:
- name: CD_Location-Services INT
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- tag: Location-Services
- skipDeployment: "false"
CDLocation-Services-INT.NA-PreProd:
- name: CD_Location-Services INT
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "false"
CDLocation-Services-INT.CN-PreProd:
- name: CD_Location-Services INT
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-TEST:
- name: CD_Location-Services TEST
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- tag: Location-Services
- env: TEST
- skipDeployment: "true"
#Configuration
CDLocation-Services-TEST.EMEA-PreProd:
- name: CD_Location-Services TEST
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- tag: Location-Services
- env: TEST
- skipDeployment: "false"
CDLocation-Services-TEST.NA-PreProd:
- name: CD_Location-Services TEST
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: TEST
- skipDeployment: "false"
CDLocation-Services-TEST.CN-PreProd:
- name: CD_Location-Services TEST
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- env: TEST
- skipDeployment: "false"

View File

@ -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
}
]
}

View File

@ -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.

View File

@ -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"
}
]
}

View File

@ -1,5 +1,6 @@
config: config:
- CDLocation-Services: CDLocation-Services.json - CDLocation-Services: default.json
CDLocation-Services: CDLocation-Services:
- name: CD_Location-Services - name: CD_Location-Services
- tag: Location-Services

View File

@ -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.

View File

@ -0,0 +1,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,51 @@
config:
- CDLocation-Services-PROD: msTeams.json
- CDLocation-Services-INT: msTeams.json
#Prod notification system for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-PROD:
- name: CD_Location-Services PROD
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-PROD.id
- webhook: https://empty
- skipDeployment: "true"
#Configuration
CDLocation-Services-PROD.EMEA-Prod:
- name: CD_Location-Services PROD
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-PROD.id
- webhook: https://empty
- skipDeployment: "false"
CDLocation-Services-PROD.NA-Prod:
- name: CD_Location-Services PROD
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-PROD.id
- webhook: https://empty
- skipDeployment: "false"
CDLocation-Services-PROD.CN-Prod:
- name: CD_Location-Services PROD
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-PROD.id
- webhook: https://empty
- skipDeployment: "false"
#INT notification system for EMEA/NA/CN
#Dry-run needed for all hubs
CDLocation-Services-INT:
- name: CD_Location-Services INT
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-INT.id
- webhook: https://empty
- skipDeployment: "true"
#Configuration
CDLocation-Services-INT.EMEA-PreProd:
- name: CD_Location-Services INT
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-INT.id
- webhook: https://empty
- skipDeployment: "false"
CDLocation-Services-INT.NA-PreProd:
- name: CD_Location-Services INT
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-INT.id
- webhook: https://empty
- skipDeployment: "false"
CDLocation-Services-INT.CN-PreProd:
- name: CD_Location-Services INT
- alertingProfile: CD_Location-Services/alerting-profile/CDLocation-Services-INT.id
- webhook: https://empty
- skipDeployment: "false"

View File

@ -0,0 +1,4 @@
### How to configure synthetics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Synthetic+Monitors) page to configure your synthetics.

View File

@ -0,0 +1,82 @@
{
"anomalyDetection": {
"loadingTimeThresholds": {
"enabled": false,
"thresholds": [
{
"type": "TOTAL",
"valueMs": 0
}
]
},
"outageHandling": {
"globalOutage": true,
"localOutage": false,
"localOutagePolicy": {
"affectedLocations": 1,
"consecutiveRuns": 3
}
}
},
"automaticallyAssignedApps": [],
"enabled": true,
"frequencyMin": 1,
"locations": [
"{{.location}}"
],
"managementZones": [
{
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
],
"manuallyAssignedApps": [],
"name": "{{.name}}",
"requests": [
{
"entityId": "HTTP_CHECK_STEP-0BA53EC80CD7EE5A",
"name": "{{.name}}",
"sequenceNumber": 1
}
],
"script": {
"requests": [
{
"configuration": {
"acceptAnyCertificate": true,
"followRedirects": true,
"requestHeaders": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "api_key",
"value": "355DE89C-7B72-4EA3-BDD8-157C79EB2C23"
}
]
},
"description": "{{.name}}",
"method": "GET",
"url": "{{.endpoint}}",
"validation": {
"rules": [
{
"passIfFound": true,
"type": "httpStatusesList",
"value": "200"
}
],
"rulesChaining": "or"
}
}
],
"version": "1.0"
},
"tags": [],
"type": "HTTP"
}

View File

@ -0,0 +1,10 @@
config:
- Location-Services: default.json
Location-Services:
- name: CD_Location-Services - <synthetic-name>
- mzName: CD_Location-Services/management-zone/CDLocation-Services.name
- mzId: CD_Location-Services/management-zone/CDLocation-Services.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,55 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": 7948932666251762000,
"metadata": {
"clusterVersion": "1.215.107.20210414-181420",
"configurationVersions": [],
"currentConfigurationVersions": [
"0"
]
},
"mzId": "7948932666251761491",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 15,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 15,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
},
{
"delayInMinutes": 15,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "NONE",
"tagFilters": []
}
}
]
}

View File

@ -0,0 +1,5 @@
config:
- Mobile2DarkOpsChannel: Mobile2DarkOpsChannel.json
Mobile2DarkOpsChannel:
- name: Mobile 2 | Dark Ops Channel

View File

@ -0,0 +1,4 @@
### How to configure custom metrics?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Calculated+Metrics) page to configure your custom metrics.

View File

@ -0,0 +1,4 @@
### How to configure process groups?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Process+Group+Naming) page to configure your process groups.

View File

@ -0,0 +1,8 @@
config:
- CDMobile_2: template.json
CDMobile_2:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: Mobile_2
- skipDeployment: "true"

View File

@ -0,0 +1,29 @@
{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
}
},
"key": {
"attribute": "PROCESS_GROUP_TAGS"
}
}
],
"type": "PROCESS_GROUP"
}

Some files were not shown because too many files have changed in this diff Show More