Compare commits
6 Commits
CD_tol-tss
...
CD_Call-Ha
| Author | SHA1 | Date |
|---|---|---|
|
|
2fee28217d | |
|
|
ae6f7bd2ea | |
|
|
1b194deb34 | |
|
|
cdb7267b37 | |
|
|
64ed8ed9fd | |
|
|
15169b0f0c |
|
|
@ -0,0 +1,38 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_INT.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACRhOGE5YTY4OC00NjQ0LTQ3ZmUtOTY2ZC0xYjkzYTE3MDMwNWS-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_INT"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_INT" {
|
||||
name = "CD_Call-Handling-Backends INT"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQyMGExZTUzZC1jMjgwLTRmOTItYjQzNy0zZTQzN2RhYzI1ZGO-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# DEFINE dynatrace_alerting.CD_tol-tssb_INT.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQ1NjliZmRiOS03ODk1LTQ1MWQtOTg4OS0xMTczNjRiNDZkZWW-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_INT"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_alerting" "CD_tol-tssb_INT" {
|
||||
name = "CD_tol-tssb INT"
|
||||
management_zone = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_E2E.id = c4a7a14f-9417-4046-b6ad-331dde25ac87
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_E2E"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_INT.id = 8ab129ca-4a1f-4ce7-8dd9-19466c7bcf68
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_INT"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_INT" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb E2E"
|
||||
name = "CD_Call-Handling-Backends INT"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -82,8 +82,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_E2E.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -180,7 +180,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -225,7 +225,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -255,7 +255,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -285,7 +285,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_PROD.id = 357121b1-20ff-42b7-981a-c82f333aefd2
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_PROD"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_TEST.id = 536f8ffa-86df-46cf-bff9-fbcf7ef4cba2
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_TEST"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_TEST" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb PROD"
|
||||
name = "CD_Call-Handling-Backends TEST"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -82,8 +82,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_PROD.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -180,7 +180,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -225,7 +225,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -255,7 +255,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -285,7 +285,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,294 +0,0 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_TEST.id = fdebc0cc-912f-4af8-9871-e9076d0265c9
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_TEST"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb TEST"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 228
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Failure rate (HTTP 4xx/5xx errors)"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956393463
|
||||
}
|
||||
config {
|
||||
custom_color = "#fff29a"
|
||||
key = "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956441725
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fourxx.rate"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fivexx.rate"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Problems"
|
||||
configured = true
|
||||
tile_type = "OPEN_PROBLEMS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 950
|
||||
top = 38
|
||||
width = 152
|
||||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Overall Health"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 0
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 532
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 570
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Response time, Request Count and Number of Errors"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275720776
|
||||
}
|
||||
config {
|
||||
custom_color = "#b4e5f9"
|
||||
key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1595275686773
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275955999
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.response.time"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.requestCount.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.total.count"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 190
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 646
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 342
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services"
|
||||
default_name = "Services"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = -2479801801971642988
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = 6689634145018837492
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
|
|
@ -13,7 +13,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQ4YzhjYmU1Ni02YWNlLTQ4NDQtYjgzZS1iOWIyODIyMzU2Yje-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
# DEFINE dynatrace_alerting.CD_tol-tssb_PROD.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACRmNWViODUzOC1mOWYzLTQ2MzYtYmY3OS1kYmI5Y2VjZGU5ZWK-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_PROD"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_alerting" "CD_tol-tssb_PROD" {
|
||||
name = "CD_tol-tssb PROD"
|
||||
management_zone = data.dynatrace_management_zone.CD_tol-tssb_PROD.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,787 @@
|
|||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_E2E.id = 8b8f63ff-197a-44b7-8b7d-6333bb1ee9f5
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_-_NGTP_E2E"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_-_NGTP_E2E" {
|
||||
dashboard_metadata {
|
||||
name = "CD_Call-Handling-Backends - NGTP E2E"
|
||||
owner = "andreas.wg.werner@partner.bmw.de"
|
||||
# preset = false
|
||||
shared = true
|
||||
tags = [ "CD_Call-Handling-Backends", "NGTP", "E2E" ]
|
||||
}
|
||||
tile {
|
||||
name = "Health NGTP E2E"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 38
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "cc_emea_prod_b2vngtp_b2vngtp"
|
||||
assigned_entities = [ "SERVICE-41070D3E7CBFD929" ]
|
||||
configured = true
|
||||
tile_type = "DATABASE"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 494
|
||||
width = 304
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 190
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services - NGTP"
|
||||
default_name = "Services - NGTP"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Problems"
|
||||
configured = true
|
||||
tile_type = "OPEN_PROBLEMS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 76
|
||||
width = 152
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 342
|
||||
top = 494
|
||||
width = 266
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 418
|
||||
top = 76
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ":8444 - nginx - prod"
|
||||
assigned_entities = [ "SERVICE-7442D3FFC026D78B" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 456
|
||||
top = 722
|
||||
width = 1102
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "MQSession$FacadeMessageListener - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-CB40D9F20953660F" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 1292
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "TriggerServiceResource - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-3C3E4512E0DBAC60" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 760
|
||||
top = 2280
|
||||
width = 798
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service or request"
|
||||
assigned_entities = [ "SERVICE-2A295A7B8A6339F9" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 2280
|
||||
width = 722
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown = "---"
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1558
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "FROM Car (COM or COM-FE))"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1596
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "dsptWeb (/dspt) - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-926A09721B36BD0D" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 1634
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 342
|
||||
left = 456
|
||||
top = 950
|
||||
width = 1102
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "NGTP - HttpStatus"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "null¦Dimension»499»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616497026732
|
||||
}
|
||||
config {
|
||||
custom_color = "#1eb509"
|
||||
key = "null¦Dimension»200»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496860650
|
||||
}
|
||||
config {
|
||||
custom_color = "#7c38a1"
|
||||
key = "null¦Dimension»404»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616497032728
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "null¦Dimension»422»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496878846
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "null¦Dimension»500»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496884320
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "calc:service.ngtphttpstatus"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "Dimension"
|
||||
# entity_dimension = false
|
||||
id = "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service or request"
|
||||
assigned_entities = [ "SERVICE-777D74AD708788E1" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 2014
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown = "---"
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1938
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service to Car OR Service to Service"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1976
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 608
|
||||
top = 494
|
||||
width = 456
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Database Connections"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "nullbuiltin:service.dbChildCallCount|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509978770
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.dbconnections.total|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616509971749
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.dbconnections.failure|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509946282
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbconnections.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbconnections.failure"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 228
|
||||
width = 570
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Memory and CPU in %"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
metric = "builtin:containers.memory.usagePercent"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
dimension {
|
||||
name = "dt.entity.container_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
metric = "builtin:containers.cpu.usagePercent"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.container_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
match {
|
||||
key = "CONTAINER_GROUP_INSTANCE_BY_CLOUD_APPLICATION"
|
||||
values = [ "CLOUD_APPLICATION-8994A2AE49484B39٭b2vngtp" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 418
|
||||
left = 608
|
||||
top = 76
|
||||
width = 950
|
||||
}
|
||||
filter {
|
||||
timeframe = "-6h"
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Memory Usage over 6 hours"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519061281
|
||||
}
|
||||
config {
|
||||
custom_color = "#1ca33b"
|
||||
key = "PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519241366
|
||||
}
|
||||
config {
|
||||
custom_color = "#3bcc0e"
|
||||
key = "PROCESS_GROUP_INSTANCE-7D0873EADCFA457A¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-7D0873EADCFA457A»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519208422
|
||||
}
|
||||
config {
|
||||
custom_color = "#5b8018"
|
||||
key = "PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519172758
|
||||
}
|
||||
config {
|
||||
custom_color = "#71a314"
|
||||
key = "PROCESS_GROUP_INSTANCE-48EE80208C42B359¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-48EE80208C42B359»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519053665
|
||||
}
|
||||
config {
|
||||
custom_color = "#a3f211"
|
||||
key = "PROCESS_GROUP_INSTANCE-30153D347247B3B1¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-30153D347247B3B1»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519101647
|
||||
}
|
||||
config {
|
||||
custom_color = "#a4d152"
|
||||
key = "PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519145559
|
||||
}
|
||||
config {
|
||||
custom_color = "#c9a000"
|
||||
key = "PROCESS_GROUP_INSTANCE-7D0873EADCFA457A¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-7D0873EADCFA457A»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519568831
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "PROCESS_GROUP_INSTANCE-48EE80208C42B359¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-48EE80208C42B359»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519550395
|
||||
}
|
||||
config {
|
||||
custom_color = "#f5d30f"
|
||||
key = "PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519565752
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519546165
|
||||
}
|
||||
config {
|
||||
custom_color = "#ffa500"
|
||||
key = "PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519577989
|
||||
}
|
||||
config {
|
||||
custom_color = "#ffa86c"
|
||||
key = "PROCESS_GROUP_INSTANCE-30153D347247B3B1¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-30153D347247B3B1»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519554415
|
||||
}
|
||||
config {
|
||||
custom_color = "#fff29a"
|
||||
key = "PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519561585
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
metric = "builtin:tech.jvm.memory.runtime.free"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
dimension {
|
||||
name = "dt.entity.process_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
metric = "builtin:tech.jvm.memory.runtime.total"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.process_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 1064
|
||||
top = 494
|
||||
width = 494
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Number of Calls to Database by Service"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "nullbuiltin:service.dbChildCallCount|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509978770
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.dbconnections.total|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616509971749
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.dbconnections.failure|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509946282
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbChildCallCount"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.service"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Errors Returned From NGTP"
|
||||
configured = true
|
||||
custom_name = "Data explorer results"
|
||||
tile_type = "DATA_EXPLORER"
|
||||
unknowns = jsonencode({
|
||||
"metricExpressions": [
|
||||
"resolution=Inf\u0026(calc:service.ngtphttpstatus:filter(and(or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"NGTP~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:E2E~\")\"))),or(eq(Dimension,\"404\"),eq(Dimension,\"500\"),eq(Dimension,\"400\"),eq(Dimension,\"422\"),eq(Dimension,\"499\")),or(in(\"dt.entity.service\",entitySelector(\"type(service),softwareTechnologies(~\"GLASSFISH~\")\"))))):splitBy(\"dt.entity.service\",Dimension):sum:auto:sort(value(sum,descending)):limit(10)):limit(100):names"
|
||||
],
|
||||
"queries": [
|
||||
{
|
||||
"enabled": true,
|
||||
"filterBy": {
|
||||
"criteria": [],
|
||||
"filterOperator": "AND",
|
||||
"nestedFilters": [
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "NGTP"
|
||||
},
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "Environment:E2E"
|
||||
}
|
||||
],
|
||||
"filter": "dt.entity.service",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "TAG",
|
||||
"nestedFilters": []
|
||||
},
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "GLASSFISH"
|
||||
}
|
||||
],
|
||||
"entityAttribute": "softwareTechnologies",
|
||||
"filter": "dt.entity.service",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "ENTITY_ATTRIBUTE",
|
||||
"nestedFilters": []
|
||||
},
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "422"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "400"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "404"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "499"
|
||||
}
|
||||
],
|
||||
"filter": "Dimension",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "DIMENSION",
|
||||
"nestedFilters": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "A",
|
||||
"limit": 10,
|
||||
"metric": "calc:service.ngtphttpstatus",
|
||||
"metricSelector": "calc:service.ngtphttpstatus:fold:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),softwareTechnologies(~\"GLASSFISH~\")\")),or(eq(Dimension,499),eq(Dimension,422),eq(Dimension,400),eq(Dimension,404),eq(Dimension,500)),or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:E2E~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"NGTP~\")\"))))):splitBy(\"dt.entity.service\",Dimension):sum:auto:sort(value(avg,descending)):limit(10)",
|
||||
"rate": "NONE",
|
||||
"spaceAggregation": "SUM",
|
||||
"splitBy": [
|
||||
"dt.entity.service",
|
||||
"Dimension"
|
||||
],
|
||||
"timeAggregation": "DEFAULT"
|
||||
}
|
||||
],
|
||||
"visualConfig": {
|
||||
"axes": {
|
||||
"xAxis": {
|
||||
"visible": true
|
||||
},
|
||||
"yAxes": []
|
||||
},
|
||||
"global": {},
|
||||
"rules": [
|
||||
{
|
||||
"matcher": "A:",
|
||||
"properties": {
|
||||
"color": "DEFAULT",
|
||||
"seriesType": "LINE"
|
||||
},
|
||||
"seriesOverrides": []
|
||||
}
|
||||
],
|
||||
"thresholds": [
|
||||
{
|
||||
"axisTarget": "LEFT",
|
||||
"columnId": "NGTP - HttpStatus",
|
||||
"rules": [
|
||||
{
|
||||
"color": "#7dc540"
|
||||
},
|
||||
{
|
||||
"color": "#f5d30f"
|
||||
},
|
||||
{
|
||||
"color": "#dc172a"
|
||||
}
|
||||
],
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"type": "TOP_LIST"
|
||||
}
|
||||
})
|
||||
bounds {
|
||||
height = 570
|
||||
left = 38
|
||||
top = 722
|
||||
width = 418
|
||||
}
|
||||
}
|
||||
}
|
||||
# DEFINE dynatrace_dashboard_sharing.CD_Call-Handling-Backends_-_NGTP_E2E.id = 8b8f63ff-197a-44b7-8b7d-6333bb1ee9f5
|
||||
resource "dynatrace_dashboard_sharing" "CD_Call-Handling-Backends_-_NGTP_E2E" {
|
||||
enabled = true
|
||||
dashboard_id = dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_E2E.id
|
||||
# preset = false
|
||||
permissions {
|
||||
permission {
|
||||
type = "ALL"
|
||||
level = "VIEW"
|
||||
}
|
||||
permission {
|
||||
type = "USER"
|
||||
id = "rainer.wawer@partner.bmw.de"
|
||||
level = "EDIT"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +1,20 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_INT-TEST.id = 36dc59d8-006b-4beb-9973-84be761130bb
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_INT-TEST"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_NGTP-CS.id = 122b6dc7-f2e1-4dd4-91a9-c8f77a1b6290
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_-_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_-_NGTP_NGTP-CS" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb INT-TEST"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "CD_tol-tssb" ]
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT-TEST.id
|
||||
}
|
||||
}
|
||||
name = "CD_Call-Handling-Backends - NGTP/NGTP-CS"
|
||||
owner = "andreas.wg.werner@partner.bmw.de"
|
||||
# preset = false
|
||||
# shared = false
|
||||
tags = [ "CD_Call-Handling-Backends" ]
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
height = 304
|
||||
left = 798
|
||||
top = 380
|
||||
width = 760
|
||||
}
|
||||
|
|
@ -62,7 +56,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:INT" ]
|
||||
values = [ "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -74,7 +68,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
tile_type = "OPEN_PROBLEMS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 1596
|
||||
left = 1558
|
||||
top = 114
|
||||
width = 152
|
||||
}
|
||||
|
|
@ -85,15 +79,15 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 1064
|
||||
height = 228
|
||||
left = 38
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services"
|
||||
default_name = "Services"
|
||||
custom_name = "Services - NGTP"
|
||||
default_name = "Services - NGTP"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
|
|
@ -103,21 +97,21 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Overall Health - INT"
|
||||
name = "Overall Health (E2E / PROD)"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 38
|
||||
width = 760
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
|
|
@ -136,91 +130,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service1 - TEST"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 798
|
||||
top = 722
|
||||
width = 760
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 798
|
||||
top = 760
|
||||
width = 760
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Response time, Throughput and Number of Errors"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275720776
|
||||
}
|
||||
config {
|
||||
custom_color = "#b4e5f9"
|
||||
key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1595275686773
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275955999
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.response.time"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.requestCount.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.total.count"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service1 - INT"
|
||||
name = "Response time - NGTP"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
|
|
@ -297,7 +207,91 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:INT" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Response time - NGTP-CS"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 798
|
||||
top = 722
|
||||
width = 760
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 798
|
||||
top = 760
|
||||
width = 760
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Response time, Throughput and Number of Errors"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275720776
|
||||
}
|
||||
config {
|
||||
custom_color = "#b4e5f9"
|
||||
key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1595275686773
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275955999
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.response.time"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.requestCount.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.total.count"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP-CS", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -308,8 +302,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 798
|
||||
height = 304
|
||||
left = 38
|
||||
top = 380
|
||||
width = 760
|
||||
}
|
||||
|
|
@ -351,7 +345,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:TEST" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -373,18 +367,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
}
|
||||
}
|
||||
tile {
|
||||
name = "Failure rate - TEST (HTTP 4xx/5xx errors)"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 798
|
||||
top = 342
|
||||
width = 760
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Failure rate - INT (HTTP 4xx/5xx errors)"
|
||||
name = "Failure rate - NGTP (HTTP 4xx/5xx errors)"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
|
|
@ -395,43 +378,13 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 570
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Overall Health - TEST"
|
||||
name = "Failure rate - NGTP-CS (HTTP 4xx/5xx errors)"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 798
|
||||
top = 38
|
||||
top = 342
|
||||
width = 760
|
||||
}
|
||||
}
|
||||
|
|
@ -439,27 +392,57 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
tile_type = "HOSTS"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 1330
|
||||
height = 228
|
||||
left = 266
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
type = "HOST"
|
||||
custom_name = "Hosts - NGTP"
|
||||
default_name = "Hosts - NGTP"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 1026
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts - NGTP-CS"
|
||||
default_name = "Hosts - NGTP-CS"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -471,15 +454,15 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 304
|
||||
height = 228
|
||||
left = 798
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services"
|
||||
default_name = "Services"
|
||||
custom_name = "Services - NGTP-CS"
|
||||
default_name = "Services - NGTP-CS"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
|
|
@ -489,7 +472,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -499,27 +482,27 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 798
|
||||
height = 228
|
||||
left = 494
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases - NGTP"
|
||||
default_name = "Databases - NGTP"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -529,30 +512,36 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT-TEST" {
|
|||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 190
|
||||
left = 38
|
||||
height = 228
|
||||
left = 1254
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases - NGTP-CS"
|
||||
default_name = "Databases - NGTP-CS"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:NGTP" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# DEFINE dynatrace_dashboard_sharing.CD_Call-Handling-Backends_-_NGTP_NGTP-CS.id = 122b6dc7-f2e1-4dd4-91a9-c8f77a1b6290
|
||||
resource "dynatrace_dashboard_sharing" "CD_Call-Handling-Backends_-_NGTP_NGTP-CS" {
|
||||
# enabled = false
|
||||
dashboard_id = dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_NGTP-CS.id
|
||||
# preset = false
|
||||
}
|
||||
|
|
@ -0,0 +1,787 @@
|
|||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_PROD.id = 05bff4c9-f197-4109-acff-2acae823ee3c
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_-_NGTP_PROD"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_-_NGTP_PROD" {
|
||||
dashboard_metadata {
|
||||
name = "CD_Call-Handling-Backends - NGTP PROD"
|
||||
owner = "andreas.wg.werner@partner.bmw.de"
|
||||
# preset = false
|
||||
shared = true
|
||||
tags = [ "CD_Call-Handling-Backends", "NGTP", "PROD" ]
|
||||
}
|
||||
tile {
|
||||
name = "Health NGTP PROD"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 38
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "cc_emea_prod_b2vngtp_b2vngtp"
|
||||
assigned_entities = [ "SERVICE-DD999720CDA5338E" ]
|
||||
configured = true
|
||||
tile_type = "DATABASE"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 494
|
||||
width = 304
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 190
|
||||
top = 76
|
||||
width = 228
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services - NGTP"
|
||||
default_name = "Services - NGTP"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Problems"
|
||||
configured = true
|
||||
tile_type = "OPEN_PROBLEMS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 76
|
||||
width = 152
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 342
|
||||
top = 494
|
||||
width = 266
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
bounds {
|
||||
height = 152
|
||||
left = 418
|
||||
top = 76
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ":8444 - nginx - prod"
|
||||
assigned_entities = [ "SERVICE-AD43478AD44DFCBA" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 456
|
||||
top = 722
|
||||
width = 1102
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "MQSession$FacadeMessageListener - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-DEAA8039B925F8DC" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 1292
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "TriggerServiceResource - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-CD3342EC1903B2AD" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 760
|
||||
top = 2280
|
||||
width = 798
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service or request"
|
||||
assigned_entities = [ "SERVICE-93558F735521D7DC" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 2280
|
||||
width = 722
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown = "---"
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1558
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "FROM Car (COM or COM-FE))"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1596
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "dsptWeb (/dspt) - b*vngtp - prod"
|
||||
assigned_entities = [ "SERVICE-15FBBA1BEFDF432B" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 1634
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 342
|
||||
left = 456
|
||||
top = 950
|
||||
width = 1102
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "NGTP - HttpStatus"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "null¦Dimension»499»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616497026732
|
||||
}
|
||||
config {
|
||||
custom_color = "#1eb509"
|
||||
key = "null¦Dimension»200»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496860650
|
||||
}
|
||||
config {
|
||||
custom_color = "#7c38a1"
|
||||
key = "null¦Dimension»404»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616497032728
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "null¦Dimension»422»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496878846
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "null¦Dimension»500»falsecalc:service.ngtphttpstatus|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616496884320
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "calc:service.ngtphttpstatus"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "Dimension"
|
||||
# entity_dimension = false
|
||||
id = "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service or request"
|
||||
assigned_entities = [ "SERVICE-4840026A3DB7A61D" ]
|
||||
configured = true
|
||||
tile_type = "SERVICE_VERSATILE"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 2014
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown = "---"
|
||||
tile_type = "MARKDOWN"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1938
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Service to Car OR Service to Service"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 1976
|
||||
width = 1520
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 608
|
||||
top = 494
|
||||
width = 456
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Database Connections"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "nullbuiltin:service.dbChildCallCount|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509978770
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.dbconnections.total|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616509971749
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.dbconnections.failure|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509946282
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbconnections.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbconnections.failure"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Errors Returned From NGTP"
|
||||
configured = true
|
||||
custom_name = "Data explorer results"
|
||||
tile_type = "DATA_EXPLORER"
|
||||
unknowns = jsonencode({
|
||||
"metricExpressions": [
|
||||
"resolution=Inf\u0026(calc:service.ngtphttpstatus:filter(and(or(eq(Dimension,\"404\"),eq(Dimension,\"500\"),eq(Dimension,\"400\"),eq(Dimension,\"422\"),eq(Dimension,\"499\")),or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:NGTP~\")\"))),or(in(\"dt.entity.service\",entitySelector(\"type(service),softwareTechnologies(~\"GLASSFISH~\")\"))))):splitBy(\"dt.entity.service\",Dimension):sum:auto:sort(value(sum,descending)):limit(10)):limit(100):names"
|
||||
],
|
||||
"queries": [
|
||||
{
|
||||
"enabled": true,
|
||||
"filterBy": {
|
||||
"criteria": [],
|
||||
"filterOperator": "AND",
|
||||
"nestedFilters": [
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "GLASSFISH"
|
||||
}
|
||||
],
|
||||
"entityAttribute": "softwareTechnologies",
|
||||
"filter": "dt.entity.service",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "ENTITY_ATTRIBUTE",
|
||||
"nestedFilters": []
|
||||
},
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "404"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "500"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "422"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "499"
|
||||
},
|
||||
{
|
||||
"evaluator": "EQ",
|
||||
"value": "400"
|
||||
}
|
||||
],
|
||||
"filter": "Dimension",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "DIMENSION",
|
||||
"nestedFilters": []
|
||||
},
|
||||
{
|
||||
"criteria": [
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "Environment:PROD"
|
||||
},
|
||||
{
|
||||
"evaluator": "IN",
|
||||
"value": "Component:NGTP"
|
||||
}
|
||||
],
|
||||
"filter": "dt.entity.service",
|
||||
"filterOperator": "OR",
|
||||
"filterType": "TAG",
|
||||
"nestedFilters": []
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "A",
|
||||
"limit": 10,
|
||||
"metric": "calc:service.ngtphttpstatus",
|
||||
"metricSelector": "calc:service.ngtphttpstatus:fold:filter(and(in(\"dt.entity.service\",entitySelector(\"type(service),softwareTechnologies(~\"GLASSFISH~\")\")),or(eq(Dimension,500),eq(Dimension,404),eq(Dimension,499),eq(Dimension,400),eq(Dimension,422)),or(in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Component:NGTP~\")\")),in(\"dt.entity.service\",entitySelector(\"type(service),tag(~\"Environment:PROD~\")\"))))):splitBy(\"dt.entity.service\",Dimension):sum:auto:sort(value(avg,descending)):limit(10)",
|
||||
"rate": "NONE",
|
||||
"spaceAggregation": "SUM",
|
||||
"splitBy": [
|
||||
"dt.entity.service",
|
||||
"Dimension"
|
||||
],
|
||||
"timeAggregation": "DEFAULT"
|
||||
}
|
||||
],
|
||||
"visualConfig": {
|
||||
"axes": {
|
||||
"xAxis": {
|
||||
"visible": true
|
||||
},
|
||||
"yAxes": []
|
||||
},
|
||||
"global": {},
|
||||
"rules": [
|
||||
{
|
||||
"matcher": "A:",
|
||||
"properties": {
|
||||
"color": "DEFAULT",
|
||||
"seriesType": "LINE"
|
||||
},
|
||||
"seriesOverrides": []
|
||||
}
|
||||
],
|
||||
"thresholds": [
|
||||
{
|
||||
"axisTarget": "LEFT",
|
||||
"columnId": "NGTP - HttpStatus",
|
||||
"rules": [
|
||||
{
|
||||
"color": "#7dc540"
|
||||
},
|
||||
{
|
||||
"color": "#f5d30f"
|
||||
},
|
||||
{
|
||||
"color": "#dc172a"
|
||||
}
|
||||
],
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"type": "TOP_LIST"
|
||||
}
|
||||
})
|
||||
bounds {
|
||||
height = 570
|
||||
left = 38
|
||||
top = 722
|
||||
width = 418
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 266
|
||||
left = 38
|
||||
top = 228
|
||||
width = 570
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Memory and CPU in %"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
metric = "builtin:containers.memory.usagePercent"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
dimension {
|
||||
name = "dt.entity.container_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
metric = "builtin:containers.cpu.usagePercent"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.container_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "CONTAINER_GROUP_INSTANCE"
|
||||
match {
|
||||
key = "CONTAINER_GROUP_INSTANCE_BY_CLOUD_APPLICATION"
|
||||
values = [ "CLOUD_APPLICATION-503FFEBC31A2F97E٭b2vngtp" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 418
|
||||
left = 608
|
||||
top = 76
|
||||
width = 950
|
||||
}
|
||||
filter {
|
||||
timeframe = "-6h"
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Memory Usage over 6 hours"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519061281
|
||||
}
|
||||
config {
|
||||
custom_color = "#1ca33b"
|
||||
key = "PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519241366
|
||||
}
|
||||
config {
|
||||
custom_color = "#3bcc0e"
|
||||
key = "PROCESS_GROUP_INSTANCE-7D0873EADCFA457A¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-7D0873EADCFA457A»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519208422
|
||||
}
|
||||
config {
|
||||
custom_color = "#5b8018"
|
||||
key = "PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519172758
|
||||
}
|
||||
config {
|
||||
custom_color = "#71a314"
|
||||
key = "PROCESS_GROUP_INSTANCE-48EE80208C42B359¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-48EE80208C42B359»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519053665
|
||||
}
|
||||
config {
|
||||
custom_color = "#a3f211"
|
||||
key = "PROCESS_GROUP_INSTANCE-30153D347247B3B1¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-30153D347247B3B1»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519101647
|
||||
}
|
||||
config {
|
||||
custom_color = "#a4d152"
|
||||
key = "PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206»truebuiltin:tech.jvm.memory.gc.collectionTime|NONE|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519145559
|
||||
}
|
||||
config {
|
||||
custom_color = "#c9a000"
|
||||
key = "PROCESS_GROUP_INSTANCE-7D0873EADCFA457A¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-7D0873EADCFA457A»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519568831
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "PROCESS_GROUP_INSTANCE-48EE80208C42B359¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-48EE80208C42B359»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519550395
|
||||
}
|
||||
config {
|
||||
custom_color = "#f5d30f"
|
||||
key = "PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-E057BBD4A9785BF5»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519565752
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-C1C6DBEBBADEEDFB»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519546165
|
||||
}
|
||||
config {
|
||||
custom_color = "#ffa500"
|
||||
key = "PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-283DBF2FE2707EDE»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519577989
|
||||
}
|
||||
config {
|
||||
custom_color = "#ffa86c"
|
||||
key = "PROCESS_GROUP_INSTANCE-30153D347247B3B1¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-30153D347247B3B1»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519554415
|
||||
}
|
||||
config {
|
||||
custom_color = "#fff29a"
|
||||
key = "PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206¦PROCESS_GROUP_INSTANCE»PROCESS_GROUP_INSTANCE-15C9CBB4EF3A0206»truebuiltin:tech.jvm.memory.runtime.free|AVG|TOTAL|LINE|PROCESS_GROUP_INSTANCE"
|
||||
last_modified = 1616519561585
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
metric = "builtin:tech.jvm.memory.runtime.free"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
dimension {
|
||||
name = "dt.entity.process_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
metric = "builtin:tech.jvm.memory.runtime.total"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.process_group_instance"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "PROCESS_GROUP_INSTANCE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
bounds {
|
||||
height = 228
|
||||
left = 1064
|
||||
top = 494
|
||||
width = 494
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Number of Calls to Database by Service"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008000"
|
||||
key = "nullbuiltin:service.dbChildCallCount|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509978770
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.dbconnections.total|NONE|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1616509971749
|
||||
}
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.dbconnections.failure|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1616509946282
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.dbChildCallCount"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
dimension {
|
||||
name = "dt.entity.service"
|
||||
entity_dimension = true
|
||||
id = "0"
|
||||
}
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:NGTP", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
# DEFINE dynatrace_dashboard_sharing.CD_Call-Handling-Backends_-_NGTP_PROD.id = 05bff4c9-f197-4109-acff-2acae823ee3c
|
||||
resource "dynatrace_dashboard_sharing" "CD_Call-Handling-Backends_-_NGTP_PROD" {
|
||||
enabled = true
|
||||
dashboard_id = dynatrace_dashboard.CD_Call-Handling-Backends_-_NGTP_PROD.id
|
||||
# preset = false
|
||||
permissions {
|
||||
permission {
|
||||
type = "ALL"
|
||||
level = "VIEW"
|
||||
}
|
||||
permission {
|
||||
type = "USER"
|
||||
id = "rainer.wawer@partner.bmw.de"
|
||||
level = "EDIT"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_INT.id = 5beeedb9-c383-4d64-b3d2-828ea5351bf1
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_INT"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_PROD.id = 70934e58-36d6-41e3-9382-7289efbb0c3d
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_PROD"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_PROD" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb INT"
|
||||
name = "CD_Call-Handling-Backends PROD"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -64,7 +64,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -82,8 +82,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_PROD.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -180,7 +180,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -225,7 +225,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -255,7 +255,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -285,7 +285,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = -1465750590167206984
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = 9047946978645254989
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
|
|
@ -13,7 +13,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQxMWVhYTc0NS00ZWIxLTQ1MDQtYTI2Yy1kM2Q5ZDc2YjE3NjC-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_INT.id = 00fd7636-1c6b-423f-8e21-677642ac3be6
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_INT"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_INT.id = 13b2884f-5230-4544-a061-c412ff5fbdba
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_INT"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_INT" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb INT"
|
||||
name = "CD_Call-Handling-Backends INT"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "CD_tol-tssb" ]
|
||||
tags = [ "CD_Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -26,8 +26,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -94,8 +94,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -114,8 +114,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -152,8 +152,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -253,8 +253,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -292,8 +292,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -331,8 +331,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_TEST.id = cb7cb5d4-772a-4ad3-8eed-cf56efc832da
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_TEST"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_TEST.id = b8c58c6f-6aee-45b8-963b-a087a7c49eb4
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_TEST"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_TEST" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb TEST"
|
||||
name = "CD_Call-Handling-Backends TEST"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "CD_tol-tssb" ]
|
||||
tags = [ "CD_Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -26,8 +26,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -94,8 +94,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -114,8 +114,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -152,8 +152,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -253,8 +253,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -292,8 +292,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -331,8 +331,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
filter_config {
|
||||
|
|
@ -0,0 +1,151 @@
|
|||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = -8576635606699948260
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(HOST),tag('ms-id:am-ecs','ms-id:asbc-ngtp','ms-id:ngtp','ms-id:collaborator-mocks','ms-id:ngtp-cs','ms-id:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
enabled = true
|
||||
selector =<<-EOT
|
||||
type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag("ms-id:am-ecs","ms-id:asbc-ngtp","ms-id:ngtp","ms-id:collaborator-mocks","ms-id:ngtp-cs","ms-id:B2V-NGTP"))
|
||||
EOT
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag('msid:am-ecs','msid:asbc-ngtp','msid:ngtp','msid:collaborator-mocks','msid:ngtp-cs','msid:B2V-NGTP'))"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(HOST),tag('msid:am-ecs','msid:asbc-ngtp','msid:ngtp','msid:collaborator-mocks','msid:ngtp-cs','msid:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(PROCESS_GROUP_INSTANCE),tag('ms-id:am-ecs','ms-id:asbc-ngtp','ms-id:ngtp','ms-id:collaborator-mocks','ms-id:ngtp-cs','ms-id:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
enabled = true
|
||||
selector =<<-EOT
|
||||
type(HOST),tag("ms-id:am-ecs","ms-id:asbc-ngtp","ms-id:ngtp","ms-id:collaborator-mocks","ms-id:ngtp-cs","ms-id:B2V-NGTP")
|
||||
EOT
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
enabled = true
|
||||
selector =<<-EOT
|
||||
type(PROCESS_GROUP_INSTANCE),tag("ms-id:am-ecs","ms-id:asbc-ngtp","ms-id:ngtp","ms-id:collaborator-mocks","ms-id:ngtp-cs","ms-id:B2V-NGTP")
|
||||
EOT
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(Service),tag('ms-id:am-ecs','ms-id:asbc-ngtp','ms-id:ngtp','ms-id:collaborator-mocks','ms-id:ngtp-cs','ms-id:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(Service),tag('msid:am-ecs','msid:asbc-ngtp','msid:ngtp','msid:collaborator-mocks','msid:ngtp-cs','msid:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(PROCESS_GROUP_INSTANCE),tag('msid:am-ecs','msid:asbc-ngtp','msid:ngtp','msid:collaborator-mocks','msid:ngtp-cs','msid:B2V-NGTP')"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
# enabled = false
|
||||
selector = "type(SERVICE),databaseName.exists(),toRelationship.calls(type(SERVICE),tag('ms-id:am-ecs','ms-id:asbc-ngtp','ms-id:ngtp','ms-id:collaborator-mocks','ms-id:ngtp-cs','ms-id:B2V-NGTP'))"
|
||||
}
|
||||
entity_selector_based_rule {
|
||||
enabled = true
|
||||
selector =<<-EOT
|
||||
type(Service),tag("ms-id:am-ecs","ms-id:asbc-ngtp","ms-id:ngtp","ms-id:collaborator-mocks","ms-id:ngtp-cs","ms-id:B2V-NGTP")
|
||||
EOT
|
||||
}
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
# enabled = false
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION_NAMESPACE"
|
||||
# enabled = false
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "HOST"
|
||||
# enabled = false
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "HOST_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "PROCESS_GROUP"
|
||||
# enabled = false
|
||||
propagation_types = [ "PROCESS_GROUP_TO_HOST" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "PROCESS_GROUP_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "SERVICE"
|
||||
# enabled = false
|
||||
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "SERVICE_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQyY2NiZWQzMi0zNTE5LTQ3ODItYTdhYi04NTIxZmQyZDUyZjK-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_TEST.id = b58f4316-9d1e-4552-b74a-f53a7e1131b2
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_TEST"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_PROD.id = fa8876bf-6477-4b00-a6cb-691d3d3d4b97
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_PROD"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_PROD" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb TEST"
|
||||
name = "CD_Call-Handling-Backends PROD"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -88,8 +88,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_TEST.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_PROD.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -246,7 +246,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_TEST" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:TEST" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = -7512073509502205738
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = 6501681794177069649
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
|
|
@ -13,7 +13,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACRhZDRlNzYxNS02NTE1LTQ4ZjYtYjFmZS00NDg4OTE0YTViMGa-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_E2E.id = a83a2c5f-012b-44d8-b5d4-201a4271868e
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_E2E"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_INT.id = ec95e240-d592-4de3-ba6e-97bba49d9da2
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_INT"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_INT" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb E2E"
|
||||
name = "CD_Call-Handling-Backends INT"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -88,8 +88,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_E2E.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_INT.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -246,7 +246,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:INT" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_INT.id = 2742371a-b24a-4ea9-ade3-2296c9265d70
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_INT"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_TEST.id = c1dbc3d2-28d0-491f-925c-e6b702d1225b
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_TEST"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_TEST" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb INT"
|
||||
name = "CD_Call-Handling-Backends TEST"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -88,8 +88,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_INT.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_TEST.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -246,7 +246,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_INT" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:INT" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:TEST" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = -3606919109579921371
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = 2800163611927930355
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
|
|
@ -13,7 +13,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -87,7 +87,7 @@ resource "dynatrace_management_zone" "CD_tol-tssb" {
|
|||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = 7963368354883748043
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION_NAMESPACE"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "HOST"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "HOST_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "PROCESS_GROUP"
|
||||
enabled = true
|
||||
propagation_types = [ "PROCESS_GROUP_TO_HOST" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "PROCESS_GROUP_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "SERVICE"
|
||||
enabled = true
|
||||
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "SERVICE_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_NGTP_NGTP-CS.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACRhNjY3YjQ2Ni1iYzMxLTRmYzItYWQ1ZS1mYWRiYWVlZDg2Zji-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_NGTP_NGTP-CS"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_NGTP_NGTP-CS" {
|
||||
name = "CD_Call-Handling-Backends NGTP/NGTP-CS"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_NGTP_NGTP-CS.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "MONITORING_UNAVAILABLE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ANY"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:NGTP", "Component:NGTP-CS" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
# DEFINE dynatrace_alerting.CD_Call-Handling-Backends_PROD.id = vu9U3hXa3q0AAAABABhidWlsdGluOmFsZXJ0aW5nLnByb2ZpbGUABnRlbmFudAAGdGVuYW50ACQwNGI2YzM1MC0xMWEyLTNlZGItODJlOS1iOGIzNzlhYTE5NzC-71TeFdrerQ
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_PROD"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_alerting" "CD_Call-Handling-Backends_PROD" {
|
||||
name = "CD_Call-Handling-Backends PROD"
|
||||
management_zone = data.dynatrace_management_zone.CD_Call-Handling-Backends_PROD.id
|
||||
rules {
|
||||
rule {
|
||||
delay_in_minutes = 0
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "AVAILABILITY"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "CUSTOM_ALERT"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 10
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "ERRORS"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "PERFORMANCE"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
rule {
|
||||
delay_in_minutes = 30
|
||||
include_mode = "INCLUDE_ALL"
|
||||
severity_level = "RESOURCE_CONTENTION"
|
||||
tags = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_PROD.id = 34352b16-e75f-4ba0-94fd-1274a5227904
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_PROD"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
||||
# DEFINE dynatrace_dashboard.CD_Call-Handling-Backends_PROD.id = 250abf9b-fade-4147-b723-fbc4ff776609
|
||||
data "dynatrace_management_zone" "CD_Call-Handling-Backends_PROD"{ name="CD_Call-Handling-Backends" }
|
||||
resource "dynatrace_dashboard" "CD_Call-Handling-Backends_PROD" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb PROD"
|
||||
name = "CD_Call-Handling-Backends PROD"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
tags = [ "Call-Handling-Backends" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
|
|
@ -67,7 +67,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -88,8 +88,8 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_PROD.id
|
||||
name = "CD_Call-Handling-Backends"
|
||||
id = data.dynatrace_management_zone.CD_Call-Handling-Backends_PROD.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -195,7 +195,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -246,7 +246,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -312,7 +312,7 @@ resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
|||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
values = [ "Component:Call-Handling-Backends", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,321 +0,0 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_E2E.id = 43b738f8-a9ad-4116-a35f-98432b9ad36b
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_E2E"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_E2E" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb E2E"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 228
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Failure rate (HTTP 4xx/5xx errors)"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956393463
|
||||
}
|
||||
config {
|
||||
custom_color = "#fff29a"
|
||||
key = "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956441725
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fourxx.rate"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fivexx.rate"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Problems"
|
||||
configured = true
|
||||
tile_type = "OPEN_PROBLEMS"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 950
|
||||
top = 38
|
||||
width = 152
|
||||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_E2E.id
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Overall Health"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 0
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 532
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 570
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Response time, Request Count and Number of Errors"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275720776
|
||||
}
|
||||
config {
|
||||
custom_color = "#b4e5f9"
|
||||
key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1595275686773
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275955999
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.response.time"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.requestCount.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.total.count"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 190
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 646
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 342
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services"
|
||||
default_name = "Services"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Environment:E2E", "Component:tol-tssb" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,321 +0,0 @@
|
|||
# DEFINE dynatrace_dashboard.CD_tol-tssb_PROD.id = ac060af1-76dd-4e9e-8f34-2c2b3e158955
|
||||
data "dynatrace_management_zone" "CD_tol-tssb_PROD"{ name="CD_tol-tssb" }
|
||||
resource "dynatrace_dashboard" "CD_tol-tssb_PROD" {
|
||||
dashboard_metadata {
|
||||
name = "CD_tol-tssb PROD"
|
||||
owner = "Ignacio.Goldman@partner.bmwgroup.com"
|
||||
preset = true
|
||||
shared = true
|
||||
tags = [ "tol-tssb" ]
|
||||
filter {
|
||||
timeframe = "-24h to now"
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 228
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Failure rate (HTTP 4xx/5xx errors)"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#ff0000"
|
||||
key = "nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956393463
|
||||
}
|
||||
config {
|
||||
custom_color = "#fff29a"
|
||||
key = "nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1617956441725
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fourxx.rate"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.fivexx.rate"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Problems"
|
||||
configured = true
|
||||
tile_type = "OPEN_PROBLEMS"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 950
|
||||
top = 38
|
||||
width = 152
|
||||
}
|
||||
filter {
|
||||
management_zone {
|
||||
name = "CD_tol-tssb"
|
||||
id = data.dynatrace_management_zone.CD_tol-tssb_PROD.id
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Overall Health"
|
||||
configured = true
|
||||
tile_type = "HEADER"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 0
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 532
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Custom chart"
|
||||
configured = true
|
||||
tile_type = "CUSTOM_CHARTING"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 304
|
||||
left = 38
|
||||
top = 570
|
||||
width = 1064
|
||||
}
|
||||
filter_config {
|
||||
type = "MIXED"
|
||||
custom_name = "Response time, Request Count and Number of Errors"
|
||||
default_name = "Custom chart"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
result_metadata {
|
||||
config {
|
||||
custom_color = "#008cdb"
|
||||
key = "nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275720776
|
||||
}
|
||||
config {
|
||||
custom_color = "#b4e5f9"
|
||||
key = "nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE"
|
||||
last_modified = 1595275686773
|
||||
}
|
||||
config {
|
||||
custom_color = "#ef651f"
|
||||
key = "nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE"
|
||||
last_modified = 1595275955999
|
||||
}
|
||||
}
|
||||
series {
|
||||
type = "LINE"
|
||||
aggregation = "AVG"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.response.time"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.requestCount.total"
|
||||
# sort_ascending = false
|
||||
# sort_column = false
|
||||
}
|
||||
series {
|
||||
type = "BAR"
|
||||
aggregation = "NONE"
|
||||
aggregation_rate = "TOTAL"
|
||||
entity_type = "SERVICE"
|
||||
metric = "builtin:service.errors.total.count"
|
||||
# sort_ascending = false
|
||||
sort_column = true
|
||||
}
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = "Markdown"
|
||||
configured = true
|
||||
markdown =<<-EOT
|
||||
---
|
||||
|
||||
EOT
|
||||
tile_type = "MARKDOWN"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 38
|
||||
left = 38
|
||||
top = 190
|
||||
width = 1064
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "DATABASES_OVERVIEW"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 646
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "DATABASE"
|
||||
custom_name = "Databases"
|
||||
default_name = "Databases"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "DATABASE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "SERVICES"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 342
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "SERVICE"
|
||||
custom_name = "Services"
|
||||
default_name = "Services"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "SERVICE"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tile {
|
||||
name = ""
|
||||
chart_visible = true
|
||||
configured = true
|
||||
tile_type = "HOSTS"
|
||||
unknowns = jsonencode({
|
||||
"isAutoRefreshDisabled": false
|
||||
})
|
||||
bounds {
|
||||
height = 152
|
||||
left = 38
|
||||
top = 38
|
||||
width = 190
|
||||
}
|
||||
filter_config {
|
||||
type = "HOST"
|
||||
custom_name = "Hosts"
|
||||
default_name = "Hosts"
|
||||
chart_config {
|
||||
type = "TIMESERIES"
|
||||
legend = true
|
||||
}
|
||||
filters {
|
||||
filter {
|
||||
entity_type = "HOST"
|
||||
match {
|
||||
key = "AUTO_TAGS"
|
||||
values = [ "Component:tol-tssb", "Environment:PROD" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
# DEFINE dynatrace_management_zone.CD_Call-Handling-Backends.id = -403115721667378177
|
||||
resource "dynatrace_management_zone" "CD_Call-Handling-Backends" {
|
||||
name = "CD_Call-Handling-Backends"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION_NAMESPACE"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "HOST"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "HOST_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "PROCESS_GROUP"
|
||||
enabled = true
|
||||
propagation_types = [ "PROCESS_GROUP_TO_HOST" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "PROCESS_GROUP_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "SERVICE"
|
||||
enabled = true
|
||||
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "SERVICE_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "Call-Handling-Backends"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
# DEFINE dynatrace_management_zone.CD_tol-tssb.id = -5505687220442320658
|
||||
resource "dynatrace_management_zone" "CD_tol-tssb" {
|
||||
name = "CD_tol-tssb"
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "CLOUD_APPLICATION_NAMESPACE"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||
}
|
||||
string {
|
||||
case_sensitive = true
|
||||
# negate = false
|
||||
operator = "CONTAINS"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "HOST"
|
||||
enabled = true
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "HOST_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "PROCESS_GROUP"
|
||||
enabled = true
|
||||
propagation_types = [ "PROCESS_GROUP_TO_HOST" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "PROCESS_GROUP_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
rules {
|
||||
type = "SERVICE"
|
||||
enabled = true
|
||||
propagation_types = [ "SERVICE_TO_HOST_LIKE", "SERVICE_TO_PROCESS_GROUP_LIKE" ]
|
||||
conditions {
|
||||
key {
|
||||
type = "STATIC"
|
||||
attribute = "SERVICE_TAGS"
|
||||
}
|
||||
tag {
|
||||
# negate = false
|
||||
operator = "EQUALS"
|
||||
value {
|
||||
context = "CONTEXTLESS"
|
||||
key = "Component"
|
||||
value = "tol-tssb"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue