267 lines
6.1 KiB
JSON
267 lines
6.1 KiB
JSON
{
|
|
"metadata": {
|
|
"configurationVersions": [
|
|
0
|
|
],
|
|
"clusterVersion": "1.210.97.20210210-140317"
|
|
},
|
|
"name": "{{.name}}",
|
|
"rules": [
|
|
{
|
|
"type": "SERVICE",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_HOST_LIKE",
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "Remote 360"
|
|
},
|
|
"negate": false
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "HealthResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PingResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PrometheusResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "SERVICE",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_HOST_LIKE",
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "RemoteServices"
|
|
},
|
|
"negate": false
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "HealthResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PingResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PrometheusResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "SERVICE",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_HOST_LIKE",
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "RS Cockpit"
|
|
},
|
|
"negate": false
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "HealthResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PingResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
},
|
|
{
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "STRING",
|
|
"operator": "CONTAINS",
|
|
"value": "PrometheusResource",
|
|
"negate": true,
|
|
"caseSensitive": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "PROCESS_GROUP",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"PROCESS_GROUP_TO_HOST"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "PROCESS_GROUP_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "Remote 360"
|
|
},
|
|
"negate": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "PROCESS_GROUP",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"PROCESS_GROUP_TO_HOST"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "PROCESS_GROUP_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "RemoteServices"
|
|
},
|
|
"negate": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "PROCESS_GROUP",
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"PROCESS_GROUP_TO_HOST"
|
|
],
|
|
"conditions": [
|
|
{
|
|
"key": {
|
|
"attribute": "PROCESS_GROUP_TAGS"
|
|
},
|
|
"comparisonInfo": {
|
|
"type": "TAG",
|
|
"operator": "EQUALS",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "RS Cockpit"
|
|
},
|
|
"negate": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dimensionalRules": []
|
|
} |