initial config

CD_VehicleCentricInformationServices_FIX
ermisw 2021-10-15 13:31:29 +02:00
parent 845188aede
commit 9efaa2e3b0
1 changed files with 207 additions and 107 deletions

View File

@ -1,114 +1,214 @@
{ {
"dimensionalRules": [], "dimensionalRules": [],
"name": "{{.name}}", "name": "{{.name}}",
"rules": [ "rules": [
{ {
"conditions": [ "conditions": [
{ {
"comparisonInfo": { "comparisonInfo": {
"negate": false, "negate": false,
"operator": "EQUALS", "operator": "EQUALS",
"type": "TAG", "type": "TAG",
"value": { "value": {
"context": "CONTEXTLESS", "context": "CONTEXTLESS",
"key": "Component", "key": "Component",
"value": "{{.tag}}" "value": "{{.tag}}"
} }
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"enabled": true,
"propagationTypes": [
"SERVICE_TO_PROCESS_GROUP_LIKE",
"SERVICE_TO_HOST_LIKE"
],
"type": "SERVICE"
}, },
"key": { {
"attribute": "SERVICE_TAGS" "conditions": [
} {
} "comparisonInfo": {
], "negate": false,
"enabled": true, "operator": "EQUALS",
"propagationTypes": [ "type": "TAG",
"SERVICE_TO_PROCESS_GROUP_LIKE", "value": {
"SERVICE_TO_HOST_LIKE" "context": "CONTEXTLESS",
], "key": "Component",
"type": "SERVICE" "value": "{{.tag}}"
}, }
{ },
"conditions": [ "key": {
{ "attribute": "PROCESS_GROUP_TAGS"
"comparisonInfo": { }
"negate": false, }
"operator": "EQUALS", ],
"type": "TAG", "enabled": true,
"value": { "propagationTypes": [
"context": "CONTEXTLESS", "PROCESS_GROUP_TO_HOST"
"key": "Component", ],
"value": "{{.tag}}" "type": "PROCESS_GROUP"
}
}, },
"key": { {
"attribute": "PROCESS_GROUP_TAGS" "conditions": [
} {
} "comparisonInfo": {
], "negate": false,
"enabled": true, "operator": "EQUALS",
"propagationTypes": [ "type": "TAG",
"PROCESS_GROUP_TO_HOST" "value": {
], "context": "CONTEXTLESS",
"type": "PROCESS_GROUP" "key": "Component",
}, "value": "{{.tag}}"
{ }
"conditions": [ },
{ "key": {
"comparisonInfo": { "attribute": "HOST_TAGS"
"negate": false, }
"operator": "EQUALS", }
"type": "TAG", ],
"value": { "enabled": true,
"context": "CONTEXTLESS", "type": "HOST"
"key": "Component",
"value": "{{.tag}}"
}
}, },
"key": { {
"attribute": "HOST_TAGS" "conditions": [
} {
} "comparisonInfo": {
], "caseSensitive": true,
"enabled": true, "negate": false,
"type": "HOST" "operator": "CONTAINS",
}, "type": "STRING",
{ "value": "{{.tag}}"
"conditions": [ },
{ "key": {
"comparisonInfo": { "attribute": "CLOUD_APPLICATION_NAMESPACE_NAME"
"caseSensitive": true, }
"negate": false, }
"operator": "CONTAINS", ],
"type": "STRING", "enabled": true,
"value": "{{.tag}}" "propagationTypes": [],
"type": "CLOUD_APPLICATION_NAMESPACE"
}, },
"key": { {
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME" "conditions": [
} {
} "comparisonInfo": {
], "caseSensitive": true,
"enabled": true, "negate": false,
"propagationTypes": [], "operator": "CONTAINS",
"type": "CLOUD_APPLICATION_NAMESPACE" "type": "STRING",
}, "value": "{{.tag}}"
{ },
"conditions": [ "key": {
{ "attribute": "CLOUD_APPLICATION_NAME"
"comparisonInfo": { }
"caseSensitive": true, }
"negate": false, ],
"operator": "CONTAINS", "enabled": true,
"type": "STRING", "propagationTypes": [],
"value": "{{.tag}}" "type": "CLOUD_APPLICATION"
}, },
"key": { {
"attribute": "CLOUD_APPLICATION_NAME" "conditions": [
} {
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "ms-id",
"value": "tmpp-wechat-proxy"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"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": "ms-id",
"value": "tmpp-admin-ui"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"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": "ms-id",
"value": "tmpp-manifest"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"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": "ms-id",
"value": "tmpp-web-proxy"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
}
],
"enabled": true,
"propagationTypes": [
"SERVICE_TO_PROCESS_GROUP_LIKE",
"SERVICE_TO_HOST_LIKE"
],
"type": "SERVICE"
} }
], ]
"enabled": true, }
"propagationTypes": [],
"type": "CLOUD_APPLICATION"
}
]
}