From a6e76e20361f363889a68294c8e615776220c7a6 Mon Sep 17 00:00:00 2001 From: Markus Dlugi Date: Fri, 28 Apr 2023 12:39:00 +0200 Subject: [PATCH 1/3] COMFY-1087: Remove reliabilityPerKeyRequest and instead generate it from reliabilityMetricSelector --- _custom_modules/vdm_standard_dashboard/_interface.tf | 4 +--- .../vdm_standard_dashboard/vdm_standard_dashboard.tf | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/_custom_modules/vdm_standard_dashboard/_interface.tf b/_custom_modules/vdm_standard_dashboard/_interface.tf index 3e880dcf..93c6bbc3 100644 --- a/_custom_modules/vdm_standard_dashboard/_interface.tf +++ b/_custom_modules/vdm_standard_dashboard/_interface.tf @@ -12,6 +12,4 @@ variable "appId" { default = "" } variable "reliabilityLink" { default = "https://atc.bmwgroup.net/confluence/x/xzB-VQ" } -variable "reliabilityOverTime" { default = "" } - -variable "reliabilityPerKeyRequest" { default = "" } \ No newline at end of file +variable "reliabilityMetricSelector" { default = "" } \ No newline at end of file diff --git a/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf b/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf index f5f95df8..69339cbb 100644 --- a/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf +++ b/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf @@ -672,7 +672,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : trimspace("${var.reliabilityOverTime}"), + "metricSelector" : trimspace(var.reliabilityMetricSelector), "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -789,7 +789,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : trimspace("${var.reliabilityPerKeyRequest}"), + "metricSelector" : replace(trimspace(var.reliabilityMetricSelector), "splitBy()", "splitBy(\"dt.entity.service_method\")"), "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, From a24fa17a8985e47e81ab177c9757d6e5ef8c702c Mon Sep 17 00:00:00 2001 From: Markus Dlugi Date: Fri, 28 Apr 2023 12:39:47 +0200 Subject: [PATCH 2/3] COMFY-1087: Add all VDM Standard Dashboards for Provisioning applications --- CN_PROD/dashboard/CD_nop_vdm_standard_E2E.tf | 50 +++++++++++++++++++ CN_PROD/dashboard/CD_nop_vdm_standard_PROD.tf | 50 +++++++++++++++++++ CN_PROD/dashboard/CD_nots_vdm_standard_E2E.tf | 27 ++++++++++ .../dashboard/CD_nots_vdm_standard_PROD.tf | 27 ++++++++++ CN_PROD/dashboard/CD_vps_vdm_standard_E2E.tf | 47 +++++++++++++++++ CN_PROD/dashboard/CD_vps_vdm_standard_PROD.tf | 47 +++++++++++++++++ .../dashboard/CD_nop_vdm_standard_E2E.tf | 50 +++++++++++++++++++ .../dashboard/CD_nop_vdm_standard_PROD.tf | 50 +++++++++++++++++++ .../dashboard/CD_nots_vdm_standard_E2E.tf | 18 +------ .../dashboard/CD_nots_vdm_standard_PROD.tf | 27 ++++++++++ .../dashboard/CD_vps_vdm_standard_E2E.tf | 47 +++++++++++++++++ .../dashboard/CD_vps_vdm_standard_PROD.tf | 48 ++++++++++++++++++ NA_PROD/dashboard/CD_nop_vdm_standard_E2E.tf | 50 +++++++++++++++++++ NA_PROD/dashboard/CD_nop_vdm_standard_PROD.tf | 50 +++++++++++++++++++ NA_PROD/dashboard/CD_nots_vdm_standard_E2E.tf | 27 ++++++++++ .../dashboard/CD_nots_vdm_standard_PROD.tf | 27 ++++++++++ NA_PROD/dashboard/CD_vps_vdm_standard_E2E.tf | 47 +++++++++++++++++ NA_PROD/dashboard/CD_vps_vdm_standard_PROD.tf | 47 +++++++++++++++++ 18 files changed, 720 insertions(+), 16 deletions(-) create mode 100644 CN_PROD/dashboard/CD_nop_vdm_standard_E2E.tf create mode 100644 CN_PROD/dashboard/CD_nop_vdm_standard_PROD.tf create mode 100644 CN_PROD/dashboard/CD_nots_vdm_standard_E2E.tf create mode 100644 CN_PROD/dashboard/CD_nots_vdm_standard_PROD.tf create mode 100644 CN_PROD/dashboard/CD_vps_vdm_standard_E2E.tf create mode 100644 CN_PROD/dashboard/CD_vps_vdm_standard_PROD.tf create mode 100644 EMEA_PROD/dashboard/CD_nop_vdm_standard_E2E.tf create mode 100644 EMEA_PROD/dashboard/CD_nop_vdm_standard_PROD.tf create mode 100644 EMEA_PROD/dashboard/CD_nots_vdm_standard_PROD.tf create mode 100644 EMEA_PROD/dashboard/CD_vps_vdm_standard_E2E.tf create mode 100644 EMEA_PROD/dashboard/CD_vps_vdm_standard_PROD.tf create mode 100644 NA_PROD/dashboard/CD_nop_vdm_standard_E2E.tf create mode 100644 NA_PROD/dashboard/CD_nop_vdm_standard_PROD.tf create mode 100644 NA_PROD/dashboard/CD_nots_vdm_standard_E2E.tf create mode 100644 NA_PROD/dashboard/CD_nots_vdm_standard_PROD.tf create mode 100644 NA_PROD/dashboard/CD_vps_vdm_standard_E2E.tf create mode 100644 NA_PROD/dashboard/CD_vps_vdm_standard_PROD.tf diff --git a/CN_PROD/dashboard/CD_nop_vdm_standard_E2E.tf b/CN_PROD/dashboard/CD_nop_vdm_standard_E2E.tf new file mode 100644 index 00000000..4bf1a53d --- /dev/null +++ b/CN_PROD/dashboard/CD_nop_vdm_standard_E2E.tf @@ -0,0 +1,50 @@ +# ID cc530e70-7fbf-432e-9b94-b508a0eaa56a +module CD_nop_vdm_standard_E2E { + + source = "../../_custom_modules/vdm_standard_dashboard" + + dashboardName = "CD_NOP - CN E2E - VDM Standard Dashboard" + tag = "nop" + environment = "E2E" + managementZoneName = "CD_provisioning" + sloName = "VDM - NOP - CN E2E" + appId = "APP-543" + reliabilityLink = "https://atc.bmwgroup.net/confluence/display/CDRVC/Reliability+Measurement#ReliabilityMeasurement-Provisioning(NOP)" + + reliabilityMetricSelector = < Date: Fri, 28 Apr 2023 15:09:22 +0200 Subject: [PATCH 3/3] COMFY-1087: Add appFilter to VDM Standard Dashboard to allow filtering for something different than app-id --- .../vdm_standard_dashboard/_interface.tf | 8 ++- .../vdm_standard_dashboard.tf | 70 +++++++++---------- 2 files changed, 42 insertions(+), 36 deletions(-) diff --git a/_custom_modules/vdm_standard_dashboard/_interface.tf b/_custom_modules/vdm_standard_dashboard/_interface.tf index 93c6bbc3..debda0f2 100644 --- a/_custom_modules/vdm_standard_dashboard/_interface.tf +++ b/_custom_modules/vdm_standard_dashboard/_interface.tf @@ -10,6 +10,12 @@ variable "sloName" { default = null } variable "appId" { default = "" } +variable "appFilter" { default = null } + variable "reliabilityLink" { default = "https://atc.bmwgroup.net/confluence/x/xzB-VQ" } -variable "reliabilityMetricSelector" { default = "" } \ No newline at end of file +variable "reliabilityMetricSelector" { default = "" } + +locals { + appFilter = var.appFilter != null ? var.appFilter : "app-id:${var.appId}" +} \ No newline at end of file diff --git a/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf b/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf index 69339cbb..c7599f5d 100644 --- a/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf +++ b/_custom_modules/vdm_standard_dashboard/vdm_standard_dashboard.tf @@ -158,7 +158,7 @@ resource "dynatrace_dashboard" main { entity_type = "SERVICE" match { key = "AUTO_TAGS" - values = ["Environment:${var.environment}", "app-id:${var.appId}"] + values = ["Environment:${var.environment}", local.appFilter] } } } @@ -891,7 +891,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -903,7 +903,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -921,7 +921,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -939,7 +939,7 @@ resource "dynatrace_dashboard" main { "id" : "C", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1105,7 +1105,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.response.time:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.response.time:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -1117,7 +1117,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.response.time:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:service.response.time:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1135,7 +1135,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1153,7 +1153,7 @@ resource "dynatrace_dashboard" main { "id" : "C", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"WEB_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1319,7 +1319,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):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(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -1331,7 +1331,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1349,7 +1349,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1367,7 +1367,7 @@ resource "dynatrace_dashboard" main { "id" : "C", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"DATABASE_SERVICE~\")\"))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1533,7 +1533,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):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(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):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(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -1545,7 +1545,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:service.response.time:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1563,7 +1563,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.requestCount.total:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))),in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1581,7 +1581,7 @@ resource "dynatrace_dashboard" main { "id" : "C", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),servicetype(~\"MESSAGING_SERVICE~\")\")),and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1747,7 +1747,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -1759,7 +1759,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1876,7 +1876,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=Inf\u0026(builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=Inf\u0026(builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -1888,7 +1888,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.errors.total.count:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.service\"):value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -1993,7 +1993,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:host.cpu.usage:filter(and(and(in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.host\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:host.cpu.usage:filter(and(and(in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.host\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2005,7 +2005,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:host.cpu.usage:filter(and(and(in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.host\"):avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:host.cpu.usage:filter(and(and(in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.host\",entitySelector(\"type(host),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.host\"):avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2127,7 +2127,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:tech.jvm.memory.pool.max:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names,(builtin:tech.jvm.memory.pool.used:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:tech.jvm.memory.pool.max:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names,(builtin:tech.jvm.memory.pool.used:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2139,7 +2139,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:tech.jvm.memory.pool.max:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:tech.jvm.memory.pool.max:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy():avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2157,7 +2157,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:tech.jvm.memory.pool.used:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:tech.jvm.memory.pool.used:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2291,7 +2291,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:tech.jvm.memory.gc.suspensionTime:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:tech.jvm.memory.gc.suspensionTime:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2303,7 +2303,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:tech.jvm.memory.gc.suspensionTime:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:tech.jvm.memory.gc.suspensionTime:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2425,7 +2425,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:service.dbconnections.success:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.dbconnections.failure:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:service.dbconnections.success:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names,(builtin:service.dbconnections.failure:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2437,7 +2437,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.dbconnections.success:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.dbconnections.success:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2455,7 +2455,7 @@ resource "dynatrace_dashboard" main { "id" : "B", "limit" : null, "metric" : null, - "metricSelector" : "builtin:service.dbconnections.failure:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"app-id:${var.appId}~\"))\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", + "metricSelector" : "builtin:service.dbconnections.failure:filter(and(and(in(\"dt.entity.service\",entitySelector(\"type(service),databaseName.exists(),toRelationship.calls(type(service),tag(~\"${local.appFilter}~\"))\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:${var.environment}~\")\"))))):splitBy():value:auto:sort(value(sum,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2594,7 +2594,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2606,7 +2606,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\"))))):splitBy(\"dt.entity.process_group_instance\"):avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null, @@ -2723,7 +2723,7 @@ resource "dynatrace_dashboard" main { tile_type = "DATA_EXPLORER" unknowns = jsonencode({ "metricExpressions" : [ - "resolution=null\u0026(builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy(\"Thread state\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" + "resolution=null\u0026(builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy(\"Thread state\"):avg:auto:sort(value(avg,descending)):limit(10)):limit(100):names" ], "queries" : [ { @@ -2735,7 +2735,7 @@ resource "dynatrace_dashboard" main { "id" : "A", "limit" : null, "metric" : null, - "metricSelector" : "builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"app-id:${var.appId}~\")\"))))):splitBy(\"Thread state\"):avg:auto:sort(value(avg,descending)):limit(10)", + "metricSelector" : "builtin:tech.jvm.threads.avgActiveThreadCount:filter(and(and(in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"Environment:${var.environment}~\")\")),in(\"dt.entity.process_group_instance\",entitySelector(\"type(process_group_instance),tag(~\"${local.appFilter}~\")\"))))):splitBy(\"Thread state\"):avg:auto:sort(value(avg,descending)):limit(10)", "rate" : "NONE", "sortBy" : null, "sortByDimension" : null,