BASE custom services to app project folder

custom-service-JONYR
qxz15oi 2021-04-26 14:33:09 +02:00
parent b6d5fa5e70
commit 6902633812
33 changed files with 772 additions and 122 deletions

View File

@ -8,21 +8,6 @@ config:
- RsJoynrApiV2: RsJoynrApiV2.json
- RsProvisioningMdb: RsProvisioningMdb.json
- RsEventTimeoutTimer: RsEventTimeoutTimer.json
- BASE-Gcdm: BASE-Gcdm.json
- BASE-HereMaps: BASE-HereMaps.json
- BASE-Istats: BASE-Istats.json
- BASE-Loc: BASE-Loc.json
- BASE-LosFts: BASE-LosFts.json
- BASE-Los: BASE-Los.json
- BASE-Msgsvc: BASE-Msgsvc.json
- BASE-Ngtp: BASE-Ngtp.json
- BASE-Pisa: BASE-Pisa.json
- BASE-Rsa: BASE-Rsa.json
- BASE-Scaa: BASE-Scaa.json
- BASE-SvdsVehicles: BASE-SvdsVehicles.json
- BASE-Tsrd: BASE-Tsrd.json
- BASE-Tssb: BASE-Tssb.json
- BASE-Xcs: BASE-Xcs.json
- XCS-JOYNR-E2E: XCS-JOYNR-E2E.json
- ECS-JOYNR-E2E: ECS-JOYNR-E2E.json
- ACDS-JOYNR-E2E: ACDS-JOYNR-E2E.json
@ -35,111 +20,6 @@ ACDS-JOYNR-E2E.EMEA-Prod:
- name: ACDS - JOYNR - E2E
- skipDeployment: "false"
BASE-Gcdm:
- name: BASE - Gcdm
- skipDeployment: "true"
BASE-Gcdm.EMEA-Prod:
- name: BASE - Gcdm
- skipDeployment: "false"
BASE-HereMaps:
- name: BASE - HereMaps
- skipDeployment: "true"
BASE-HereMaps.EMEA-Prod:
- name: BASE - HereMaps
- skipDeployment: "false"
BASE-Istats:
- name: BASE - Istats
- skipDeployment: "true"
BASE-Istats.EMEA-Prod:
- name: BASE - Istats
- skipDeployment: "false"
BASE-Loc:
- name: BASE - Loc
- skipDeployment: "true"
BASE-Loc.EMEA-Prod:
- name: BASE - Loc
- skipDeployment: "false"
BASE-Los:
- name: BASE - Los
- skipDeployment: "true"
BASE-Los.EMEA-Prod:
- name: BASE - Los
- skipDeployment: "false"
BASE-LosFts:
- name: BASE - LosFts
- skipDeployment: "true"
BASE-LosFts.EMEA-Prod:
- name: BASE - LosFts
- skipDeployment: "false"
BASE-Msgsvc:
- name: BASE - Msgsvc
- skipDeployment: "true"
BASE-Msgsvc.EMEA-Prod:
- name: BASE - Msgsvc
- skipDeployment: "false"
BASE-Ngtp:
- name: BASE - Ngtp
- skipDeployment: "true"
BASE-Ngtp.EMEA-Prod:
- name: BASE - Ngtp
- skipDeployment: "false"
BASE-Pisa:
- name: BASE - Pisa
- skipDeployment: "true"
BASE-Pisa.EMEA-Prod:
- name: BASE - Pisa
- skipDeployment: "false"
BASE-Rsa:
- name: BASE - Rsa
- skipDeployment: "true"
BASE-Rsa.EMEA-Prod:
- name: BASE - Rsa
- skipDeployment: "false"
BASE-Scaa:
- name: BASE - Scaa
- skipDeployment: "true"
BASE-Scaa.EMEA-Prod:
- name: BASE - Scaa
- skipDeployment: "false"
BASE-SvdsVehicles:
- name: BASE - SvdsVehicles
- skipDeployment: "true"
BASE-SvdsVehicles.EMEA-Prod:
- name: BASE - SvdsVehicles
- skipDeployment: "false"
BASE-Tsrd:
- name: BASE - Tsrd
- skipDeployment: "true"
BASE-Tsrd.EMEA-Prod:
- name: BASE - Tsrd
- skipDeployment: "false"
BASE-Tssb:
- name: BASE - Tssb
- skipDeployment: "true"
BASE-Tssb.EMEA-Prod:
- name: BASE - Tssb
- skipDeployment: "false"
BASE-Xcs:
- name: BASE - Xcs
- skipDeployment: "true"
BASE-Xcs.EMEA-Prod:
- name: BASE - Xcs
- skipDeployment: "false"
CASATimer:
- name: CASA Timer
- skipDeployment: "true"

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:
- CDBASE: template.json
CDBASE:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: BASE
- 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:
- CDBASE: template.json
CDBASE:
- name: MyProcessNamingRule
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
- tag: BASE
- 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,122 @@
config:
- BASE-Gcdm: BASE-Gcdm.json
- BASE-HereMaps: BASE-HereMaps.json
- BASE-Istats: BASE-Istats.json
- BASE-Loc: BASE-Loc.json
- BASE-LosFts: BASE-LosFts.json
- BASE-Los: BASE-Los.json
- BASE-Msgsvc: BASE-Msgsvc.json
- BASE-Ngtp: BASE-Ngtp.json
- BASE-Pisa: BASE-Pisa.json
- BASE-Rsa: BASE-Rsa.json
- BASE-Scaa: BASE-Scaa.json
- BASE-SvdsVehicles: BASE-SvdsVehicles.json
- BASE-Tsrd: BASE-Tsrd.json
- BASE-Tssb: BASE-Tssb.json
- BASE-Xcs: BASE-Xcs.json
BASE-Gcdm:
- name: BASE - Gcdm
- skipDeployment: "true"
BASE-Gcdm.EMEA-Prod:
- name: BASE - Gcdm
- skipDeployment: "false"
BASE-HereMaps:
- name: BASE - HereMaps
- skipDeployment: "true"
BASE-HereMaps.EMEA-Prod:
- name: BASE - HereMaps
- skipDeployment: "false"
BASE-Istats:
- name: BASE - Istats
- skipDeployment: "true"
BASE-Istats.EMEA-Prod:
- name: BASE - Istats
- skipDeployment: "false"
BASE-Loc:
- name: BASE - Loc
- skipDeployment: "true"
BASE-Loc.EMEA-Prod:
- name: BASE - Loc
- skipDeployment: "false"
BASE-Los:
- name: BASE - Los
- skipDeployment: "true"
BASE-Los.EMEA-Prod:
- name: BASE - Los
- skipDeployment: "false"
BASE-LosFts:
- name: BASE - LosFts
- skipDeployment: "true"
BASE-LosFts.EMEA-Prod:
- name: BASE - LosFts
- skipDeployment: "false"
BASE-Msgsvc:
- name: BASE - Msgsvc
- skipDeployment: "true"
BASE-Msgsvc.EMEA-Prod:
- name: BASE - Msgsvc
- skipDeployment: "false"
BASE-Ngtp:
- name: BASE - Ngtp
- skipDeployment: "true"
BASE-Ngtp.EMEA-Prod:
- name: BASE - Ngtp
- skipDeployment: "false"
BASE-Pisa:
- name: BASE - Pisa
- skipDeployment: "true"
BASE-Pisa.EMEA-Prod:
- name: BASE - Pisa
- skipDeployment: "false"
BASE-Rsa:
- name: BASE - Rsa
- skipDeployment: "true"
BASE-Rsa.EMEA-Prod:
- name: BASE - Rsa
- skipDeployment: "false"
BASE-Scaa:
- name: BASE - Scaa
- skipDeployment: "true"
BASE-Scaa.EMEA-Prod:
- name: BASE - Scaa
- skipDeployment: "false"
BASE-SvdsVehicles:
- name: BASE - SvdsVehicles
- skipDeployment: "true"
BASE-SvdsVehicles.EMEA-Prod:
- name: BASE - SvdsVehicles
- skipDeployment: "false"
BASE-Tsrd:
- name: BASE - Tsrd
- skipDeployment: "true"
BASE-Tsrd.EMEA-Prod:
- name: BASE - Tsrd
- skipDeployment: "false"
BASE-Tssb:
- name: BASE - Tssb
- skipDeployment: "true"
BASE-Tssb.EMEA-Prod:
- name: BASE - Tssb
- skipDeployment: "false"
BASE-Xcs:
- name: BASE - Xcs
- skipDeployment: "true"
BASE-Xcs.EMEA-Prod:
- name: BASE - Xcs
- skipDeployment: "false"

