Added pais, psr to CD_Perseus
parent
1142f7a12d
commit
9a53cae659
|
|
@ -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.
|
||||
|
|
@ -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.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
config:
|
||||
- CDnewComponentTag: template.json
|
||||
|
||||
CDnewComponentTag:
|
||||
- name: MyProcessNamingRule
|
||||
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
|
||||
- skipDeployment: "true"
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
config:
|
||||
- CDnewComponentTag: template.json
|
||||
|
||||
CDnewComponentTag:
|
||||
- name: MyProcessNamingRule
|
||||
- nameFormat: "{ProcessGroup:KubernetesNamespace/regex-example}"
|
||||
- skipDeployment: "true"
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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.
|
||||
|
|
@ -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"
|
||||
|
|
@ -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}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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.
|
||||
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
config:
|
||||
- newComponentTag: default.json
|
||||
|
||||
newComponentTag:
|
||||
- name: CD_Perseus - <synthetic-name>
|
||||
- mzName: CD_Perseus/management-zone/CDnewComponentTag.name
|
||||
- mzId: CD_Perseus/management-zone/CDnewComponentTag.id
|
||||
- endpoint: <url>
|
||||
- location: <location>
|
||||
- skipDeployment: "true"
|
||||
Loading…
Reference in New Issue