maasglobal_cicdtest/00_Global-Config/calculated-metrics-service/api-gw-byHttpStatus.json

54 lines
1.0 KiB
JSON

{
"conditions": [
{
"attribute": "SERVICE_TAG",
"comparisonInfo": {
"comparison": "EQUALS",
"negate": false,
"type": "TAG",
"value": {
"context": "CONTEXTLESS",
"key": "Component",
"value": "APIGW-WS"
}
}
},
{
"attribute": "SERVICE_DISPLAY_NAME",
"comparisonInfo": {
"caseSensitive": false,
"comparison": "CONTAINS",
"negate": false,
"type": "FAST_STRING",
"value": "int-api.bmwgroup.com"
}
}
],
"dimensionDefinition": {
"dimension": "{HTTP-Status}",
"name": "Dimension",
"placeholders": [],
"topX": 10,
"topXAggregation": "SINGLE_VALUE",
"topXDirection": "DESCENDING"
},
"enabled": true,
"entityId": null,
"managementZones": [
"CD_APIGW"
],
"metadata": {
"clusterVersion": "1.211.111.20210222-093946",
"configurationVersions": [
0
]
},
"metricDefinition": {
"metric": "REQUEST_COUNT",
"requestAttribute": null
},
"name": "{{.name}}",
"tsmMetricKey": "calc:service.api_gw_byhttpstatus",
"unit": "COUNT",
"unitDisplayName": ""
}