112 lines
2.0 KiB
JSON
112 lines
2.0 KiB
JSON
{
|
|
"dimensionalRules": [],
|
|
"name": "{{.name}}",
|
|
"rules": [
|
|
{
|
|
"conditions": [
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "{{.tag}}"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_TAGS"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "HealthResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "PingResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
}
|
|
},
|
|
{
|
|
"comparisonInfo": {
|
|
"caseSensitive": true,
|
|
"negate": true,
|
|
"operator": "CONTAINS",
|
|
"type": "STRING",
|
|
"value": "PrometheusResource"
|
|
},
|
|
"key": {
|
|
"attribute": "SERVICE_NAME"
|
|
}
|
|
}
|
|
],
|
|
"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": "{{.tag}}"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "PROCESS_GROUP_TAGS"
|
|
}
|
|
}
|
|
],
|
|
"enabled": true,
|
|
"propagationTypes": [
|
|
"PROCESS_GROUP_TO_HOST"
|
|
],
|
|
"type": "PROCESS_GROUP"
|
|
},
|
|
{
|
|
"conditions": [
|
|
{
|
|
"comparisonInfo": {
|
|
"negate": false,
|
|
"operator": "EQUALS",
|
|
"type": "TAG",
|
|
"value": {
|
|
"context": "CONTEXTLESS",
|
|
"key": "Component",
|
|
"value": "{{.tag}}"
|
|
}
|
|
},
|
|
"key": {
|
|
"attribute": "HOST_TAGS"
|
|
}
|
|
}
|
|
],
|
|
"enabled": true,
|
|
"type": "HOST"
|
|
}
|
|
]
|
|
} |