cd_e2e_monitoring_config/BMW-Dynatrace-config/CD_vps-archive/calculated-metrics-service/metric-request-count-2.json

75 lines
1.6 KiB
JSON

{
"conditions": [
{
"attribute": "SERVICE_REQUEST_ATTRIBUTE",
"comparisonInfo": {
"caseSensitive": false,
"comparison": "EXISTS",
"matchOnChildCalls": false,
"negate": false,
"requestAttribute": "{{.requestAttribute}}",
"source": null,
"type": "STRING_REQUEST_ATTRIBUTE",
"value": null
}
},
{
"attribute": "SERVICE_REQUEST_ATTRIBUTE",
"comparisonInfo": {
"caseSensitive": false,
"comparison": "EQUALS",
"matchOnChildCalls": false,
"negate": false,
"requestAttribute": "{{.requestAttribute2}}",
"source": null,
"type": "STRING_REQUEST_ATTRIBUTE",
"value": "{{.requestAttribute2Value}}"
}
},
{
"attribute": "SERVICE_TAG",
"comparisonInfo": {
"comparison": "EQUALS",
"negate": false,
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "ms-id",
"value": "{{.msId}}"
}
}
},
{
"attribute": "SERVICE_TAG",
"comparisonInfo": {
"comparison": "EQUALS",
"negate": false,
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
}
}
],
"dimensionDefinition": {
"dimension": "{{.dimension}}",
"name": "{{.dimensionName}}",
"placeholders": [],
"topX": "{{.topX}}",
"topXAggregation": "SINGLE_VALUE",
"topXDirection": "DESCENDING"
},
"enabled": true,
"entityId": null,
"managementZones": [],
"metricDefinition": {
"metric": "REQUEST_COUNT",
"requestAttribute": null
},
"name": "{{.name}}",
"tsmMetricKey": "{{.metricKey}}",
"unit": "{{.unit}}",
"unitDisplayName": ""
}