View File

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

View File

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

View File

@ -0,0 +1,127 @@
config:
- CDBASE-PROD: default.json
- CDBASE-E2E: default.json
- CDBASE-INT: default.json
- CDBASE-TEST: default.json
#PROD dashboards for EMEA/NA/CN Prod
#Dry-run needed for all hubs
CDBASE-PROD:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) PROD
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: PROD
- skipDeployment: "true"
#Configuration
CDBASE-PROD.EMEA-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) PROD
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- tag: BASE
- env: PROD
- skipDeployment: "false"
CDBASE-PROD.NA-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) PROD
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- tag: BASE
- env: PROD
- skipDeployment: "false"
CDBASE-PROD.CN-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) PROD
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- tag: BASE
- env: PROD
- skipDeployment: "false"
#E2E dashboards for EMEA/NA/CN E2E
#Dry-run needed for all hubs
CDBASE-E2E:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) E2E
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: E2E
- skipDeployment: "true"
#Configuration
CDBASE-E2E.EMEA-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) E2E
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: E2E
- tag: BASE
- skipDeployment: "true"
CDBASE-E2E.NA-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) E2E
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: E2E
- tag: BASE
- skipDeployment: "true"
CDBASE-E2E.CN-Prod:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) E2E
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: E2E
- tag: BASE
- skipDeployment: "true"
#INT dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDBASE-INT:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) INT
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: INT
- tag: BASE
- skipDeployment: "true"
#Configuration
CDBASE-INT.EMEA-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) INT
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: INT
- tag: BASE
- skipDeployment: "false"
CDBASE-INT.NA-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) INT
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: INT
- skipDeployment: "false"
CDBASE-INT.CN-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) INT
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: INT
- skipDeployment: "false"
#TEST dashboards for EMEA/NA/CN
#Dry-run needed for all hubs
CDBASE-TEST:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) TEST
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- tag: BASE
- env: TEST
- skipDeployment: "true"
#Configuration
CDBASE-TEST.EMEA-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) TEST
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- tag: BASE
- env: TEST
- skipDeployment: "false"
CDBASE-TEST.NA-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) TEST
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: TEST
- skipDeployment: "false"
CDBASE-TEST.CN-PreProd:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) TEST
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- env: TEST
- skipDeployment: "false"

