diff --git a/EMEA_PROD/alerting/cd_am-store_prod.tf b/EMEA_PROD/alerting/cd_am-store_prod.tf new file mode 100644 index 00000000..60f08829 --- /dev/null +++ b/EMEA_PROD/alerting/cd_am-store_prod.tf @@ -0,0 +1,38 @@ +# DEFINE dynatrace_alerting.CD_am-store_PROD.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQ1MWFiZTk5MC1mMTQzLTNjODgtYWU3MS1kMjY0MDFjOTAwMzG-71TeFdrerQ +data "dynatrace_management_zone" "CD_am-store_PROD"{ name="CD_am-store" } +resource "dynatrace_alerting" "CD_am-store_PROD" { + name = "CD_am-store PROD" + management_zone = data.dynatrace_management_zone.CD_am-store_PROD.id + filters { + filter { + custom { + title { + enabled = true + # case_sensitive = false + negate = true + operator = "CONTAINS" + value = "Wirkkette \"CD Store Mobile\" - Reliability of key requests" + } + } + } + } + rules { + rule { + delay_in_minutes = 0 + include_mode = "INCLUDE_ALL" + severity_level = "AVAILABILITY" + tags = [ "Component:am-store", "Environment:PROD", "service name:StoreOfferResourceV6" ] + } + rule { + delay_in_minutes = 10 + include_mode = "NONE" + severity_level = "CUSTOM_ALERT" + } + rule { + delay_in_minutes = 10 + include_mode = "INCLUDE_ALL" + severity_level = "ERRORS" + tags = [ "Component:am-store", "service name:StoreOfferResourceV6", "Environment:PROD" ] + } + } +} \ No newline at end of file diff --git a/EMEA_PROD/dashboard/cd_am-store_e2e.tf b/EMEA_PROD/dashboard/cd_am-store_e2e.tf new file mode 100644 index 00000000..87f185fe --- /dev/null +++ b/EMEA_PROD/dashboard/cd_am-store_e2e.tf @@ -0,0 +1,324 @@ +# DEFINE dynatrace_dashboard.CD_am-store_E2E.id = c2f24aec-7ffe-4fdf-b254-83afc4929687 +data "dynatrace_management_zone" "CD_am-store_E2E"{ name="CD_am-store" } +resource "dynatrace_dashboard" "CD_am-store_E2E" { + dashboard_metadata { + name = "CD_am-store E2E" + owner = "Ignacio.Goldman@partner.bmwgroup.com" + preset = true + shared = true + tags = [ "am-store" ] + unknowns = jsonencode({ + "popularity": 1 + }) + filter { + timeframe = "-24h to now" + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 38 + top = 228 + width = 1064 + } + filter_config { + type = "MIXED" + custom_name = "Failure rate (HTTP 4xx/5xx errors)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#ff0000" + key = "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE" + last_modified = 1617956393463 + } + config { + custom_color = "#fff29a" + key = "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE" + last_modified = 1617956441725 + } + } + series { + type = "BAR" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.fourxx.rate" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.fivexx.rate" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Environment:E2E", "Component:am-store" ] + } + } + } + } + } + tile { + name = "Problems" + configured = true + tile_type = "OPEN_PROBLEMS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 950 + top = 38 + width = 152 + } + filter { + management_zone { + name = "CD_am-store" + id = data.dynatrace_management_zone.CD_am-store_E2E.id + } + } + } + tile { + name = "Overall Health" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 0 + width = 1064 + } + } + tile { + name = "Markdown" + configured = true + markdown =<<-EOT + --- + + EOT + tile_type = "MARKDOWN" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 532 + width = 1064 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 38 + top = 570 + width = 1064 + } + filter_config { + type = "MIXED" + custom_name = "Response time, Request Count and Number of Errors" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE" + last_modified = 1595275720776 + } + config { + custom_color = "#b4e5f9" + key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE" + last_modified = 1595275686773 + } + config { + custom_color = "#ef651f" + key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE" + last_modified = 1595275955999 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.response.time" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.requestCount.total" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.total.count" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Environment:E2E", "Component:am-store" ] + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown =<<-EOT + --- + + EOT + tile_type = "MARKDOWN" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 190 + width = 1064 + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "DATABASES_OVERVIEW" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 646 + top = 38 + width = 190 + } + filter_config { + type = "DATABASE" + custom_name = "Databases" + default_name = "Databases" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "DATABASE" + match { + key = "AUTO_TAGS" + values = [ "Environment:E2E", "Component:am-store" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "SERVICES" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 342 + top = 38 + width = 190 + } + filter_config { + type = "SERVICE" + custom_name = "Services" + default_name = "Services" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Environment:E2E", "Component:am-store" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "HOSTS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 38 + top = 38 + width = 190 + } + filter_config { + type = "HOST" + custom_name = "Hosts" + default_name = "Hosts" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "HOST" + match { + key = "AUTO_TAGS" + values = [ "Environment:E2E", "Component:am-store" ] + } + } + } + } + } +} \ No newline at end of file diff --git a/EMEA_PROD/dashboard/cd_am-store_prod-emea.tf b/EMEA_PROD/dashboard/cd_am-store_prod-emea.tf new file mode 100644 index 00000000..930a0011 --- /dev/null +++ b/EMEA_PROD/dashboard/cd_am-store_prod-emea.tf @@ -0,0 +1,2467 @@ +# DEFINE dynatrace_dashboard.CD_am-store_PROD-EMEA.id = e3fa1fed-ac3d-4c21-b1ee-e7f27d6cae3a +data "dynatrace_management_zone" "CD_am-store_PROD-EMEA"{ name="CD_am-store" } +resource "dynatrace_dashboard" "CD_am-store_PROD-EMEA" { + dashboard_metadata { + name = "CD_am-store PROD-EMEA" + owner = "Aziza.Grimm@partner.bmw.de" + # preset = false + shared = true + tags = [ "am-store" ] + unknowns = jsonencode({ + "popularity": 1 + }) + filter { + timeframe = "-24h to now" + } + } + tile { + name = "Problems" + configured = true + tile_type = "OPEN_PROBLEMS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 532 + top = 38 + width = 152 + } + filter { + management_zone { + name = "CD_am-store" + id = data.dynatrace_management_zone.CD_am-store_PROD-EMEA.id + } + } + } + tile { + name = "Overall Health" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 0 + width = 1140 + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "DATABASES_OVERVIEW" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 266 + left = 342 + top = 38 + width = 190 + } + filter_config { + type = "DATABASE" + custom_name = "Databases" + default_name = "Databases" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "DATABASE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "SERVICES" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 266 + left = 190 + top = 38 + width = 152 + } + filter_config { + type = "SERVICE" + custom_name = "Services" + default_name = "Services" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "HOSTS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 266 + left = 0 + top = 38 + width = 190 + } + filter_config { + type = "HOST" + custom_name = "Hosts" + default_name = "Hosts" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "HOST" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "Service or request" + assigned_entities = [ "SERVICE_METHOD-A2C2CDC7AA551F5F", "SERVICE-2BF6A12A7CECE881" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 0 + top = 3116 + width = 342 + } + } + tile { + name = "StoreBasketResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-A77E2B0BA1B488DB", "SERVICE-4E37387AD5AC58F7" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 342 + left = 0 + top = 2394 + width = 418 + } + } + tile { + name = "VouchersResourceV1 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-12DCB012FC4E3D73", "SERVICE-3E1D695E30479D90" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 0 + top = 3762 + width = 1140 + } + } + tile { + name = "StoreSubmitResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-5FFA24749EBEEEAA", "SERVICE-213E0DD4E94EDABA" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 342 + left = 0 + top = 950 + width = 646 + } + } + tile { + name = "IBM MQ Queue Listener - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-ED365AAC0A878646", "SERVICE-0A7B4C1DC256A898" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 0 + top = 4104 + width = 1140 + } + } + tile { + name = "StoreProviderV2 - buffet-if* - prod" + assigned_entities = [ "SERVICE_METHOD-24607A4EA75358FE", "SERVICE-E798163F5A075EAD" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 0 + top = 3420 + width = 342 + } + } + tile { + name = "StoreOfferResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-12BA06A29F58D167", "SERVICE-F12F50114AAA1FAE" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 798 + top = 3116 + width = 342 + } + } + tile { + name = "StoreOfferResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-0A3487D9CB46209B", "SERVICE-2BF6A12A7CECE881" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 342 + left = 0 + top = 2774 + width = 608 + } + } + tile { + name = "StoreOfferResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-AAF72C67CEBA6F6A", "SERVICE-2BF6A12A7CECE881" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 342 + top = 3116 + width = 456 + } + } + tile { + name = "StoreOfferResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-A43AF100E7D290D7", "SERVICE-2BF6A12A7CECE881" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 342 + top = 3420 + width = 798 + } + } + tile { + name = "StoreOrderResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE_METHOD-BD79E8B0305E1C5B", "SERVICE-89ED9A710B048CBB" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 0 + top = 2052 + width = 608 + } + } + tile { + name = "Response time, Request Count and Number of Errors" + configured = true + custom_name = "Response time, Request Count and Number of Errors" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names,(builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "id": "A", + "metricSelector": "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "rate": "NONE", + "splitBy": [], + "timeAggregation": "DEFAULT" + }, + { + "enabled": true, + "id": "B", + "metricSelector": "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "rate": "NONE", + "splitBy": [], + "timeAggregation": "DEFAULT" + }, + { + "enabled": true, + "id": "C", + "metricSelector": "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:am-store~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "rate": "NONE", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [ + { + "defaultAxis": true, + "displayName": "", + "max": "AUTO", + "min": "AUTO", + "position": "LEFT", + "queryIds": [ + "A" + ], + "visible": true + }, + { + "defaultAxis": true, + "displayName": "", + "max": "AUTO", + "min": "AUTO", + "position": "RIGHT", + "queryIds": [ + "B", + "C" + ], + "visible": true + } + ] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + }, + { + "matcher": "B:", + "properties": { + "color": "DEFAULT", + "seriesType": "COLUMN" + }, + "seriesOverrides": [] + }, + { + "matcher": "C:", + "properties": { + "color": "DEFAULT", + "seriesType": "COLUMN" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "GRAPH_CHART" + } + }) + bounds { + height = 266 + left = 0 + top = 646 + width = 1140 + } + } + tile { + name = "HTTP requests without client side errors" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.client.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"activateOnlineEntertainment~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getOffersByVin~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getMarketOffers~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStorePrivateCart~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStoreCart~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getOffersAndPortfolio~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"submitOrderV6~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"retrieveOffer~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"checkout~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getOffers~\")\")),in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"checkOfferValidityForVin~\")\"))))):splitBy(\"dt.entity.service_method\"):avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getOffersByVin" + }, + { + "evaluator": "IN", + "value": "getMarketOffers" + }, + { + "evaluator": "IN", + "value": "retrieveOffer" + }, + { + "evaluator": "IN", + "value": "getOffers" + }, + { + "evaluator": "IN", + "value": "submitOrderV6" + }, + { + "evaluator": "IN", + "value": "getOffersAndPortfolio" + }, + { + "evaluator": "IN", + "value": "activateOnlineEntertainment" + }, + { + "evaluator": "IN", + "value": "checkout" + }, + { + "evaluator": "IN", + "value": "getStorePrivateCart" + }, + { + "evaluator": "IN", + "value": "getStoreCart" + }, + { + "evaluator": "IN", + "value": "checkOfferValidityForVin" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.client.successCount", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [ + "dt.entity.service_method" + ], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Number of calls without client side errors", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 266 + left = 684 + top = 38 + width = 456 + } + } + tile { + name = "SubmitOrderV6 HTTP requests Success count" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.client.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"submitOrderV6~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "submitOrderV6" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.client.successCount", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Number of calls without client side errors", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 950 + width = 494 + } + } + tile { + name = "Service or request" + assigned_entities = [ "SERVICE_METHOD-5062879A1E41D0CD", "SERVICE-C34A40CE1F496E96" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 342 + left = 0 + top = 1330 + width = 646 + } + } + tile { + name = "Service or request" + assigned_entities = [ "SERVICE_METHOD-2FDADF822F1FE7E3", "SERVICE-C34A40CE1F496E96" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 342 + left = 0 + top = 1672 + width = 646 + } + } + tile { + name = "HTTP requests Success count" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.client.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStoreCart~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStoreCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.client.successCount", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Number of calls without client side errors", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1330 + width = 494 + } + } + tile { + name = "Failure rate(HTTP 5xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStoreCart~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStoreCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1444 + width = 494 + } + } + tile { + name = "Failure rate(HTTP 4xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fourxx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStoreCart~\")\"))))):splitBy(\"dt.entity.service_method\"):avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStoreCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fourxx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [ + "dt.entity.service_method" + ], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1558 + width = 494 + } + } + tile { + name = "HTTP requests Success count" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.client.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStorePrivateCart~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStorePrivateCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.client.successCount", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Number of calls without client side errors", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1672 + width = 494 + } + } + tile { + name = "Failure rate(HTTP 5xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStorePrivateCart~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStorePrivateCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1786 + width = 494 + } + } + tile { + name = "Failure rate(HTTP 4xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fourxx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"getStorePrivateCart~\")\"))))):splitBy(\"dt.entity.service_method\"):avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "getStorePrivateCart" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fourxx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [ + "dt.entity.service_method" + ], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1900 + width = 494 + } + } + tile { + name = "SUBMIT V6 Create order" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 912 + width = 1140 + } + } + tile { + name = "Store performance" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 304 + width = 1140 + } + } + tile { + name = "Calculate shopping cart" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 1292 + width = 1140 + } + } + tile { + name = "Checkout (check customer data for payment,BFF,GCDM)" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 2014 + width = 1140 + } + } + tile { + name = "StoreOfferResourceV6 - am-store - prod" + assigned_entities = [ "SERVICE-2C3F0AE344483BAC" ] + configured = true + tile_type = "SERVICE_VERSATILE" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 608 + top = 2052 + width = 532 + } + } + tile { + name = "Basket validation- /am-store/store/v6/basket/vin/validation" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 2356 + width = 1140 + } + } + tile { + name = "Offer browsing" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 2736 + width = 1140 + } + } + tile { + name = "Redeem voucher" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 3724 + width = 1140 + } + } + tile { + name = "STORE queues" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 0 + top = 4066 + width = 1140 + } + } + tile { + name = "Failure rate(HTTP 5xx errors)-submitStorev6" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"submitOrderV6~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "submitOrderV6" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540", + "value": 0 + }, + { + "color": "#f5d30f", + "value": 3 + }, + { + "color": "#dc172a", + "value": 5 + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1064 + width = 494 + } + } + tile { + name = "Failure rate(HTTP 4xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fourxx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName(~\"submitOrderV6~\")\"))))):splitBy(\"dt.entity.service_method\"):avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "value": "submitOrderV6" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fourxx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [ + "dt.entity.service_method" + ], + "timeAggregation": "DEFAULT" + } + ], + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540", + "value": 0 + }, + { + "color": "#f5d30f", + "value": 3 + }, + { + "color": "#dc172a", + "value": 5 + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 646 + top = 1178 + width = 494 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "a01cc45e-8369-3623-a156-1b261e6f4c98" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=AM-Store - checkOfferValidityForVin Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 0 + top = 494 + width = 380 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "15c29ec3-71a7-3298-9e99-aad2e5bf347c" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=AM-Store - getOffersAndPortfolio Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 0 + top = 342 + width = 380 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "caf17e8e-5459-3fbc-b074-f6a7b7616ee8" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=AM-Store - retrieveOffer Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 380 + top = 342 + width = 380 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "0ea3ed9f-141c-363e-9fa9-7a3601d0a136" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=AM-Store - submitOrderv6 Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 760 + top = 342 + width = 380 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "e315e811-69fc-3758-99b9-49dcb47daa09" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=BFF - getStoreCart Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 380 + top = 494 + width = 380 + } + } + tile { + name = "Service-level objective" + assigned_entities = [ "8297a4a8-83ea-3638-983f-75e467c4fd0e" ] + configured = true + metric = "METRICS=true;LEGEND=true;PROBLEMS=true;decimals=10;customTitle=BFF - getStorePrivateCart Success Rate;" + tile_type = "SLO" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 760 + top = 494 + width = 380 + } + } + tile { + name = "Failure rate(HTTP 5xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName.equals(~\"getOffersAndPortfolio~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "matchExactly": true, + "value": "getOffersAndPortfolio" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 608 + top = 2888 + width = 532 + } + } + tile { + name = "Failure rate(HTTP 4xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fourxx.rate:splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "nestedFilters": [] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fourxx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 608 + top = 3002 + width = 532 + } + } + tile { + name = "Number of calls withour errors" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName.equals(~\"getOffersAndPortfolio~\")\"))))):splitBy():sum:auto:sort(value(sum,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "matchExactly": true, + "value": "getOffersAndPortfolio" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.successCount", + "rate": "NONE", + "spaceAggregation": "SUM", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 608 + top = 2774 + width = 532 + } + } + tile { + name = "Number of calls withour errors" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.successCount:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName.equals(~\"checkOfferValidityForVin~\")\"))))):splitBy():sum:auto:sort(value(sum,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "matchExactly": true, + "value": "checkOfferValidityForVin" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.successCount", + "rate": "NONE", + "spaceAggregation": "SUM", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 418 + top = 2394 + width = 380 + } + } + tile { + name = "Failure rate(HTTP 5xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fivexx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName.equals(~\"checkOfferValidityForVin~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "matchExactly": true, + "value": "checkOfferValidityForVin" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fivexx.rate", + "rate": "NONE", + "spaceAggregation": "AVG", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 418 + top = 2508 + width = 380 + } + } + tile { + name = "Failure rate(HTTP 4xx errors)" + configured = true + custom_name = "Failure rate(HTTP 5xx errors)" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=Inf\u0026(builtin:service.keyRequest.errors.fourxx.rate:filter(and(or(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityName.equals(~\"checkOfferValidityForVin~\")\"))))):splitBy():count:auto:sort(value(avg,descending)):limit(20)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "filterBy": { + "criteria": [], + "filterOperator": "AND", + "nestedFilters": [ + { + "criteria": [ + { + "evaluator": "IN", + "matchExactly": true, + "value": "checkOfferValidityForVin" + } + ], + "entityAttribute": "entityName", + "filter": "dt.entity.service_method", + "filterOperator": "OR", + "filterType": "NAME", + "nestedFilters": [] + } + ] + }, + "id": "A", + "metric": "builtin:service.keyRequest.errors.fourxx.rate", + "rate": "NONE", + "spaceAggregation": "COUNT", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "visible": true + }, + "yAxes": [] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "DEFAULT", + "seriesType": "LINE" + }, + "seriesOverrides": [] + } + ], + "tableSettings": {}, + "thresholds": [ + { + "axisTarget": "LEFT", + "columnId": "Failure rate (HTTP 5xx errors)", + "queryId": "", + "rules": [ + { + "color": "#7dc540" + }, + { + "color": "#f5d30f" + }, + { + "color": "#dc172a" + } + ], + "visible": true + } + ], + "type": "TOP_LIST" + } + }) + bounds { + height = 114 + left = 418 + top = 2622 + width = 380 + } + } + tile { + name = "Basket validation 500Err" + configured = true + custom_name = "Data explorer results" + tile_type = "DATA_EXPLORER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false, + "metricExpressions": [ + "resolution=null\u0026(builtin:service.keyRequest.errors.fivexx.count:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-A77E2B0BA1B488DB~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + ], + "queries": [ + { + "enabled": true, + "id": "A", + "metricSelector": "builtin:service.keyRequest.errors.fivexx.count:filter(and(in(\"dt.entity.service_method\",entitySelector(\"type(service_method),entityId(~\"SERVICE_METHOD-A77E2B0BA1B488DB~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "rate": "NONE", + "splitBy": [], + "timeAggregation": "DEFAULT" + } + ], + "queriesSettings": { + "resolution": "" + }, + "visualConfig": { + "axes": { + "xAxis": { + "displayName": "", + "visible": true + }, + "yAxes": [ + { + "defaultAxis": true, + "displayName": "", + "max": "AUTO", + "min": "AUTO", + "position": "LEFT", + "queryIds": [ + "A" + ], + "visible": true + } + ] + }, + "global": { + "hideLegend": false + }, + "graphChartSettings": { + "connectNulls": false + }, + "heatmapSettings": { + "yAxis": "VALUE" + }, + "honeycombSettings": { + "showHive": true, + "showLabels": false, + "showLegend": true + }, + "rules": [ + { + "matcher": "A:", + "properties": { + "color": "RED", + "seriesType": "STACKED_COLUMN" + }, + "seriesOverrides": [], + "valueFormat": "auto" + } + ], + "tableSettings": { + "isThresholdBackgroundAppliedToCell": false + }, + "thresholds": [ + { + "axisTarget": "LEFT", + "queryId": "", + "rules": [ + { + "color": "#7dc540", + "value": 0 + }, + { + "color": "#f5d30f", + "value": 50 + }, + { + "color": "#dc172a", + "value": 100 + } + ], + "visible": true + } + ], + "type": "STACKED_COLUMN" + } + }) + bounds { + height = 342 + left = 798 + top = 2394 + width = 342 + } + } +} +# DEFINE dynatrace_dashboard_sharing.CD_am-store_PROD-EMEA.id = e3fa1fed-ac3d-4c21-b1ee-e7f27d6cae3a +resource "dynatrace_dashboard_sharing" "CD_am-store_PROD-EMEA" { + enabled = true + dashboard_id = dynatrace_dashboard.CD_am-store_PROD-EMEA.id + # preset = false + permissions { + permission { + type = "ALL" + level = "VIEW" + } + permission { + type = "USER" + id = "roland.selmeier@partner.bmw.de" + level = "VIEW" + } + permission { + type = "USER" + id = "dana.langkabel@partner.bmw.de" + level = "VIEW" + } + permission { + type = "GROUP" + id = "a404fb37-6566-4b5c-99f8-9cb679b8d860" + level = "VIEW" + } + } +} \ No newline at end of file diff --git a/EMEA_PROD/dashboard/cd_am-store_prod.tf b/EMEA_PROD/dashboard/cd_am-store_prod.tf new file mode 100644 index 00000000..325949cd --- /dev/null +++ b/EMEA_PROD/dashboard/cd_am-store_prod.tf @@ -0,0 +1,324 @@ +# DEFINE dynatrace_dashboard.CD_am-store_PROD.id = bfd89177-45f2-4751-9a34-497ca07128d4 +data "dynatrace_management_zone" "CD_am-store_PROD"{ name="CD_am-store" } +resource "dynatrace_dashboard" "CD_am-store_PROD" { + dashboard_metadata { + name = "CD_am-store PROD" + owner = "Ignacio.Goldman@partner.bmwgroup.com" + preset = true + shared = true + tags = [ "am-store" ] + unknowns = jsonencode({ + "popularity": 1 + }) + filter { + timeframe = "-24h to now" + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 38 + top = 228 + width = 1064 + } + filter_config { + type = "MIXED" + custom_name = "Failure rate (HTTP 4xx/5xx errors)" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#ff0000" + key = "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE" + last_modified = 1617956393463 + } + config { + custom_color = "#fff29a" + key = "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE" + last_modified = 1617956441725 + } + } + series { + type = "BAR" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.fourxx.rate" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.fivexx.rate" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "Problems" + configured = true + tile_type = "OPEN_PROBLEMS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 950 + top = 38 + width = 152 + } + filter { + management_zone { + name = "CD_am-store" + id = data.dynatrace_management_zone.CD_am-store_PROD.id + } + } + } + tile { + name = "Overall Health" + configured = true + tile_type = "HEADER" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 0 + width = 1064 + } + } + tile { + name = "Markdown" + configured = true + markdown =<<-EOT + --- + + EOT + tile_type = "MARKDOWN" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 532 + width = 1064 + } + } + tile { + name = "Custom chart" + configured = true + tile_type = "CUSTOM_CHARTING" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 304 + left = 38 + top = 570 + width = 1064 + } + filter_config { + type = "MIXED" + custom_name = "Response time, Request Count and Number of Errors" + default_name = "Custom chart" + chart_config { + type = "TIMESERIES" + legend = true + result_metadata { + config { + custom_color = "#008cdb" + key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE" + last_modified = 1595275720776 + } + config { + custom_color = "#b4e5f9" + key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE" + last_modified = 1595275686773 + } + config { + custom_color = "#ef651f" + key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE" + last_modified = 1595275955999 + } + } + series { + type = "LINE" + aggregation = "AVG" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.response.time" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.requestCount.total" + # sort_ascending = false + # sort_column = false + } + series { + type = "BAR" + aggregation = "NONE" + aggregation_rate = "TOTAL" + entity_type = "SERVICE" + metric = "builtin:service.errors.total.count" + # sort_ascending = false + sort_column = true + } + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "Markdown" + configured = true + markdown =<<-EOT + --- + + EOT + tile_type = "MARKDOWN" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 38 + left = 38 + top = 190 + width = 1064 + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "DATABASES_OVERVIEW" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 646 + top = 38 + width = 190 + } + filter_config { + type = "DATABASE" + custom_name = "Databases" + default_name = "Databases" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "DATABASE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "SERVICES" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 342 + top = 38 + width = 190 + } + filter_config { + type = "SERVICE" + custom_name = "Services" + default_name = "Services" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "SERVICE" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } + tile { + name = "" + chart_visible = true + configured = true + tile_type = "HOSTS" + unknowns = jsonencode({ + "isAutoRefreshDisabled": false + }) + bounds { + height = 152 + left = 38 + top = 38 + width = 190 + } + filter_config { + type = "HOST" + custom_name = "Hosts" + default_name = "Hosts" + chart_config { + type = "TIMESERIES" + legend = true + } + filters { + filter { + entity_type = "HOST" + match { + key = "AUTO_TAGS" + values = [ "Component:am-store", "Environment:PROD" ] + } + } + } + } + } +} \ No newline at end of file diff --git a/EMEA_PROD/management_zone/cd_am-store.tf b/EMEA_PROD/management_zone/cd_am-store.tf new file mode 100644 index 00000000..c1aea5a4 --- /dev/null +++ b/EMEA_PROD/management_zone/cd_am-store.tf @@ -0,0 +1,104 @@ +# DEFINE dynatrace_management_zone.CD_am-store.id = -2189390331381689182 +resource "dynatrace_management_zone" "CD_am-store" { + name = "CD_am-store" + dimensional_rule { + enabled = true + applies_to = "METRIC" + condition { + type = "METRIC_KEY" + key = "calc:service.am_store_checkoffervalidityforvin_success_rate" + match = "BEGINS_WITH" + } + } + rules { + type = "CLOUD_APPLICATION" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "CLOUD_APPLICATION_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "am-store" + } + } + } + rules { + type = "CLOUD_APPLICATION_NAMESPACE" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "CLOUD_APPLICATION_NAMESPACE_NAME" + } + string { + case_sensitive = true + # negate = false + operator = "CONTAINS" + value = "am-store" + } + } + } + rules { + type = "HOST" + enabled = true + conditions { + key { + type = "STATIC" + attribute = "HOST_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "am-store" + } + } + } + } + rules { + type = "PROCESS_GROUP" + enabled = true + propagation_types = [ "PROCESS_GROUP_TO_HOST" ] + conditions { + key { + type = "STATIC" + attribute = "PROCESS_GROUP_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "am-store" + } + } + } + } + rules { + type = "SERVICE" + enabled = true + propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ] + conditions { + key { + type = "STATIC" + attribute = "SERVICE_TAGS" + } + tag { + # negate = false + operator = "EQUALS" + value { + context = "CONTEXTLESS" + key = "Component" + value = "am-store" + } + } + } + } +}