conflict fix

Cd_VPS-Archive
ermisw 2021-10-07 15:55:57 +02:00
commit 36c940d073
125 changed files with 3217 additions and 41 deletions

View File

@ -28,7 +28,12 @@
"width": 1064, "width": 1064,
"height": 304 "height": 304
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "MIXED", "type": "MIXED",
"customName": "Failure rate (HTTP 4xx/5xx errors)", "customName": "Failure rate (HTTP 4xx/5xx errors)",
@ -72,8 +77,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -118,7 +122,12 @@
"width": 1064, "width": 1064,
"height": 38 "height": 38
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"markdown": "---\n" "markdown": "---\n"
}, },
{ {
@ -131,7 +140,12 @@
"width": 1064, "width": 1064,
"height": 304 "height": 304
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "MIXED", "type": "MIXED",
"customName": "Response time, Request Count and Number of Errors", "customName": "Response time, Request Count and Number of Errors",
@ -189,8 +203,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -206,7 +219,12 @@
"width": 1064, "width": 1064,
"height": 38 "height": 38
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"markdown": "---\n" "markdown": "---\n"
}, },
{ {
@ -219,7 +237,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "DATABASE", "type": "DATABASE",
"customName": "Databases", "customName": "Databases",
@ -233,8 +256,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"DATABASE": { "DATABASE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -251,7 +273,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "SERVICE", "type": "SERVICE",
"customName": "Services", "customName": "Services",
@ -265,8 +292,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -283,7 +309,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "HOST", "type": "HOST",
"customName": "Hosts", "customName": "Hosts",
@ -297,8 +328,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"HOST": { "HOST": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }

View File

@ -1,6 +1,28 @@
{ {
"dimensionalRules": [], "dimensionalRules": [],
"name": "{{.name}}", "name": "{{.name}}",
"entitySelectorBasedRules": [
{
"enabled": true,
"entitySelector": "type(Service),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:{{.compassid}}\"))"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(HOST),tag(\"compass-id:{{.compassid}}\")"
}
],
"rules": [ "rules": [
{ {
"conditions": [ "conditions": [

View File

@ -4,3 +4,4 @@ config:
CDLSCFSU: CDLSCFSU:
- name: CD_LSCFSU - name: CD_LSCFSU
- tag: LSCFSU - tag: LSCFSU
- compassid: lscfsu

View File

@ -28,7 +28,12 @@
"width": 1064, "width": 1064,
"height": 304 "height": 304
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "MIXED", "type": "MIXED",
"customName": "Failure rate (HTTP 4xx/5xx errors)", "customName": "Failure rate (HTTP 4xx/5xx errors)",
@ -72,8 +77,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -106,7 +110,12 @@
"width": 1064, "width": 1064,
"height": 38 "height": 38
}, },
"tileFilter": {} "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
}
}, },
{ {
"name": "Markdown", "name": "Markdown",
@ -118,7 +127,12 @@
"width": 1064, "width": 1064,
"height": 38 "height": 38
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"markdown": "---\n" "markdown": "---\n"
}, },
{ {
@ -131,7 +145,12 @@
"width": 1064, "width": 1064,
"height": 304 "height": 304
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "MIXED", "type": "MIXED",
"customName": "Response time, Request Count and Number of Errors", "customName": "Response time, Request Count and Number of Errors",
@ -189,8 +208,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -206,7 +224,12 @@
"width": 1064, "width": 1064,
"height": 38 "height": 38
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"markdown": "---\n" "markdown": "---\n"
}, },
{ {
@ -219,7 +242,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "DATABASE", "type": "DATABASE",
"customName": "Databases", "customName": "Databases",
@ -233,8 +261,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"DATABASE": { "DATABASE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -251,7 +278,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "SERVICE", "type": "SERVICE",
"customName": "Services", "customName": "Services",
@ -265,8 +297,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"SERVICE": { "SERVICE": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }
@ -283,7 +314,12 @@
"width": 190, "width": 190,
"height": 152 "height": 152
}, },
"tileFilter": {}, "tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
},
"filterConfig": { "filterConfig": {
"type": "HOST", "type": "HOST",
"customName": "Hosts", "customName": "Hosts",
@ -297,8 +333,7 @@
"filtersPerEntityType": { "filtersPerEntityType": {
"HOST": { "HOST": {
"AUTO_TAGS": [ "AUTO_TAGS": [
"Environment:{{.env}}", "Environment:{{.env}}"
"Component:{{.tag}}"
] ]
} }
} }

View File

@ -1,6 +1,28 @@
{ {
"dimensionalRules": [], "dimensionalRules": [],
"name": "{{.name}}", "name": "{{.name}}",
"entitySelectorBasedRules": [
{
"enabled": true,
"entitySelector": "type(Service),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(\"compass-id:{{.compassid}}\"))"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag(\"compass-id:{{.compassid}}\")"
},
{
"enabled": true,
"entitySelector": "type(HOST),tag(\"compass-id:{{.compassid}}\")"
}
],
"rules": [ "rules": [
{ {
"conditions": [ "conditions": [

View File

@ -4,3 +4,4 @@ config:
CDTripCollection: CDTripCollection:
- name: CD_TripCollection - name: CD_TripCollection
- tag: TripCollection - tag: TripCollection
- compassid: tripCollectionApi

View File

@ -0,0 +1,43 @@
config:
- CDtsmb: default.json
#Prod alerting profiles for EMEA/NA/CN
CDtsmb.EMEA-Prod:
- name: CD_tsmb PROD
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.id
- env: PROD
- skipDeployment: "false"
CDtsmb.NA-Prod:
- name: CD_tsmb PROD
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.id
- env: PROD
- skipDeployment: "false"
CDtsmb.CN-Prod:
- name: CD_tsmb PROD
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDtsmb.EMEA-PreProd:
- name: CD_tsmb INT
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.id
- env: INT
- skipDeployment: "false"
CDtsmb.NA-PreProd:
- name: CD_tsmb INT
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.id
- env: INT
- skipDeployment: "false"
CDtsmb.CN-PreProd:
- name: CD_tsmb INT
- tag: tsmb
- mzId: CD_tsmb/management-zone/CDtsmb.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:
- CDtsmb: template.json
CDtsmb:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsmb
- 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:
- CDtsmb: template.json
CDtsmb:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsmb
- 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 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:
- CDtsmb: msTeams.json
- CDtsmbITSM: itsm.json
# Notification System for EMEA/NA/CN Prod msTeams
CDtsmb.EMEA-Prod:
- name: CD_tsmb PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
CDtsmb.NA-Prod:
- name: CD_tsmb PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
CDtsmb.CN-Prod:
- name: CD_tsmb PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDtsmb.EMEA-PreProd:
- name: CD_tsmb INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
CDtsmb.NA-PreProd:
- name: CD_tsmb INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
CDtsmb.CN-PreProd:
- name: CD_tsmb INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod ITSM
CDtsmbITSM.EMEA-Prod:
- name: CD_tsmb ITSM PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsmbITSM.NA-Prod:
- name: CD_tsmb ITSM PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsmbITSM.CN-Prod:
- name: CD_tsmb ITSM PROD
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsmbITSM.EMEA-PreProd:
- name: CD_tsmb ITSM INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsmbITSM.NA-PreProd:
- name: CD_tsmb ITSM INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsmbITSM.CN-PreProd:
- name: CD_tsmb ITSM INT
- alertingProfile: CD_tsmb/alerting-profile/CDtsmb.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsmb/management-zone/CDtsmb.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:
- tsmb: default.json
tsmb:
- name: CD_tsmb - <synthetic-name>
- mzName: CD_tsmb/management-zone/CDtsmb.name
- mzId: CD_tsmb/management-zone/CDtsmb.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,43 @@
config:
- CDtsr-dd: default.json
#Prod alerting profiles for EMEA/NA/CN
CDtsr-dd.EMEA-Prod:
- name: CD_tsr-dd PROD
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- env: PROD
- skipDeployment: "false"
CDtsr-dd.NA-Prod:
- name: CD_tsr-dd PROD
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- env: PROD
- skipDeployment: "false"
CDtsr-dd.CN-Prod:
- name: CD_tsr-dd PROD
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDtsr-dd.EMEA-PreProd:
- name: CD_tsr-dd INT
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- env: INT
- skipDeployment: "false"
CDtsr-dd.NA-PreProd:
- name: CD_tsr-dd INT
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- env: INT
- skipDeployment: "false"
CDtsr-dd.CN-PreProd:
- name: CD_tsr-dd INT
- tag: tsr-dd
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.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:
- CDtsr-dd: template.json
CDtsr-dd:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsr-dd
- 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:
- CDtsr-dd: template.json
CDtsr-dd:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsr-dd
- 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 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:
- CDtsr-dd: msTeams.json
- CDtsr-ddITSM: itsm.json
# Notification System for EMEA/NA/CN Prod msTeams
CDtsr-dd.EMEA-Prod:
- name: CD_tsr-dd PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-dd.NA-Prod:
- name: CD_tsr-dd PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-dd.CN-Prod:
- name: CD_tsr-dd PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDtsr-dd.EMEA-PreProd:
- name: CD_tsr-dd INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-dd.NA-PreProd:
- name: CD_tsr-dd INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-dd.CN-PreProd:
- name: CD_tsr-dd INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod ITSM
CDtsr-ddITSM.EMEA-Prod:
- name: CD_tsr-dd ITSM PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-ddITSM.NA-Prod:
- name: CD_tsr-dd ITSM PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-ddITSM.CN-Prod:
- name: CD_tsr-dd ITSM PROD
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-ddITSM.EMEA-PreProd:
- name: CD_tsr-dd ITSM INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-ddITSM.NA-PreProd:
- name: CD_tsr-dd ITSM INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-ddITSM.CN-PreProd:
- name: CD_tsr-dd ITSM INT
- alertingProfile: CD_tsr-dd/alerting-profile/CDtsr-dd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.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:
- tsr-dd: default.json
tsr-dd:
- name: CD_tsr-dd - <synthetic-name>
- mzName: CD_tsr-dd/management-zone/CDtsr-dd.name
- mzId: CD_tsr-dd/management-zone/CDtsr-dd.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,43 @@
config:
- CDtsr-vu: default.json
#Prod alerting profiles for EMEA/NA/CN
CDtsr-vu.EMEA-Prod:
- name: CD_tsr-vu PROD
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- env: PROD
- skipDeployment: "false"
CDtsr-vu.NA-Prod:
- name: CD_tsr-vu PROD
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- env: PROD
- skipDeployment: "false"
CDtsr-vu.CN-Prod:
- name: CD_tsr-vu PROD
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDtsr-vu.EMEA-PreProd:
- name: CD_tsr-vu INT
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- env: INT
- skipDeployment: "false"
CDtsr-vu.NA-PreProd:
- name: CD_tsr-vu INT
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- env: INT
- skipDeployment: "false"
CDtsr-vu.CN-PreProd:
- name: CD_tsr-vu INT
- tag: tsr-vu
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.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:
- CDtsr-vu: template.json
CDtsr-vu:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsr-vu
- 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:
- CDtsr-vu: template.json
CDtsr-vu:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: tsr-vu
- 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 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:
- CDtsr-vu: msTeams.json
- CDtsr-vuITSM: itsm.json
# Notification System for EMEA/NA/CN Prod msTeams
CDtsr-vu.EMEA-Prod:
- name: CD_tsr-vu PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-vu.NA-Prod:
- name: CD_tsr-vu PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-vu.CN-Prod:
- name: CD_tsr-vu PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDtsr-vu.EMEA-PreProd:
- name: CD_tsr-vu INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-vu.NA-PreProd:
- name: CD_tsr-vu INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
CDtsr-vu.CN-PreProd:
- name: CD_tsr-vu INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod ITSM
CDtsr-vuITSM.EMEA-Prod:
- name: CD_tsr-vu ITSM PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-vuITSM.NA-Prod:
- name: CD_tsr-vu ITSM PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-vuITSM.CN-Prod:
- name: CD_tsr-vu ITSM PROD
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-vuITSM.EMEA-PreProd:
- name: CD_tsr-vu ITSM INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-vuITSM.NA-PreProd:
- name: CD_tsr-vu ITSM INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDtsr-vuITSM.CN-PreProd:
- name: CD_tsr-vu ITSM INT
- alertingProfile: CD_tsr-vu/alerting-profile/CDtsr-vu.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.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:
- tsr-vu: default.json
tsr-vu:
- name: CD_tsr-vu - <synthetic-name>
- mzName: CD_tsr-vu/management-zone/CDtsr-vu.name
- mzId: CD_tsr-vu/management-zone/CDtsr-vu.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,43 @@
config:
- CDVPS-Admin: default.json
#Prod alerting profiles for EMEA/NA/CN
CDVPS-Admin.EMEA-Prod:
- name: CD_VPS-Admin PROD
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- env: PROD
- skipDeployment: "false"
CDVPS-Admin.NA-Prod:
- name: CD_VPS-Admin PROD
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- env: PROD
- skipDeployment: "false"
CDVPS-Admin.CN-Prod:
- name: CD_VPS-Admin PROD
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDVPS-Admin.EMEA-PreProd:
- name: CD_VPS-Admin INT
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- env: INT
- skipDeployment: "false"
CDVPS-Admin.NA-PreProd:
- name: CD_VPS-Admin INT
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- env: INT
- skipDeployment: "false"
CDVPS-Admin.CN-PreProd:
- name: CD_VPS-Admin INT
- tag: VPS-Admin
- mzId: CD_vps-admin/management-zone/CDvps-admin.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:
- CDVPS-Admin: template.json
CDVPS-Admin:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: VPS-Admin
- 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:
- CDVPS-Admin: template.json
CDVPS-Admin:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: VPS-Admin
- 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 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:
- CDVPS-Admin: msTeams.json
- CDVPS-AdminITSM: itsm.json
# Notification System for EMEA/NA/CN Prod msTeams
CDVPS-Admin.EMEA-Prod:
- name: CD_VPS-Admin PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
CDVPS-Admin.NA-Prod:
- name: CD_VPS-Admin PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
CDVPS-Admin.CN-Prod:
- name: CD_VPS-Admin PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDVPS-Admin.EMEA-PreProd:
- name: CD_VPS-Admin INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
CDVPS-Admin.NA-PreProd:
- name: CD_VPS-Admin INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
CDVPS-Admin.CN-PreProd:
- name: CD_VPS-Admin INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://empty
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod ITSM
CDVPS-AdminITSM.EMEA-Prod:
- name: CD_VPS-Admin ITSM PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDVPS-AdminITSM.NA-Prod:
- name: CD_VPS-Admin ITSM PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDVPS-AdminITSM.CN-Prod:
- name: CD_VPS-Admin ITSM PROD
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDVPS-AdminITSM.EMEA-PreProd:
- name: CD_VPS-Admin ITSM INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDVPS-AdminITSM.NA-PreProd:
- name: CD_VPS-Admin ITSM INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDVPS-AdminITSM.CN-PreProd:
- name: CD_VPS-Admin ITSM INT
- alertingProfile: CD_VPS-Admin/alerting-profile/CDVPS-Admin.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11906401"
- appdid: "TEST123"
- mzName: CD_VPS-Admin/management-zone/CDVPS-Admin.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:
- VPS-Admin: default.json
VPS-Admin:
- name: CD_VPS-Admin - <synthetic-name>
- mzName: CD_vps-admin/management-zone/CDvps-admin.name
- mzId: CD_vps-admin/management-zone/CDvps-admin.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"

View File

@ -0,0 +1,43 @@
config:
- CDVPS-Monitor: default.json
#Prod alerting profiles for EMEA/NA/CN
CDVPS-Monitor.EMEA-Prod:
- name: CD_VPS-Monitor PROD
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.id
- env: PROD
- skipDeployment: "false"
CDVPS-Monitor.NA-Prod:
- name: CD_VPS-Monitor PROD
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.id
- env: PROD
- skipDeployment: "false"
CDVPS-Monitor.CN-Prod:
- name: CD_VPS-Monitor PROD
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA/NA/CN
CDVPS-Monitor.EMEA-PreProd:
- name: CD_VPS-Monitor INT
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.id
- env: INT
- skipDeployment: "false"
CDVPS-Monitor.NA-PreProd:
- name: CD_VPS-Monitor INT
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.id
- env: INT
- skipDeployment: "false"
CDVPS-Monitor.CN-PreProd:
- name: CD_VPS-Monitor INT
- tag: VPS-Monitor
- mzId: CD_vps-monitor/management-zone/CDvps-monitor.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:
- CDVPS-Monitor: template.json
CDVPS-Monitor:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: VPS-Monitor
- 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:
- CDVPS-Monitor: template.json
CDVPS-Monitor:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: VPS-Monitor
- 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 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"
}

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