Pull request #185: VDLM/rtchandler poc

Merge in OPAPM/cd_e2e_monitoring_config from VDLM/rtchandler-poc to master

* commit '9e357956df5ad04147eb1b10b096b78b68c7c376':
  added additional custom services
  - management-zone/default.json with surpress noise services - takeover fixed custom-service-java/template-2-1.json
CD_vs-cmdb
Bernd Brandl (DE-722) 2022-05-03 10:18:41 +02:00 committed by Arnel Arnautovic (ext.)
commit e2d7fddce6
3 changed files with 167 additions and 18 deletions

View File

@ -2,6 +2,8 @@ config:
- customService1: template-2-1.json - customService1: template-2-1.json
- customService2: template-2-1.json - customService2: template-2-1.json
- customService3: template-1-1.json - customService3: template-1-1.json
- customService4: template-1-1.json
- customService5: template-1-1.json
customService1: customService1:
- name: "VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT" - name: "VDLM_rtchandler - ifs-010 (SQS) RtcTeleXIn/Out - IN/OUT"
@ -29,3 +31,17 @@ customService3:
- methodName: sendClassificationRequestMessage - methodName: sendClassificationRequestMessage
- returnType: void - returnType: void
- skipDeployment: "false" - skipDeployment: "false"
customService4:
- name: "VDLM_rtchandler - (Timer) timeout"
- className: com.bmw.cc.ts.rtchandler.bm.common.timer.CallTimeoutTimerService
- methodName: handleTimer
- returnType: void
- skipDeployment: "false"
customService5:
- name: "VDLM_rtchandler - (Timer) deletion"
- className: com.bmw.cc.ts.rtchandler.bm.common.control.cleanup.DbCleanUpBA
- methodName: cleanUp
- returnType: void
- skipDeployment: "false"

View File

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

View File

@ -1,23 +1,120 @@
{ {
"dimensionalRules": [], "dimensionalRules": [],
"name": "{{.name}}", "name": "{{.name}}",
"rules": [
{
"type": "SERVICE",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "SERVICE_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "PingResource",
"negate": true,
"caseSensitive": true
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "HealthResource",
"negate": true,
"caseSensitive": true
}
},
{
"key": {
"attribute": "SERVICE_NAME",
"type": "STATIC"
},
"comparisonInfo": {
"type": "STRING",
"operator": "CONTAINS",
"value": "PrometheusResource",
"negate": true,
"caseSensitive": true
}
}
]
},
{
"type": "PROCESS_GROUP",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "PROCESS_GROUP_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
}
]
},
{
"type": "HOST",
"enabled": true,
"propagationTypes": [],
"conditions": [
{
"key": {
"attribute": "HOST_TAGS",
"type": "STATIC"
},
"comparisonInfo": {
"type": "TAG",
"operator": "EQUALS",
"value": {
"context": "CONTEXTLESS",
"key": "compass-id",
"value": "{{.compassIDs}}"
},
"negate": false
}
}
]
}
],
"entitySelectorBasedRules": [ "entitySelectorBasedRules": [
{ {
"enabled": true, "enabled": true,
"entitySelector": "type(Service),tag({{.compassIDs}})" "entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag(compass-id:{{.compassIDs}}))"
},
{
"enabled": true,
"entitySelector": "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag({{.compassIDs}}))"
},
{
"enabled": true,
"entitySelector": "type(PROCESS_GROUP_INSTANCE),tag({{.compassIDs}})"
},
{
"enabled": true,
"entitySelector": "type(HOST),tag({{.compassIDs}})"
} }
], ]
"rules": []
} }