309 lines
5.8 KiB
JSON
309 lines
5.8 KiB
JSON
{
|
|
"description": null,
|
|
"dimensionalRules": [],
|
|
"entitySelectorBasedRules": [],
|
|
"metadata": {
|
|
"clusterVersion": "1.219.96.20210611-115536",
|
|
"configurationVersions": [
|
|
0
|
|
]
|
|
},
|
|
"name": "{{.name}}",
|
|
"rules": [
|
|
{
|
|
"conditions": [
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "SMACC-BE"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "HealthResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "MetricsResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "PrometheusResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "PingResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "internal service"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "ProtocolDataApi"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Environment",
|
|
"value": "prod"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
}
|
|
],
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
|
"SERVICE_TO_HOST_LIKE"
|
|
],
|
|
"type": "SERVICE"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "SMACC-KTS"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "PrometheusResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "MetricsResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "HealthResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "PingResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "executed"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Environment",
|
|
"value": "prod"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
}
|
|
],
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
|
"SERVICE_TO_HOST_LIKE"
|
|
],
|
|
"type": "SERVICE"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "ASBC-SMACC"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Environment",
|
|
"value": "PROD"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "EQUALS",
|
|
"type": "STRING",
|
|
"value": "HealthResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "executed"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_DETECTED_NAME",
|
|
"type": "STATIC"
|
|
}
|
|
}
|
|
],
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
|
"SERVICE_TO_HOST_LIKE"
|
|
],
|
|
"type": "SERVICE"
|
|
}
|
|
]
|
|
} |