charging sessions
parent
43fdfd666a
commit
a4d6e53756
|
|
@ -0,0 +1,18 @@
|
||||||
|
config:
|
||||||
|
- CDcharging-sessions-service: default.json
|
||||||
|
|
||||||
|
#Prod alerting profiles for EMEA
|
||||||
|
CDcharging-sessions-service.EMEA-Prod:
|
||||||
|
- name: CDcharging-sessions-service PROD
|
||||||
|
- tag: charging-sessions-service
|
||||||
|
- mzId: CD_charging-sessions-service/management-zone/CDcharging-sessions-service.id
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#INT alerting profiles for EMEA
|
||||||
|
CDimiles-service.EMEA-PreProd:
|
||||||
|
- name: CD_charging-sessions-service INT
|
||||||
|
- tag: charging-sessions-service
|
||||||
|
- mzId: CD_charging-sessions-service/management-zone/CDcharging-sessions-service.id
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
@ -0,0 +1,103 @@
|
||||||
|
{
|
||||||
|
"displayName": "{{.name}}",
|
||||||
|
"eventTypeFilters": [],
|
||||||
|
"managementZoneId": "{{.mzId}}",
|
||||||
|
"mzId": "{{.mzId}}",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"delayInMinutes": 0,
|
||||||
|
"severityLevel": "AVAILABILITY",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 10,
|
||||||
|
"severityLevel": "ERROR",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 30,
|
||||||
|
"severityLevel": "PERFORMANCE",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 30,
|
||||||
|
"severityLevel": "RESOURCE_CONTENTION",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"delayInMinutes": 10,
|
||||||
|
"severityLevel": "CUSTOM_ALERT",
|
||||||
|
"tagFilter": {
|
||||||
|
"includeMode": "INCLUDE_ALL",
|
||||||
|
"tagFilters": [
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Environment",
|
||||||
|
"value": "{{.env}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"active": true,
|
||||||
|
"alertingProfile": "{{.alertingProfile}}",
|
||||||
|
"bccReceivers": [],
|
||||||
|
"body": "{ProblemDetailsHTML}",
|
||||||
|
"ccReceivers": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"receivers": [
|
||||||
|
"{{.receivers}}"
|
||||||
|
],
|
||||||
|
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
|
||||||
|
"type": "EMAIL"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"acceptAnyCertificate": false,
|
||||||
|
"active": true,
|
||||||
|
"alertingProfile": "{{.alertingProfile}}",
|
||||||
|
"headers": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"notifyEventMergesEnabled": false,
|
||||||
|
"payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}",
|
||||||
|
"type": "WEBHOOK",
|
||||||
|
"url": "{{.webhook}}"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
config:
|
||||||
|
- CDcharging-sessions-service: msTeams.json
|
||||||
|
- CDcharging-sessions-service_email: email.json
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN Prod msTeams
|
||||||
|
CDcharging-sessions-service.EMEA-Prod:
|
||||||
|
- name: CD_charging-sessions-service PROD
|
||||||
|
- alertingProfile: CD_charging-sessions-service/alerting-profile/CDcharging-sessions-service.id
|
||||||
|
- webhook: https://bmwgroup.webhook.office.com/webhookb2/f371255b-2c20-491d-9b7d-002928ba9e7f@ce849bab-cc1c-465b-b62e-18f07c9ac198/IncomingWebhook/4c3a4ba5ef1e40338c52917c0bc29c09/4d8ab66e-ec27-4bc7-8cff-5bd7abe02823
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN PreProd msTeams
|
||||||
|
CDcharging-sessions-service.EMEA-PreProd:
|
||||||
|
- name: CD_charging-sessions-service INT
|
||||||
|
- alertingProfile: CD_charging-sessions-service/alerting-profile/CDcharging-sessions-service.id
|
||||||
|
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN Prod Email
|
||||||
|
CDcharging-sessions-service_email.EMEA-Prod:
|
||||||
|
- name: CD_charging-sessions-service_email PROD
|
||||||
|
- alertingProfile: CD_imiles-service/alerting-profile/CDcharging-sessions-service.id
|
||||||
|
- receivers: intangibles@list.bmw.com
|
||||||
|
|
||||||
|
# Notification System for EMEA/NA/CN PreProd Email
|
||||||
|
CDcharging-sessions-service_email.EMEA-PreProd:
|
||||||
|
- name: CD_charging-sessions-service_email INT
|
||||||
|
- alertingProfile: CD_imiles-service/alerting-profile/CDcharging-sessions-service.id
|
||||||
|
- receivers: intangibles@list.bmw.com
|
||||||
Loading…
Reference in New Issue