coco_apm_exportdtconfig/output/20220126-160617_TERRAFORM/dashboards/Kubernetes workload overvie...

698 lines
20 KiB
HCL

resource "dynatrace_dashboard" "Kubernetes_workload_overview_6b38732e-d26b-45c7-b107-ed85e87ff288" {
dashboard_metadata {
name = "Kubernetes workload overview"
owner = "Dynatrace"
# shared = false
tags = ["Kubernetes"]
dynamic_filters {
filters = ["KUBERNETES_CLUSTER","RELATED_CLOUD_APPLICATION","RELATED_NAMESPACE"]
}
}
tile {
name = "Markdown"
configured = true
markdown = "## Pods overview"
tile_type = "MARKDOWN"
bounds {
height = 38
left = 684
top = 0
width = 950
}
}
tile {
name = "Markdown"
configured = true
markdown = "## Container resource utilization"
tile_type = "MARKDOWN"
bounds {
height = 38
left = 342
top = 380
width = 1292
}
filter {
timeframe = "Last 2 hours"
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 342
top = 684
width = 304
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Top memory hungry containers"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
result_metadata {
config {
custom_color = "#7c38a1"
key = "CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-C61324AA70F57BCB»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE"
last_modified = 1587982372047
}
config {
custom_color = "#c9a000"
key = "CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6¦CLOUD_APPLICATION_NAMESPACE»CLOUD_APPLICATION_NAMESPACE-375040337FEFD0D6»truebuiltin:cloud.kubernetes.namespace.memoryRequests|AVG|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE"
last_modified = 1587982380102
}
}
series {
type = "LINE"
aggregation = "AVG"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.memory.residentSetBytes"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 342
top = 418
width = 304
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Top CPU intensive containers"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
series {
type = "LINE"
aggregation = "AVG"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.cpu.usageMilliCores"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 532
left = 0
top = 418
width = 304
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Running pods"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
result_metadata {
config {
custom_color = "#008cdb"
key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597237249882
}
config {
custom_color = "#64bd64"
key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234642722
}
config {
custom_color = "#f5d30f"
key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234457744
}
config {
custom_color = "#ff0000"
key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234118116
}
config {
custom_color = "#ffa86c"
key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE"
last_modified = 1597858600132
}
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION_NAMESPACE"
metric = "builtin:cloud.kubernetes.namespace.runningPods"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.cloud_application_namespace"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 1140
top = 418
width = 494
}
filter_config {
type = "MIXED"
custom_name = "Container CPU throttling"
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.cpu.throttledMilliCores"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 152
left = 912
top = 190
width = 266
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Pending pods"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION"
metric = "builtin:cloud.kubernetes.workload.pods"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.cloud_application"
entity_dimension = true
id = "0"
}
dimension {
name = "Pod phase"
# entity_dimension = false
id = "1"
values = ["Pending"]
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 304
left = 684
top = 38
width = 228
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Pods"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
result_metadata {
config {
custom_color = "#008cdb"
key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597237249882
}
config {
custom_color = "#64bd64"
key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234642722
}
config {
custom_color = "#f5d30f"
key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234457744
}
config {
custom_color = "#ff0000"
key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234118116
}
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION"
metric = "builtin:cloud.kubernetes.workload.pods"
# sort_ascending = false
sort_column = true
dimension {
name = "Pod phase"
# entity_dimension = false
id = "1"
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 152
left = 912
top = 38
width = 266
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Failed pods"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
series {
type = "AREA"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION"
metric = "builtin:cloud.kubernetes.workload.pods"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.cloud_application"
entity_dimension = true
id = "0"
}
dimension {
name = "Pod phase"
# entity_dimension = false
id = "1"
values = ["Failed"]
}
dimension {
name = "Reason"
# entity_dimension = false
id = "2"
}
}
}
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 1330
top = 684
width = 304
}
filter_config {
type = "MIXED"
custom_name = "Out of memory containers"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
series {
type = "BAR"
aggregation = "NONE"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.memory.outOfMemoryKills"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 646
top = 418
width = 494
}
filter_config {
type = "MIXED"
custom_name = "Total CPU usage vs throttling"
default_name = "Custom chart"
chart_config {
type = "TIMESERIES"
legend = true
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.cpu.throttledMilliCores"
# sort_ascending = false
# sort_column = false
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.cpu.usageMilliCores"
# sort_ascending = false
sort_column = true
}
}
}
}
tile {
name = "Custom chart"
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 266
left = 646
top = 684
width = 684
}
filter_config {
type = "MIXED"
custom_name = "Memory usage and OOM containers"
default_name = "Custom chart"
chart_config {
type = "TIMESERIES"
legend = true
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.memory.residentSetBytes"
# sort_ascending = false
# sort_column = false
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
series {
type = "BAR"
aggregation = "NONE"
aggregation_rate = "TOTAL"
entity_type = "CONTAINER_GROUP_INSTANCE"
metric = "builtin:containers.memory.outOfMemoryKills"
# sort_ascending = false
sort_column = true
dimension {
name = "dt.entity.container_group_instance"
entity_dimension = true
id = "0"
}
}
}
}
}
tile {
name = "Markdown"
configured = true
markdown = "## Workloads by type"
tile_type = "MARKDOWN"
bounds {
height = 38
left = 0
top = 0
width = 684
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 304
left = 0
top = 38
width = 228
}
filter {
timeframe = "-5m"
}
filter_config {
type = "MIXED"
custom_name = "Workloads"
default_name = "Custom chart"
chart_config {
type = "TOP_LIST"
legend = true
result_metadata {
config {
custom_color = "#008cdb"
key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597237249882
}
config {
custom_color = "#64bd64"
key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234642722
}
config {
custom_color = "#f5d30f"
key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234457744
}
config {
custom_color = "#ff0000"
key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234118116
}
config {
custom_color = "#ffa86c"
key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE"
last_modified = 1597858600132
}
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION_NAMESPACE"
metric = "builtin:cloud.kubernetes.namespace.workloads"
# sort_ascending = false
sort_column = true
dimension {
name = "Deployment type"
# entity_dimension = false
id = "1"
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 304
left = 228
top = 38
width = 456
}
filter_config {
type = "MIXED"
custom_name = "Workloads"
default_name = "Custom chart"
chart_config {
type = "TIMESERIES"
legend = true
result_metadata {
config {
custom_color = "#008cdb"
key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597237249882
}
config {
custom_color = "#64bd64"
key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234642722
}
config {
custom_color = "#f5d30f"
key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234457744
}
config {
custom_color = "#ff0000"
key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234118116
}
config {
custom_color = "#ffa86c"
key = "null¦Deployment type»DaemonSet»falsebuiltin:cloud.kubernetes.namespace.workloads|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION_NAMESPACE"
last_modified = 1597858600132
}
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION_NAMESPACE"
metric = "builtin:cloud.kubernetes.namespace.workloads"
# sort_ascending = false
sort_column = true
dimension {
name = "Deployment type"
# entity_dimension = false
id = "1"
}
}
}
}
}
tile {
name = ""
configured = true
tile_type = "CUSTOM_CHARTING"
bounds {
height = 304
left = 1178
top = 38
width = 456
}
filter_config {
type = "MIXED"
custom_name = "Pods"
default_name = "Custom chart"
chart_config {
type = "TIMESERIES"
legend = true
result_metadata {
config {
custom_color = "#008cdb"
key = "null¦Pod phase»Succeeded»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597237249882
}
config {
custom_color = "#64bd64"
key = "null¦Pod phase»Running»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234642722
}
config {
custom_color = "#f5d30f"
key = "null¦Pod phase»Pending»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234457744
}
config {
custom_color = "#ff0000"
key = "null¦Pod phase»Failed»falsebuiltin:cloud.kubernetes.workload.pods|SUM_DIMENSIONS|TOTAL|LINE|CLOUD_APPLICATION"
last_modified = 1597234118116
}
}
series {
type = "LINE"
aggregation = "SUM_DIMENSIONS"
aggregation_rate = "TOTAL"
entity_type = "CLOUD_APPLICATION"
metric = "builtin:cloud.kubernetes.workload.pods"
# sort_ascending = false
sort_column = true
dimension {
name = "Pod phase"
# entity_dimension = false
id = "1"
}
}
}
}
}
tile {
name = "Markdown"
configured = true
markdown = "## Pods per namespace"
tile_type = "MARKDOWN"
bounds {
height = 38
left = 0
top = 380
width = 304
}
}
}