cd_e2e_monitoring_config/BMW-Dynatrace-config/CD_comfy/conditional-naming-service/comfy-conditional-naming.json

54 lines
915 B
JSON

{
"displayName": "{{.name}}",
"enabled": true,
"metadata": {
"clusterVersion": "1.214.107.20210407-223952",
"configurationVersions": [
0
]
},
"nameFormat": "{{.nameFormat}}",
"rules": [
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "app-id",
"value": "{{.appId}}"
}
},
"key": {
"attribute": "SERVICE_TAGS"
}
},
{
"key": {
"attribute": "PROCESS_GROUP_TECHNOLOGY"
},
"comparisonInfo": {
"type": "SIMPLE_TECH",
"operator": "EQUALS",
"value": {
"type": "{{.tech}}"
},
"negate": "false"
}
},
{
"comparisonInfo": {
"negate": false,
"operator": "EQUALS",
"type": "SERVICE_TYPE",
"value": "{{.serviceType}}"
},
"key": {
"attribute": "SERVICE_TYPE",
"type": "STATIC"
}
}
],
"type": "SERVICE"
}