COMFY-1087: Add appFilter to VDM Standard Dashboard to allow filtering for something different than app-id
parent
a24fa17a89
commit
dc9ce35608
|
|
@ -10,6 +10,12 @@ variable "sloName" { default = null }
|
||||||
|
|
||||||
variable "appId" { default = "" }
|
variable "appId" { default = "" }
|
||||||
|
|
||||||
|
variable "appFilter" { default = null }
|
||||||
|
|
||||||
variable "reliabilityLink" { default = "https://atc.bmwgroup.net/confluence/x/xzB-VQ" }
|
variable "reliabilityLink" { default = "https://atc.bmwgroup.net/confluence/x/xzB-VQ" }
|
||||||
|
|
||||||
variable "reliabilityMetricSelector" { default = "" }
|
variable "reliabilityMetricSelector" { default = "" }
|
||||||
|
|
||||||
|
locals {
|
||||||
|
appFilter = var.appFilter != null ? var.appFilter : "app-id:${var.appId}"
|
||||||
|
}
|
||||||
|
|
@ -158,7 +158,7 @@ resource "dynatrace_dashboard" main {
|
||||||
entity_type = "SERVICE"
|
entity_type = "SERVICE"
|
||||||
match {
|
match {
|
||||||
key = "AUTO_TAGS"
|
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"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -903,7 +903,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -921,7 +921,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -939,7 +939,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "C",
|
"id" : "C",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1105,7 +1105,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -1117,7 +1117,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1135,7 +1135,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1153,7 +1153,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "C",
|
"id" : "C",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1319,7 +1319,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -1331,7 +1331,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1349,7 +1349,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1367,7 +1367,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "C",
|
"id" : "C",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1533,7 +1533,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -1545,7 +1545,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1563,7 +1563,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1581,7 +1581,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "C",
|
"id" : "C",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1747,7 +1747,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -1759,7 +1759,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1876,7 +1876,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -1888,7 +1888,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -1993,7 +1993,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2005,7 +2005,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2127,7 +2127,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2139,7 +2139,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2157,7 +2157,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2291,7 +2291,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2303,7 +2303,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2425,7 +2425,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2437,7 +2437,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2455,7 +2455,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "B",
|
"id" : "B",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2594,7 +2594,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2606,7 +2606,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
@ -2723,7 +2723,7 @@ resource "dynatrace_dashboard" main {
|
||||||
tile_type = "DATA_EXPLORER"
|
tile_type = "DATA_EXPLORER"
|
||||||
unknowns = jsonencode({
|
unknowns = jsonencode({
|
||||||
"metricExpressions" : [
|
"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" : [
|
"queries" : [
|
||||||
{
|
{
|
||||||
|
|
@ -2735,7 +2735,7 @@ resource "dynatrace_dashboard" main {
|
||||||
"id" : "A",
|
"id" : "A",
|
||||||
"limit" : null,
|
"limit" : null,
|
||||||
"metric" : 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",
|
"rate" : "NONE",
|
||||||
"sortBy" : null,
|
"sortBy" : null,
|
||||||
"sortByDimension" : null,
|
"sortByDimension" : null,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue