Merge pull request #19 from aws-observability/dashboards-alerts-cleanup

Dashboards alerts cleanup
This commit is contained in:
Rodrigue Koffi
2022-09-08 21:04:31 +02:00
committed by GitHub
11 changed files with 421 additions and 12814 deletions
-41
View File
@@ -4,53 +4,18 @@ resource "grafana_dashboard" "workloads" {
config_json = file("${path.module}/dashboards/workloads.json") config_json = file("${path.module}/dashboards/workloads.json")
} }
resource "grafana_dashboard" "podnetwork" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/pods-networking.json")
}
resource "grafana_dashboard" "pods" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/pods.json")
}
resource "grafana_dashboard" "nodes" { resource "grafana_dashboard" "nodes" {
count = var.enable_dashboards ? 1 : 0 count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/nodes.json") config_json = file("${path.module}/dashboards/nodes.json")
} }
resource "grafana_dashboard" "nwworload" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/networking-workloads.json")
}
resource "grafana_dashboard" "nsworkload" { resource "grafana_dashboard" "nsworkload" {
count = var.enable_dashboards ? 1 : 0 count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/namespace-workloads.json") config_json = file("${path.module}/dashboards/namespace-workloads.json")
} }
resource "grafana_dashboard" "nspods" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/namespace-pods.json")
}
resource "grafana_dashboard" "nsnwworkload" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/namespace-nw-workloads.json")
}
resource "grafana_dashboard" "nsnw" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/namespace-networking.json")
}
resource "grafana_dashboard" "kubelet" { resource "grafana_dashboard" "kubelet" {
count = var.enable_dashboards ? 1 : 0 count = var.enable_dashboards ? 1 : 0
@@ -58,12 +23,6 @@ resource "grafana_dashboard" "kubelet" {
config_json = file("${path.module}/dashboards/kubelet.json") config_json = file("${path.module}/dashboards/kubelet.json")
} }
resource "grafana_dashboard" "clusternw" {
count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id
config_json = file("${path.module}/dashboards/cluster-networking.json")
}
resource "grafana_dashboard" "cluster" { resource "grafana_dashboard" "cluster" {
count = var.enable_dashboards ? 1 : 0 count = var.enable_dashboards ? 1 : 0
folder = var.dashboards_folder_id folder = var.dashboards_folder_id
File diff suppressed because it is too large Load Diff
+160 -231
View File
@@ -24,8 +24,8 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 1, "id": 212,
"iteration": 1656211531163, "iteration": 1662655036228,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
@@ -105,7 +105,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -171,7 +171,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -237,7 +237,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -303,7 +303,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -369,7 +369,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -435,7 +435,7 @@
}, },
"textMode": "auto" "textMode": "auto"
}, },
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
@@ -515,7 +515,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -657,7 +657,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "Value #A", "pattern": "Value #A",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -672,7 +672,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to workloads", "linkTooltip": "Drill down to workloads",
"linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "Value #B", "pattern": "Value #B",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -762,7 +762,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "namespace", "pattern": "namespace",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -958,7 +958,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -1039,12 +1039,14 @@
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"columns": [],
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 1, "fill": 1,
"fontSize": "100%",
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 24, "w": 24,
@@ -1073,6 +1075,11 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@@ -1093,7 +1100,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "Value #A", "pattern": "Value #A",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -1108,7 +1115,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to workloads", "linkTooltip": "Drill down to workloads",
"linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/k8s-resources-workloads-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "Value #B", "pattern": "Value #B",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -1198,7 +1205,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "namespace", "pattern": "namespace",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -1359,12 +1366,15 @@
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"columns": [],
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"type": "prometheus",
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 1, "fill": 1,
"fontSize": "100%",
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 24, "w": 24,
@@ -1393,6 +1403,11 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@@ -1503,7 +1518,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "namespace", "pattern": "namespace",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -1526,9 +1541,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "A", "refId": "A",
@@ -1538,9 +1555,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "B", "refId": "B",
@@ -1550,9 +1569,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "C", "refId": "C",
@@ -1562,9 +1583,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "D", "refId": "D",
@@ -1574,9 +1597,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_receive_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "E", "refId": "E",
@@ -1586,9 +1611,11 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"exemplar": false,
"expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "expr": "sum(irate(container_network_transmit_packets_dropped_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "table", "format": "table",
"instant": true, "instant": true,
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "", "legendFormat": "",
"refId": "F", "refId": "F",
@@ -1646,7 +1673,7 @@
"refId": "A" "refId": "A"
} }
], ],
"title": "Bandwidth", "title": "Bandwidth by Namespace",
"type": "row" "type": "row"
}, },
{ {
@@ -1658,12 +1685,14 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 45 "y": 45
}, },
"hiddenSeries": false,
"id": 12, "id": 12,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -1681,7 +1710,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -1703,6 +1736,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "Receive Bandwidth", "title": "Receive Bandwidth",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -1727,7 +1761,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"aliasColors": {}, "aliasColors": {},
@@ -1738,12 +1775,14 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 45 "y": 45
}, },
"hiddenSeries": false,
"id": 13, "id": 13,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -1761,7 +1800,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -1783,6 +1826,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "Transmit Bandwidth", "title": "Transmit Bandwidth",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -1807,7 +1851,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"collapsed": false, "collapsed": false,
@@ -1832,7 +1879,7 @@
"refId": "A" "refId": "A"
} }
], ],
"title": "Average Container Bandwidth by Namespace", "title": "Bandwidth by Node",
"type": "row" "type": "row"
}, },
{ {
@@ -1841,15 +1888,18 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"type": "prometheus",
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 53 "y": 53
}, },
"hiddenSeries": false,
"id": 14, "id": 14,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -1867,7 +1917,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -1880,8 +1934,10 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"expr": "avg(irate(container_network_receive_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "exemplar": true,
"expr": "avg(irate(container_network_receive_bytes_total{cluster=\"$cluster\"}[$__rate_interval])) by (instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{namespace}}", "legendFormat": "{{namespace}}",
"refId": "A", "refId": "A",
@@ -1889,7 +1945,8 @@
} }
], ],
"thresholds": [], "thresholds": [],
"title": "Average Container Bandwidth by Namespace: Received", "timeRegions": [],
"title": "Average Node Bytes Bandwidth: Received",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
"sort": 2, "sort": 2,
@@ -1913,7 +1970,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"aliasColors": {}, "aliasColors": {},
@@ -1921,15 +1981,18 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"type": "prometheus",
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 53 "y": 53
}, },
"hiddenSeries": false,
"id": 15, "id": 15,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -1947,7 +2010,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -1960,8 +2027,10 @@
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"expr": "avg(irate(container_network_transmit_bytes_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)", "exemplar": true,
"expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\"}[$__rate_interval])) by (instance)",
"format": "time_series", "format": "time_series",
"interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{namespace}}", "legendFormat": "{{namespace}}",
"refId": "A", "refId": "A",
@@ -1969,7 +2038,8 @@
} }
], ],
"thresholds": [], "thresholds": [],
"title": "Average Container Bandwidth by Namespace: Transmitted", "timeRegions": [],
"title": "Average Node Bandwidth: Transmitted",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
"sort": 2, "sort": 2,
@@ -1993,7 +2063,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"collapsed": false, "collapsed": false,
@@ -2007,192 +2080,6 @@
"x": 0, "x": 0,
"y": 60 "y": 60
}, },
"id": 31,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Rate of Packets",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$datasource"
},
"fill": 10,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 61
},
"id": 16,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum(irate(container_network_receive_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{namespace}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"title": "Rate of Received Packets",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$datasource"
},
"fill": 10,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 61
},
"id": 17,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"datasource": {
"uid": "$datasource"
},
"expr": "sum(irate(container_network_transmit_packets_total{job=\"kubelet\", cluster=\"$cluster\", namespace=~\".+\"}[$__rate_interval])) by (namespace)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{namespace}}",
"refId": "A",
"step": 10
}
],
"thresholds": [],
"title": "Rate of Transmitted Packets",
"tooltip": {
"shared": false,
"sort": 2,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"logBase": 1,
"min": 0,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": false
}
]
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 68
},
"id": 32, "id": 32,
"panels": [], "panels": [],
"targets": [ "targets": [
@@ -2216,12 +2103,14 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 69 "y": 61
}, },
"hiddenSeries": false,
"id": 18, "id": 18,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -2239,7 +2128,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -2261,6 +2154,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "Rate of Received Packets Dropped", "title": "Rate of Received Packets Dropped",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -2285,7 +2179,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"aliasColors": {}, "aliasColors": {},
@@ -2296,12 +2193,14 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 69 "y": 61
}, },
"hiddenSeries": false,
"id": 19, "id": 19,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -2319,7 +2218,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -2341,6 +2244,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "Rate of Transmitted Packets Dropped", "title": "Rate of Transmitted Packets Dropped",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -2365,7 +2269,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"collapsed": false, "collapsed": false,
@@ -2377,7 +2284,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 76 "y": 68
}, },
"id": 33, "id": 33,
"panels": [], "panels": [],
@@ -2403,12 +2310,14 @@
}, },
"decimals": -1, "decimals": -1,
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 77 "y": 69
}, },
"hiddenSeries": false,
"id": 20, "id": 20,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -2426,7 +2335,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -2448,6 +2361,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "IOPS(Reads+Writes)", "title": "IOPS(Reads+Writes)",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -2472,7 +2386,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"aliasColors": {}, "aliasColors": {},
@@ -2483,12 +2400,14 @@
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 10, "fill": 10,
"fillGradient": 0,
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 77 "y": 69
}, },
"hiddenSeries": false,
"id": 21, "id": 21,
"interval": "1m", "interval": "1m",
"legend": { "legend": {
@@ -2506,7 +2425,11 @@
"linewidth": 0, "linewidth": 0,
"links": [], "links": [],
"nullPointMode": "null as zero", "nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false, "percentage": false,
"pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -2528,6 +2451,7 @@
} }
], ],
"thresholds": [], "thresholds": [],
"timeRegions": [],
"title": "ThroughPut(Read+Write)", "title": "ThroughPut(Read+Write)",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
@@ -2552,7 +2476,10 @@
"logBase": 1, "logBase": 1,
"show": false "show": false
} }
] ],
"yaxis": {
"align": false
}
}, },
{ {
"collapsed": false, "collapsed": false,
@@ -2564,7 +2491,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 84 "y": 76
}, },
"id": 34, "id": 34,
"panels": [], "panels": [],
@@ -2583,17 +2510,19 @@
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"columns": [],
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 1, "fill": 1,
"fontSize": "100%",
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 85 "y": 77
}, },
"id": 22, "id": 22,
"interval": "1m", "interval": "1m",
@@ -2617,6 +2546,7 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"showHeader": true,
"sort": { "sort": {
"col": 4, "col": 4,
"desc": true "desc": true
@@ -2731,7 +2661,7 @@
"link": true, "link": true,
"linkTargetBlank": false, "linkTargetBlank": false,
"linkTooltip": "Drill down to pods", "linkTooltip": "Drill down to pods",
"linkUrl": "/d/85a562078cdf77779eaa1add43ccec1e/k8s-resources-namespace?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell", "linkUrl": "/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?var-datasource=$datasource&var-cluster=$cluster&var-namespace=$__cell_1",
"pattern": "namespace", "pattern": "namespace",
"thresholds": [], "thresholds": [],
"type": "number", "type": "number",
@@ -2853,7 +2783,7 @@
} }
], ],
"refresh": "10s", "refresh": "10s",
"schemaVersion": 36, "schemaVersion": 35,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"infrastructure" "infrastructure"
@@ -2880,10 +2810,9 @@
}, },
{ {
"current": { "current": {
"isNone": true,
"selected": false, "selected": false,
"text": "None", "text": "adot-amp-grafana-for-java",
"value": "" "value": "adot-amp-grafana-for-java"
}, },
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -2942,6 +2871,6 @@
"timezone": "utc", "timezone": "utc",
"title": "Kubernetes / Compute Resources / Cluster", "title": "Kubernetes / Compute Resources / Cluster",
"uid": "efa86fd1d0c121a26444b636a3f509a8", "uid": "efa86fd1d0c121a26444b636a3f509a8",
"version": 1, "version": 9,
"weekStart": "" "weekStart": ""
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -2274,4 +2274,4 @@
"uid": "a87fb0d919ec0ea5f6543124e16c42a5", "uid": "a87fb0d919ec0ea5f6543124e16c42a5",
"version": 1, "version": 1,
"weekStart": "" "weekStart": ""
} }
File diff suppressed because it is too large Load Diff
+260 -15
View File
@@ -24,8 +24,8 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 8, "id": 229,
"iteration": 1656211679004, "iteration": 1662662533087,
"links": [], "links": [],
"liveNow": false, "liveNow": false,
"panels": [ "panels": [
@@ -93,7 +93,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -505,7 +505,7 @@
"alertThreshold": true "alertThreshold": true
}, },
"percentage": false, "percentage": false,
"pluginVersion": "9.0.1", "pluginVersion": "8.4.7",
"pointradius": 5, "pointradius": 5,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
@@ -609,12 +609,14 @@
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
"columns": [],
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": { "datasource": {
"uid": "$datasource" "uid": "$datasource"
}, },
"fill": 1, "fill": 1,
"fontSize": "100%",
"gridPos": { "gridPos": {
"h": 7, "h": 7,
"w": 24, "w": 24,
@@ -643,6 +645,11 @@
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [], "seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": false,
@@ -926,10 +933,255 @@
"show": false "show": false
} }
] ]
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 32
},
"id": 14,
"panels": [],
"title": "Node Networking",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 33
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"exemplar": true,
"expr": "sum(irate(container_network_receive_bytes_total{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval])) by (pod)",
"interval": "",
"legendFormat": "{{ namespace }}",
"refId": "A"
}
],
"title": "Rate of bytes received by Pod",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"Value"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 33
},
"id": 11,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "$datasource"
},
"exemplar": true,
"expr": "sum(irate(container_network_transmit_bytes_total{cluster=\"$cluster\", instance=~\"$node\"}[$__rate_interval])) by (pod)",
"interval": "",
"legendFormat": "{{ namespace }}",
"refId": "A"
}
],
"title": "Rate of bytes transmitted by Pod",
"type": "timeseries"
} }
], ],
"refresh": "10s", "refresh": "10s",
"schemaVersion": 36, "schemaVersion": 35,
"style": "dark", "style": "dark",
"tags": [ "tags": [
"infrastructure" "infrastructure"
@@ -955,12 +1207,6 @@
"type": "datasource" "type": "datasource"
}, },
{ {
"current": {
"isNone": true,
"selected": false,
"text": "None",
"value": ""
},
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "$datasource" "uid": "$datasource"
@@ -987,8 +1233,8 @@
{ {
"current": { "current": {
"selected": false, "selected": false,
"text": "ip-192-168-15-60.ec2.internal", "text": "ip-10-0-10-148.eu-central-1.compute.internal",
"value": "ip-192-168-15-60.ec2.internal" "value": "ip-10-0-10-148.eu-central-1.compute.internal"
}, },
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
@@ -1047,6 +1293,5 @@
"timezone": "utc", "timezone": "utc",
"title": "Kubernetes / Compute Resources / Node (Pods)", "title": "Kubernetes / Compute Resources / Node (Pods)",
"uid": "200ac8fdbfbb74b39aff88118e4d1c2c", "uid": "200ac8fdbfbb74b39aff88118e4d1c2c",
"version": 1,
"weekStart": "" "weekStart": ""
} }
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff