Compare commits

...

2 Commits

Author SHA1 Message Date
SLW\KASIKD 100167ea99 VDLM_fix 2022-08-19 11:08:47 +02:00
Leonhard Uden 8e10b9eb1d OPMAAS-2156 - Add initial configuration of application ts-transformer to Dynatrace 2022-08-12 14:41:53 +02:00
28 changed files with 1001 additions and 9 deletions

View File

@ -17,18 +17,45 @@ CDnewComponentTag-PROD.EMEA-Prod:
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: PROD
- KAI_SLO_id: 8c4a0631-7483-3a09-88d8-732e3f1a3dfd
- Kinesis_SLO_id: 16e3be32-94d7-36ee-b86c-bb41913c0d77
- MQS_SLO_id: 6edcef96-acc9-39d2-bc5e-70a3fd1d2d47
- NGTP01_SLO_id: 566f359c-4e2d-3ffe-8119-fcfd01ae679d
- NGTP02_SLO_id: 9e82f3f8-63c3-313a-99e6-5161655a409a
- SEAM_SLO_id: ad42994d-9e8d-3696-b29a-9086aa8564c2
- WK_TEL_REL_SLO_id: c0caae1e-6fbd-3960-abfd-33b7e61a2dea
- CallTopic_SLO_id: a53c63b5-8cc8-3ae2-ba95-9c009eb9f269
- Joynr_SLO_id: bdf7d72b-2d9a-3eb6-a1a6-6dece9f94b91
- skipDeployment: "false"
CDnewComponentTag-PROD.NA-Prod:
- name: CD_VDLM PROD
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: PROD
- KAI_SLO_id: 34aef7fa-be33-3640-b33a-8046a1c1951d
- Kinesis_SLO_id: 6cfd2dc5-5b09-3892-86e1-1db3ef78b28e
- MQS_SLO_id: 13522890-b8fa-3769-8c8f-428975289011
- NGTP01_SLO_id: d769-3158-a13a-42cd17d06956
- NGTP02_SLO_id: 3213539a-b02e-303b-bfd0-2e148b696ba6
- SEAM_SLO_id: 7b833eb0-a9c1-3c77-ad5c-3c4571a1532e
- WK_TEL_REL_SLO_id: 1469f122-a23c-3967-b095-faf805e2f468
- CallTopic_SLO_id: 2d3a0fdd-8c05-34bf-b5b7-d77606e1035b
- Joynr_SLO_id: 56c5ae6f-ebda-3edb-b6ab-33a2253b5726
- skipDeployment: "false"
CDnewComponentTag-PROD.CN-Prod:
- name: CD_VDLM PROD
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: PROD
- KAI_SLO_id: 0bfa79a5-a19e-34fd-9dce-5d474b2b9997
- Kinesis_SLO_id: 527581f0-52a8-3047-87c0-2a574dac5b19
- MQS_SLO_id: 94d0599f-cf46-3791-870e-54da047899d3
- NGTP01_SLO_id: 9205a741-ea78-3eda-be37-c3b9e51c4aab
- NGTP02_SLO_id: 7b2cc70e-a993-33e7-b02b-33e309bdb98d
- SEAM_SLO_id: 531b77f0-ac44-37e9-88c4-143812f35fe9
- WK_TEL_REL_SLO_id: 47bc7240-d524-3767-b9a4-d6bb2f3e831d
- CallTopic_SLO_id: c0752d76-c20e-38ba-bf9c-26d9de07b3b2
- Joynr_SLO_id: 7aadd61b-4359-3b63-950e-1a024770d4dd
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN Prod
@ -43,18 +70,21 @@ CDnewComponentTag-E2E.EMEA-Prod:
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: E2E
- KAI_SLO_id: 8c4a0631-7483-3a09-88d8-732e3f1a3dfd
- skipDeployment: "false"
CDnewComponentTag-E2E.NA-Prod:
- name: CD_VDLM E2E
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: E2E
- KAI_SLO_id: 34aef7fa-be33-3640-b33a-8046a1c1951d
- skipDeployment: "false"
CDnewComponentTag-E2E.CN-Prod:
- name: CD_VDLM E2E
- mzName: CD_VDLM/management-zone/CDnewComponentTag.name
- mzId: CD_VDLM/management-zone/CDnewComponentTag.id
- env: E2E
- KAI_SLO_id: 0bfa79a5-a19e-34fd-9dce-5d474b2b9997
- skipDeployment: "false"
#INT dashboards for EMEA/NA/CN PreProd

View File

@ -343,7 +343,7 @@
},
"tileFilter": {},
"assignedEntities": [
"8c4a0631-7483-3a09-88d8-732e3f1a3dfd"
"{{.KAI_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=KAI;"
},
@ -359,7 +359,7 @@
},
"tileFilter": {},
"assignedEntities": [
"16e3be32-94d7-36ee-b86c-bb41913c0d77"
"{{.Kinesis_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=Kinesis;"
},
@ -375,7 +375,7 @@
},
"tileFilter": {},
"assignedEntities": [
"6edcef96-acc9-39d2-bc5e-70a3fd1d2d47"
"{{.MQS_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=MQS;"
},
@ -391,7 +391,7 @@
},
"tileFilter": {},
"assignedEntities": [
"566f359c-4e2d-3ffe-8119-fcfd01ae679d"
"{{.NGTP01_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=NGTP ASC, BCALL;"
},
@ -407,7 +407,7 @@
},
"tileFilter": {},
"assignedEntities": [
"9e82f3f8-63c3-313a-99e6-5161655a409a"
"{{.NGTP02_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=NGTP RTC;"
},
@ -423,7 +423,7 @@
},
"tileFilter": {},
"assignedEntities": [
"6c92d4bd-f4b2-3423-8818-677836731bf9"
"{{.SEAM_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=SEAM;"
},
@ -439,7 +439,7 @@
},
"tileFilter": {},
"assignedEntities": [
"c0caae1e-6fbd-3960-abfd-33b7e61a2dea"
"{{.WK_TEL_REL_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=Wirkkette \"Teleservices\" - Reliability of key requests;"
},
@ -455,7 +455,7 @@
},
"tileFilter": {},
"assignedEntities": [
"a53c63b5-8cc8-3ae2-ba95-9c009eb9f269"
"{{.CallTopic_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=CallTopic;"
},
@ -471,7 +471,7 @@
},
"tileFilter": {},
"assignedEntities": [
"bdf7d72b-2d9a-3eb6-a1a6-6dece9f94b91"
"{{.Joynr_SLO_id}}"
],
"metric": "METRICS=false;LEGEND=false;PROBLEMS=false;decimals=2;customTitle=Joynr;"
},

View File

@ -0,0 +1,37 @@
config:
- CDnewComponentTag: default.json
#Prod alerting profiles for EMEA/NA/CN
CDnewComponentTag.EMEA-Prod:
- name: CD_ts-transformer PROD
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
CDnewComponentTag.NA-Prod:
- name: CD_ts-transformer PROD
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
CDnewComponentTag.CN-Prod:
- name: CD_ts-transformer PROD
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDnewComponentTag.EMEA-PreProd:
- name: CD_ts-transformer INT
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"
CDnewComponentTag.NA-PreProd:
- name: CD_ts-transformer INT
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"
CDnewComponentTag.CN-PreProd:
- name: CD_ts-transformer INT
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"

View File

@ -0,0 +1,78 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": "{{.mzId}}",
"mzId": "{{.mzId}}",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"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,7 @@
config:
- CDnewComponentTag: template.json
CDnewComponentTag:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- 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,7 @@
config:
- CDnewComponentTag: template.json
CDnewComponentTag:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- 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,10 @@
config:
- customService1: template-1-1.json
customService1:
- name: myJOYNRService
- className: com.bmw.cc.conn.this.is.just.an.exampleClasss
- methodName: exampleJoynrMethod
- methodArgs: java.lang.Byte[],java.lang.String
- 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": ["{{.methodArgs}}"],
"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,109 @@
config:
- CDnewComponentTag-PROD: default.json
- CDnewComponentTag-E2E: default.json
- CDnewComponentTag-INT: default.json
- CDnewComponentTag-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
CDnewComponentTag-PROD:
- name: CD_ts-transformer PROD
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "true"
CDnewComponentTag-PROD.EMEA-Prod:
- name: CD_ts-transformer PROD
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
CDnewComponentTag-PROD.NA-Prod:
- name: CD_ts-transformer PROD
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
CDnewComponentTag-PROD.CN-Prod:
- name: CD_ts-transformer PROD
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN Prod
CDnewComponentTag-E2E:
- name: CD_ts-transformer E2E
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: E2E
- skipDeployment: "true"
CDnewComponentTag-E2E.EMEA-Prod:
- name: CD_ts-transformer E2E
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: E2E
- skipDeployment: "false"
CDnewComponentTag-E2E.NA-Prod:
- name: CD_ts-transformer E2E
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: E2E
- skipDeployment: "false"
CDnewComponentTag-E2E.CN-Prod:
- name: CD_ts-transformer E2E
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: E2E
- skipDeployment: "false"
#INT dashboards for EMEA/NA/CN PreProd
CDnewComponentTag-INT:
- name: CD_ts-transformer INT
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "true"
CDnewComponentTag-INT.EMEA-PreProd:
- name: CD_ts-transformer INT
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"
CDnewComponentTag-INT.NA-PreProd:
- name: CD_ts-transformer INT
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"
CDnewComponentTag-INT.CN-PreProd:
- name: CD_ts-transformer INT
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN PreProd
CDnewComponentTag-TEST:
- name: CD_ts-transformer TEST
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: TEST
- skipDeployment: "true"
CDnewComponentTag-TEST.EMEA-PreProd:
- name: CD_ts-transformer TEST
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: TEST
- skipDeployment: "false"
CDnewComponentTag-TEST.NA-PreProd:
- name: CD_ts-transformer TEST
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: TEST
- skipDeployment: "false"
CDnewComponentTag-TEST.CN-PreProd:
- name: CD_ts-transformer TEST
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- env: TEST
- skipDeployment: "false"

