From f1e391980c0f29ebb129aca199eb709a0ac5245d Mon Sep 17 00:00:00 2001 From: ermisw Date: Tue, 13 Jul 2021 16:37:43 +0200 Subject: [PATCH] Dashboards & Metriken --- .../SVMS-http-status-405-599.json | 122 ++++++++--------- ...onse-time-average-check-preconditions.json | 104 +++++++------- ...esponse-time-average-confirm-mappings.json | 104 +++++++------- ...-response-time-average-mapping-status.json | 104 +++++++------- ...S-response-time-average-start-mapping.json | 104 +++++++------- ...MS-response-time-average-vehicle-list.json | 104 +++++++------- .../SVMS-successful-confirm-mapping.json | 76 ----------- .../SVMS-successful-start-mappings.json | 76 ----------- .../Viewam-proxymapping5xxerrors.json | 51 ------- .../Viewam-proxyrestForwardHttpStatus.json | 54 -------- .../calculated-metrics-service.yaml | 127 +++++++++++++----- .../view_am-proxy_restforward_httpstatus.json | 54 ++++++++ 12 files changed, 470 insertions(+), 610 deletions(-) delete mode 100644 BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-confirm-mapping.json delete mode 100644 BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-start-mappings.json delete mode 100644 BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxymapping5xxerrors.json delete mode 100644 BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxyrestForwardHttpStatus.json create mode 100644 BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/view_am-proxy_restforward_httpstatus.json diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-http-status-405-599.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-http-status-405-599.json index bf5224ca..356bfb6a 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-http-status-405-599.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-http-status-405-599.json @@ -1,63 +1,63 @@ { - "conditions": [ - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "GREATER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 405, - "values": null - } - }, - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "LOWER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 599, - "values": null - } - }, - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "All requests", - "name": "Dimension", - "placeholders": [], - "topX": 100, - "topXAggregation": "SINGLE_VALUE", - "topXDirection": "DESCENDING" - }, - "enabled": true, - "entityId": null, - "managementZones": [], - "metadata": { - "clusterVersion": "1.220.96.20210701-171424", - "configurationVersions": [ - 0 - ] - }, - "metricDefinition": { - "metric": "REQUEST_COUNT", - "requestAttribute": null - }, - "name": "{{.name}}", - "tsmMetricKey": "calc:service.svms_http_status_405_599", - "unit": "COUNT", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_http_status_405_599", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "REQUEST_COUNT", + "requestAttribute": null + }, + "unit": "COUNT", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "HTTP_STATUS", + "comparisonInfo": { + "type": "NUMBER", + "comparison": "GREATER_THAN_OR_EQUAL", + "value": 405, + "values": null, + "negate": false + } + }, + { + "attribute": "HTTP_STATUS", + "comparisonInfo": { + "type": "NUMBER", + "comparison": "LOWER_THAN_OR_EQUAL", + "value": 599, + "values": null, + "negate": false + } + }, + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "All requests", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "SINGLE_VALUE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-check-preconditions.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-check-preconditions.json index 188b940b..acec7bd3 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-check-preconditions.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-check-preconditions.json @@ -1,54 +1,54 @@ { - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "checkPreconditionsV4", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "{Request:Name}", - "name": "Dimension", - "placeholders": [], - "topX": 10, - "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.svms_response_time_average_check_preconditions", - "unit": "MICRO_SECOND", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_response_time_average_check_preconditions", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "unit": "MICRO_SECOND", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "REQUEST_NAME", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "checkPreconditionsV4", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{Request:Name}", + "placeholders": [], + "topX": 10, + "topXDirection": "DESCENDING", + "topXAggregation": "AVERAGE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-confirm-mappings.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-confirm-mappings.json index bcfde0d4..ac33fbd5 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-confirm-mappings.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-confirm-mappings.json @@ -1,54 +1,54 @@ { - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "confirmV4", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "{Service: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.svms_response_time_average_confirm_mappings", - "unit": "MICRO_SECOND", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_response_time_average_confirm_mappings", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "unit": "MICRO_SECOND", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "REQUEST_NAME", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "confirmV4", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{Service:Name}", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "AVERAGE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-mapping-status.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-mapping-status.json index 2fabc868..22f97be2 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-mapping-status.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-mapping-status.json @@ -1,54 +1,54 @@ { - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "getMappingStatusV4", - "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.svms_response_time_average_mapping_status", - "unit": "MICRO_SECOND", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_response_time_average_mapping_status", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "unit": "MICRO_SECOND", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "REQUEST_NAME", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "getMappingStatusV4", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{Request:Name}", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "AVERAGE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-start-mapping.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-start-mapping.json index ad7b2c3f..194ee736 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-start-mapping.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-start-mapping.json @@ -1,54 +1,54 @@ { - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "mapV4", - "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.svms_response_time_average_start_mapping", - "unit": "MICRO_SECOND", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_response_time_average_start_mapping", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "unit": "MICRO_SECOND", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "REQUEST_NAME", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "mapV4", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{Request:Name}", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "AVERAGE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-vehicle-list.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-vehicle-list.json index fdcbbb0a..a771e168 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-vehicle-list.json +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-response-time-average-vehicle-list.json @@ -1,54 +1,54 @@ { - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "getVehiclesListV2", - "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.svms_response_time_average_vehicle_list", - "unit": "MICRO_SECOND", - "unitDisplayName": null + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.svms_response_time_average_vehicle_list", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "RESPONSE_TIME", + "requestAttribute": null + }, + "unit": "MICRO_SECOND", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-svms" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "REQUEST_NAME", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "getVehiclesListV2", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{Request:Name}", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "AVERAGE" + } } \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-confirm-mapping.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-confirm-mapping.json deleted file mode 100644 index 118c02c9..00000000 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-confirm-mapping.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "conditions": [ - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "GREATER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 200, - "values": null - } - }, - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "LOWER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 399, - "values": null - } - }, - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "confirmV4", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "All requests", - "name": "Dimension", - "placeholders": [], - "topX": 100, - "topXAggregation": "SINGLE_VALUE", - "topXDirection": "DESCENDING" - }, - "enabled": true, - "entityId": null, - "managementZones": [ - "CD_am-svms" - ], - "metadata": { - "clusterVersion": "1.220.96.20210701-171424", - "configurationVersions": [ - 0 - ] - }, - "metricDefinition": { - "metric": "REQUEST_COUNT", - "requestAttribute": null - }, - "name": "{{.name}}", - "tsmMetricKey": "calc:service.svms_successful_confirm_mapping", - "unit": "COUNT", - "unitDisplayName": null -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-start-mappings.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-start-mappings.json deleted file mode 100644 index 6c1d623c..00000000 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/SVMS-successful-start-mappings.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "conditions": [ - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "GREATER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 200, - "values": null - } - }, - { - "attribute": "HTTP_STATUS", - "comparisonInfo": { - "comparison": "LOWER_THAN_OR_EQUAL", - "negate": false, - "type": "NUMBER", - "value": 399, - "values": null - } - }, - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-svms" - }, - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "mapV4", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "All requests", - "name": "Dimension", - "placeholders": [], - "topX": 100, - "topXAggregation": "SINGLE_VALUE", - "topXDirection": "DESCENDING" - }, - "enabled": true, - "entityId": null, - "managementZones": [ - "CD_am-svms" - ], - "metadata": { - "clusterVersion": "1.220.96.20210701-171424", - "configurationVersions": [ - 0 - ] - }, - "metricDefinition": { - "metric": "REQUEST_COUNT", - "requestAttribute": null - }, - "name": "{{.name}}", - "tsmMetricKey": "calc:service.svms_successful_start_mappings", - "unit": "COUNT", - "unitDisplayName": null -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxymapping5xxerrors.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxymapping5xxerrors.json deleted file mode 100644 index 51e7509c..00000000 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxymapping5xxerrors.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "conditions": [ - { - "attribute": "REQUEST_TYPE", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "EQUALS", - "negate": false, - "type": "STRING", - "value": "Dynamic web requests", - "values": null - } - }, - { - "attribute": "REQUEST_NAME", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "me/mapping", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "{Request:Name}", - "name": "Dimension", - "placeholders": [], - "topX": 100, - "topXAggregation": "SUM", - "topXDirection": "DESCENDING" - }, - "enabled": true, - "entityId": "SERVICE-8171EAA489B88DFF", - "managementZones": [], - "metadata": { - "clusterVersion": "1.220.96.20210701-171424", - "configurationVersions": [ - 0 - ] - }, - "metricDefinition": { - "metric": "HTTP_5XX_ERROR_COUNT", - "requestAttribute": null - }, - "name": "{{.name}}", - "tsmMetricKey": "calc:service.view_am_proxy_mapping_5xx_errors", - "unit": "COUNT", - "unitDisplayName": null -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxyrestForwardHttpStatus.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxyrestForwardHttpStatus.json deleted file mode 100644 index aebc7196..00000000 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/Viewam-proxyrestForwardHttpStatus.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "conditions": [ - { - "attribute": "SERVICE_TAG", - "comparisonInfo": { - "comparison": "EQUALS", - "negate": false, - "type": "TAG", - "value": { - "context": "CONTEXTLESS", - "key": "Component", - "value": "am-proxy" - }, - "values": null - } - }, - { - "attribute": "WEBREQUEST_RELATIVE_URL", - "comparisonInfo": { - "caseSensitive": false, - "comparison": "CONTAINS", - "negate": false, - "type": "STRING", - "value": "restForward", - "values": null - } - } - ], - "dimensionDefinition": { - "dimension": "{HTTP-Status}", - "name": "Dimension", - "placeholders": [], - "topX": 100, - "topXAggregation": "SINGLE_VALUE", - "topXDirection": "DESCENDING" - }, - "enabled": true, - "entityId": null, - "managementZones": [], - "metadata": { - "clusterVersion": "1.220.96.20210701-171424", - "configurationVersions": [ - 0 - ] - }, - "metricDefinition": { - "metric": "REQUEST_COUNT", - "requestAttribute": null - }, - "name": "{{.name}}", - "tsmMetricKey": "calc:service.view_am_proxy_restforward_httpstatus", - "unit": "COUNT", - "unitDisplayName": null -} \ No newline at end of file diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/calculated-metrics-service.yaml b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/calculated-metrics-service.yaml index 248c5ba9..fffc273c 100644 --- a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/calculated-metrics-service.yaml +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/calculated-metrics-service.yaml @@ -1,36 +1,99 @@ config: -- CDam-proxy-mapping-5xx-errors: Viewam-proxymapping5xxerrors.json -- CDam-proxy-rest-forward-http-status: Viewam-proxyrestForwardHttpStatus.json -- SVMS-http-status-405-599: SVMS-http-status-405-599.json #SVMS-http-status-405-599 -- SVMS-response-time-average-check-preconditions: SVMS-response-time-average-check-preconditions.json +- svms-http-status-405-599: svms-http-status-405-599.json +- svms-response-time-average-confirm-mappings: svms-response-time-average-confirm-mappings.json +- svms-response-time-average-start-mapping: svms-response-time-average-start-mapping.json +- svms-response-time-average-check-preconditions: svms-response-time-average-check-preconditions.json +- svms-response-time-average-mapping-status: svms-response-time-average-mapping-status.json +- svms-response-time-average-vehicle-list: svms-response-time-average-vehicle-list.json +- view_am-proxy_restforward_httpstatus: view_am-proxy_restforward_httpstatus.json +view_am-proxy_restforward_httpstatus: +- name: View_am-proxy_restForward_HttpStatus +- skipDeployment: 'true' +view_am-proxy_restforward_httpstatus.CN-Prod: +- name: View_am-proxy_restForward_HttpStatus +- skipDeployment: 'false' +view_am-proxy_restforward_httpstatus.EMEA-Prod: +- name: View_am-proxy_restForward_HttpStatus +- skipDeployment: 'true' +view_am-proxy_restforward_httpstatus.NA-Prod: +- name: View_am-proxy_restForward_HttpStatus +- skipDeployment: 'false' -#CDam-proxy-mapping-5xx-errors: -#- name: View_am-proxy_mapping_5xx_errors -#- entityId: SERVICE-8171EAA489B88DFF -#- skipDeployment: "true" -#CDam-proxy-mapping-5xx-errors.EMEA-Prod: -#- name: View_am-proxy_mapping_5xx_errors -#- entityId: SERVICE-8171EAA489B88DFF -#- skipDeployment: "true" -#CDam-proxy-mapping-5xx-errors.NA-Prod: -#- name: View_am-proxy_mapping_5xx_errors -#- entityId: SERVICE-8171EAA489B88DFF -#- skipDeployment: "false" -#CDam-proxy-mapping-5xx-errors.CN-Prod: -#- name: View_am-proxy_mapping_5xx_errors -#- entityId: SERVICE-8171EAA489B88DFF -#- skipDeployment: "false" +svms-http-status-405-599: +- name: SVMS-http-status-405-599 +- skipDeployment: 'true' +svms-http-status-405-599.CN-Prod: +- name: SVMS-http-status-405-599 +- skipDeployment: 'false' +svms-http-status-405-599.EMEA-Prod: +- name: SVMS-http-status-405-599 +- skipDeployment: 'true' +svms-http-status-405-599.NA-Prod: +- name: SVMS-http-status-405-599 +- skipDeployment: 'false' -CDam-proxy-rest-forward-http-status: -- name: View_am-proxy_restForward_HttpStatus -- skipDeployment: "true" -CDam-proxy-rest-forward-http-status.EMEA-Prod: -- name: View_am-proxy_restForward_HttpStatus -- skipDeployment: "true" -CDam-proxy-rest-forward-http-status.NA-Prod: -- name: View_am-proxy_restForward_HttpStatus -- skipDeployment: "false" -CDam-proxy-rest-forward-http-status.CN-Prod: -- name: View_am-proxy_restForward_HttpStatus -- skipDeployment: "false" \ No newline at end of file +svms-response-time-average-check-preconditions: +- name: SVMS-response-time-average-check-preconditions +- skipDeployment: 'true' +svms-response-time-average-check-preconditions.CN-Prod: +- name: SVMS-response-time-average-check-preconditions +- skipDeployment: 'false' +svms-response-time-average-check-preconditions.EMEA-Prod: +- name: SVMS-response-time-average-check-preconditions +- skipDeployment: 'true' +svms-response-time-average-check-preconditions.NA-Prod: +- name: SVMS-response-time-average-check-preconditions +- skipDeployment: 'false' + +svms-response-time-average-confirm-mappings: +- name: SVMS-response-time-average-confirm-mappings +- skipDeployment: 'true' +svms-response-time-average-confirm-mappings.CN-Prod: +- name: SVMS-response-time-average-confirm-mappings +- skipDeployment: 'false' +svms-response-time-average-confirm-mappings.EMEA-Prod: +- name: SVMS-response-time-average-confirm-mappings +- skipDeployment: 'true' +svms-response-time-average-confirm-mappings.NA-Prod: +- name: SVMS-response-time-average-confirm-mappings +- skipDeployment: 'false' + +svms-response-time-average-mapping-status: +- name: SVMS-response-time-average-mapping-status +- skipDeployment: 'true' +svms-response-time-average-mapping-status.CN-Prod: +- name: SVMS-response-time-average-mapping-status +- skipDeployment: 'false' +svms-response-time-average-mapping-status.EMEA-Prod: +- name: SVMS-response-time-average-mapping-status +- skipDeployment: 'true' +svms-response-time-average-mapping-status.NA-Prod: +- name: SVMS-response-time-average-mapping-status +- skipDeployment: 'false' + +svms-response-time-average-start-mapping: +- name: SVMS-response-time-average-start-mapping +- skipDeployment: 'true' +svms-response-time-average-start-mapping.CN-Prod: +- name: SVMS-response-time-average-start-mapping +- skipDeployment: 'false' +svms-response-time-average-start-mapping.EMEA-Prod: +- name: SVMS-response-time-average-start-mapping +- skipDeployment: 'true' +svms-response-time-average-start-mapping.NA-Prod: +- name: SVMS-response-time-average-start-mapping +- skipDeployment: 'false' + +svms-response-time-average-vehicle-list: +- name: SVMS-response-time-average-vehicle-list +- skipDeployment: 'true' +svms-response-time-average-vehicle-list.CN-Prod: +- name: SVMS-response-time-average-vehicle-list +- skipDeployment: 'false' +svms-response-time-average-vehicle-list.EMEA-Prod: +- name: SVMS-response-time-average-vehicle-list +- skipDeployment: 'true' +svms-response-time-average-vehicle-list.NA-Prod: +- name: SVMS-response-time-average-vehicle-list +- skipDeployment: 'false' diff --git a/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/view_am-proxy_restforward_httpstatus.json b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/view_am-proxy_restforward_httpstatus.json new file mode 100644 index 00000000..e3f37687 --- /dev/null +++ b/BMW-Dynatrace-config/CD_am-proxy/calculated-metrics-service/view_am-proxy_restforward_httpstatus.json @@ -0,0 +1,54 @@ +{ + "metadata": { + "configurationVersions": [ + 0 + ], + "clusterVersion": "1.220.96.20210701-171424" + }, + "tsmMetricKey": "calc:service.view_am_proxy_restforward_httpstatus", + "name": "{{.name}}", + "enabled": true, + "metricDefinition": { + "metric": "REQUEST_COUNT", + "requestAttribute": null + }, + "unit": "COUNT", + "unitDisplayName": null, + "entityId": null, + "managementZones": [], + "conditions": [ + { + "attribute": "SERVICE_TAG", + "comparisonInfo": { + "type": "TAG", + "comparison": "EQUALS", + "value": { + "context": "CONTEXTLESS", + "key": "Component", + "value": "am-proxy" + }, + "values": null, + "negate": false + } + }, + { + "attribute": "WEBREQUEST_RELATIVE_URL", + "comparisonInfo": { + "type": "STRING", + "comparison": "CONTAINS", + "value": "restForward", + "values": null, + "negate": false, + "caseSensitive": false + } + } + ], + "dimensionDefinition": { + "name": "Dimension", + "dimension": "{HTTP-Status}", + "placeholders": [], + "topX": 100, + "topXDirection": "DESCENDING", + "topXAggregation": "SINGLE_VALUE" + } +} \ No newline at end of file