View File

@ -0,0 +1,308 @@
{
"metadata": {
"configurationVersions": [
3
],
"clusterVersion": "1.214.107.20210407-223952"
},
"dashboardMetadata": {
"name": "{{.name}}",
"shared": true,
"owner": "Ignacio.Goldman@partner.bmwgroup.com",
"dashboardFilter": {
"timeframe": "-24h to now"
},
"tags": [
"{{.tag}}"
]
},
"tiles": [
{
"name": "Custom chart",
"tileType": "CUSTOM_CHARTING",
"configured": true,
"bounds": {
"top": 228,
"left": 38,
"width": 1064,
"height": 304
},
"tileFilter": {},
"filterConfig": {
"type": "MIXED",
"customName": "Failure rate (HTTP 4xx/5xx errors)",
"defaultName": "Custom chart",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [
{
"metric": "builtin:service.errors.fourxx.rate",
"aggregation": "AVG",
"type": "BAR",
"entityType": "SERVICE",
"dimensions": [],
"sortAscending": false,
"sortColumn": false,
"aggregationRate": "TOTAL"
},
{
"metric": "builtin:service.errors.fivexx.rate",
"aggregation": "AVG",
"type": "BAR",
"entityType": "SERVICE",
"dimensions": [],
"sortAscending": false,
"sortColumn": true,
"aggregationRate": "TOTAL"
}
],
"resultMetadata": {
"nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": {
"lastModified": 1617956393463,
"customColor": "#ff0000"
},
"nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE": {
"lastModified": 1617956441725,
"customColor": "#fff29a"
}
}
},
"filtersPerEntityType": {
"SERVICE": {
"AUTO_TAGS": [
"Environment:{{.env}}",
"Component:{{.tag}}"
]
}
}
}
},
{
"name": "Problems",
"tileType": "OPEN_PROBLEMS",
"configured": true,
"bounds": {
"top": 38,
"left": 950,
"width": 152,
"height": 152
},
"tileFilter": {
"managementZone": {
"id": "{{.mzId}}",
"name": "{{.mzName}}"
}
}
},
{
"name": "Overall Health",
"tileType": "HEADER",
"configured": true,
"bounds": {
"top": 0,
"left": 38,
"width": 1064,
"height": 38
},
"tileFilter": {}
},
{
"name": "Markdown",
"tileType": "MARKDOWN",
"configured": true,
"bounds": {
"top": 532,
"left": 38,
"width": 1064,
"height": 38
},
"tileFilter": {},
"markdown": "---\n"
},
{
"name": "Custom chart",
"tileType": "CUSTOM_CHARTING",
"configured": true,
"bounds": {
"top": 570,
"left": 38,
"width": 1064,
"height": 304
},
"tileFilter": {},
"filterConfig": {
"type": "MIXED",
"customName": "Response time, Request Count and Number of Errors",
"defaultName": "Custom chart",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [
{
"metric": "builtin:service.response.time",
"aggregation": "AVG",
"type": "LINE",
"entityType": "SERVICE",
"dimensions": [],
"sortAscending": false,
"sortColumn": false,
"aggregationRate": "TOTAL"
},
{
"metric": "builtin:service.requestCount.total",
"aggregation": "NONE",
"type": "BAR",
"entityType": "SERVICE",
"dimensions": [],
"sortAscending": false,
"sortColumn": false,
"aggregationRate": "TOTAL"
},
{
"metric": "builtin:service.errors.total.count",
"aggregation": "NONE",
"type": "BAR",
"entityType": "SERVICE",
"dimensions": [],
"sortAscending": false,
"sortColumn": true,
"aggregationRate": "TOTAL"
}
],
"resultMetadata": {
"nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE": {
"lastModified": 1595275720776,
"customColor": "#008cdb"
},
"nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE": {
"lastModified": 1595275955999,
"customColor": "#ef651f"
},
"nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE": {
"lastModified": 1595275686773,
"customColor": "#b4e5f9"
}
}
},
"filtersPerEntityType": {
"SERVICE": {
"AUTO_TAGS": [
"Environment:{{.env}}",
"Component:{{.tag}}"
]
}
}
}
},
{
"name": "Markdown",
"tileType": "MARKDOWN",
"configured": true,
"bounds": {
"top": 190,
"left": 38,
"width": 1064,
"height": 38
},
"tileFilter": {},
"markdown": "---\n"
},
{
"name": "",
"tileType": "DATABASES_OVERVIEW",
"configured": true,
"bounds": {
"top": 38,
"left": 646,
"width": 190,
"height": 152
},
"tileFilter": {},
"filterConfig": {
"type": "DATABASE",
"customName": "Databases",
"defaultName": "Databases",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"DATABASE": {
"AUTO_TAGS": [
"Environment:{{.env}}",
"Component:{{.tag}}"
]
}
}
},
"chartVisible": true
},
{
"name": "",
"tileType": "SERVICES",
"configured": true,
"bounds": {
"top": 38,
"left": 342,
"width": 190,
"height": 152
},
"tileFilter": {},
"filterConfig": {
"type": "SERVICE",
"customName": "Services",
"defaultName": "Services",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"SERVICE": {
"AUTO_TAGS": [
"Environment:{{.env}}",
"Component:{{.tag}}"
]
}
}
},
"chartVisible": true
},
{
"name": "",
"tileType": "HOSTS",
"configured": true,
"bounds": {
"top": 38,
"left": 38,
"width": 190,
"height": 152
},
"tileFilter": {},
"filterConfig": {
"type": "HOST",
"customName": "Hosts",
"defaultName": "Hosts",
"chartConfig": {
"legendShown": true,
"type": "TIMESERIES",
"series": [],
"resultMetadata": {}
},
"filtersPerEntityType": {
"HOST": {
"AUTO_TAGS": [
"Environment:{{.env}}",
"Component:{{.tag}}"
]
}
}
},
"chartVisible": true
}
]
}

View File

@ -1,5 +1,5 @@
config:
- CDBMW-Assistant-for-Service-Events-BASE: CDBMW-Assistant-for-Service-Events-BASE.json
- CDBASE: CDBMW-Assistant-for-Service-Events-BASE.json
CDBMW-Assistant-for-Service-Events-BASE:
CDBASE:
- name: CD_BMW-Assistant-for-Service-Events-(BASE)

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:
- BASE: default.json
BASE:
- name: CD_BMW-Assistant-for-Service-Events-(BASE) - <synthetic-name>
- mzName: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.name
- mzId: CD_BMW-Assistant-for-Service-Events-(BASE)/management-zone/CDBASE.id
- endpoint: <url>
- location: <location>
- skipDeployment: "true"