View File

@ -0,0 +1,334 @@
{
"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": [
"{{.mzName}}"
],
"preset": true
},
"tiles": [
{
"name": "Custom chart",
"tileType": "CUSTOM_CHARTING",
"configured": true,
"bounds": {
"top": 228,
"left": 38,
"width": 1064,
"height": 304
},
"tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"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}}"
]
}
}
}
},
{
"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": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
}
},
{
"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": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"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}}"
]
}
}
}
},
{
"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": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": {
"type": "DATABASE",
"customName": "Databases",
"defaultName": "Databases",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"DATABASE": {
"AUTO_TAGS": [
"Environment:{{.env}}"
]
}
}
},
"chartVisible": true
},
{
"name": "",
"tileType": "SERVICES",
"configured": true,
"bounds": {
"top": 38,
"left": 342,
"width": 190,
"height": 152
},
"tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": {
"type": "SERVICE",
"customName": "Services",
"defaultName": "Services",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"SERVICE": {
"AUTO_TAGS": [
"Environment:{{.env}}"
]
}
}
},
"chartVisible": true
},
{
"name": "",
"tileType": "HOSTS",
"configured": true,
"bounds": {
"top": 38,
"left": 38,
"width": 190,
"height": 152
},
"tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": {
"type": "HOST",
"customName": "Hosts",
"defaultName": "Hosts",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"HOST": {
"AUTO_TAGS": [
"Environment:{{.env}}"
]
}
}
},
"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,23 @@
{
"dimensionalRules": [],
"name": "{{.name}}",
"entitySelectorBasedRules": [
{
"enabled": true,
"entitySelector": "type(Service),tag({{.compassIDs}})"
},
{
"enabled": true,
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})"
},
{
"enabled": true,
"entitySelector": "type(HOST),tag({{.compassIDs}})"
}
],
"rules": []
}

View File

@ -0,0 +1,6 @@
config:
- CDnewComponentTag: default.json
CDnewComponentTag:
- name: CD_ts-transformer
- compassIDs: \"compass-id:ts-transformer\"

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,20 @@
{
"acceptAnyCertificate": false,
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"headers": [
{
"name": "Authorization",
"value": "{{.Env.SecretAuthHeader}}"
},
{
"name": "x-apikey",
"value": "{{.Env.SecretXAPIKey}}"
}
],
"name": "{{.name}}",
"notifyEventMergesEnabled": false,
"payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]",
"type": "WEBHOOK",
"url": "{{.webhook}}"
}

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,102 @@
config:
- CDnewComponentTag: msTeams.json
- CDnewComponentTagITSM: itsm.json
# Notification System for EMEA/NA/CN Prod msTeams
CDnewComponentTag.EMEA-Prod:
- name: CD_ts-transformer PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
CDnewComponentTag.NA-Prod:
- name: CD_ts-transformer PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
CDnewComponentTag.CN-Prod:
- name: CD_ts-transformer PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDnewComponentTag.EMEA-PreProd:
- name: CD_ts-transformer INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
CDnewComponentTag.NA-PreProd:
- name: CD_ts-transformer INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
CDnewComponentTag.CN-PreProd:
- name: CD_ts-transformer INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod ITSM
CDnewComponentTagITSM.EMEA-Prod:
- name: CD_ts-transformer ITSM PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDnewComponentTagITSM.NA-Prod:
- name: CD_ts-transformer ITSM PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDnewComponentTagITSM.CN-Prod:
- name: CD_ts-transformer ITSM PROD
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDnewComponentTagITSM.EMEA-PreProd:
- name: CD_ts-transformer ITSM INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDnewComponentTagITSM.NA-PreProd:
- name: CD_ts-transformer ITSM INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDnewComponentTagITSM.CN-PreProd:
- name: CD_ts-transformer ITSM INT
- alertingProfile: CD_ts-transformer/alerting-profile/CDnewComponentTag.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- 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:
- newComponentTag: default.json
newComponentTag:
- name: CD_ts-transformer - <synthetic-name>
- mzName: CD_ts-transformer/management-zone/CDnewComponentTag.name
- mzId: CD_ts-transformer/management-zone/CDnewComponentTag.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"