diff --git a/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/calculated-metrics-service.yaml b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/calculated-metrics-service.yaml index c2868b96..71ed31d7 100644 --- a/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/calculated-metrics-service.yaml +++ b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/calculated-metrics-service.yaml @@ -23,6 +23,36 @@ config: - CDam-casa-RelationshipResourceV2-ResponseTimeAvg: am-casa-RelationshipResourceV2-ResponseTimeAvg.json - CDam-casa-RelationshipResourceV2-searchRelationships-HttpStatus: am-casa-RelationshipResourceV2-searchRelationships-HttpStatus.json #am-casa-RelationshipResourceV2-searchRelationships-HttpStatus - CDam-casa-RelationshipResourceV2-searchRelationships-ResponseTimeAvg: am-casa-RelationshipResourceV2-searchRelationships-ResponseTimeAvg.json #calc:service.am_casa_relationshipresourcev2_searchrelationships_responsetimeavg +- CDcasadb-Response-Time-overall: casadb-Response-Time-overall.json +- CDcasadb-Response-Time-per-Statement: casadb-Response-Time-per-Statement.json + +CDcasadb-Response-Time-per-Statement: +- name: casa_db-Response-Time-per-Statement +- skipDeployment: "true" +CDcasadb-Response-Time-per-Statement.EMEA-Prod: +- name: casa_db-Response-Time-per-Statement +- skipDeployment: "true" +CDcasadb-Response-Time-per-Statement.NA-Prod: +- name: casa_db-Response-Time-per-Statement +- skipDeployment: "false" +CDcasadb-Response-Time-per-Statement.CN-Prod: +- name: casa_db-Response-Time-per-Statement +- skipDeployment: "false" + + + +CDcasadb-Response-Time-overall: +- name: casa_db-Response-Time-overall +- skipDeployment: "true" +CDcasadb-Response-Time-overall.EMEA-Prod: +- name: casa_db-Response-Time-overall +- skipDeployment: "true" +CDcasadb-Response-Time-overall.NA-Prod: +- name: casa_db-Response-Time-overall +- skipDeployment: "false" +CDcasadb-Response-Time-overall.CN-Prod: +- name: casa_db-Response-Time-overall +- skipDeployment: "false" CDam-casa-RelationshipResourceV2-searchRelationships-ResponseTimeAvg: diff --git a/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-overall.json b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-overall.json new file mode 100644 index 00000000..a52a1316 --- /dev/null +++ b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-overall.json @@ -0,0 +1,50 @@ +{ + "conditions": [ + { + "attribute": "SERVICE_TYPE", + "comparisonInfo": { + "comparison": "EQUALS", + "negate": false, + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE", + "values": null + } + }, + { + "attribute": "SERVICE_DISPLAY_NAME", + "comparisonInfo": { + "caseSensitive": false, + "comparison": "CONTAINS", + "negate": false, + "type": "FAST_STRING", + "value": "casa", + "values": null + } + } + ], + "dimensionDefinition": { + "dimension": "All requests", + "name": "Dimension", + "placeholders": [], + "topX": 100, + "topXAggregation": "AVERAGE", + "topXDirection": "DESCENDING" + }, + "enabled": true, + "entityId": null, + "managementZones": [], + "metadata": { + "clusterVersion": "1.220.96.20210701-171424", + "configurationVersions": [ + 0 + ] + }, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "name": "{{.name}}", + "tsmMetricKey": "calc:service.casa_db_response_time_overall", + "unit": "MICRO_SECOND", + "unitDisplayName": null +} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-per-Statement.json b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-per-Statement.json new file mode 100644 index 00000000..50d00c20 --- /dev/null +++ b/BMW-Dynatrace-config/CD_am-casa/calculated-metrics-service/casadb-Response-Time-per-Statement.json @@ -0,0 +1,50 @@ +{ + "conditions": [ + { + "attribute": "SERVICE_TYPE", + "comparisonInfo": { + "comparison": "EQUALS", + "negate": false, + "type": "SERVICE_TYPE", + "value": "DATABASE_SERVICE", + "values": null + } + }, + { + "attribute": "SERVICE_DISPLAY_NAME", + "comparisonInfo": { + "caseSensitive": false, + "comparison": "CONTAINS", + "negate": false, + "type": "FAST_STRING", + "value": "casa", + "values": null + } + } + ], + "dimensionDefinition": { + "dimension": "{Request:Name}", + "name": "Dimension", + "placeholders": [], + "topX": 100, + "topXAggregation": "AVERAGE", + "topXDirection": "DESCENDING" + }, + "enabled": true, + "entityId": null, + "managementZones": [], + "metadata": { + "clusterVersion": "1.220.96.20210701-171424", + "configurationVersions": [ + 0 + ] + }, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "name": "{{.name}}", + "tsmMetricKey": "calc:service.casa_db_response_time_per_statement", + "unit": "MICRO_SECOND", + "unitDisplayName": null +} \ No newline at end of file