Curate dashboards

This commit is contained in:
Rodrigue Koffi
2022-09-08 20:47:06 +02:00
parent 6266c639c8
commit 0accba2267
11 changed files with 421 additions and 12814 deletions
+260 -15
View File
@@ -24,8 +24,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 8,
"iteration": 1656211679004,
"id": 229,
"iteration": 1662662533087,
"links": [],
"liveNow": false,
"panels": [
@@ -93,7 +93,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.1",
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
@@ -505,7 +505,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.0.1",
"pluginVersion": "8.4.7",
"pointradius": 5,
"points": false,
"renderer": "flot",
@@ -609,12 +609,14 @@
{
"aliasColors": {},
"bars": false,
"columns": [],
"dashLength": 10,
"dashes": false,
"datasource": {
"uid": "$datasource"
},
"fill": 1,
"fontSize": "100%",
"gridPos": {
"h": 7,
"w": 24,
@@ -643,6 +645,11 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"spaceLength": 10,
"stack": false,
"steppedLine": false,
@@ -926,10 +933,255 @@
"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",
"schemaVersion": 36,
"schemaVersion": 35,
"style": "dark",
"tags": [
"infrastructure"
@@ -955,12 +1207,6 @@
"type": "datasource"
},
{
"current": {
"isNone": true,
"selected": false,
"text": "None",
"value": ""
},
"datasource": {
"type": "prometheus",
"uid": "$datasource"
@@ -987,8 +1233,8 @@
{
"current": {
"selected": false,
"text": "ip-192-168-15-60.ec2.internal",
"value": "ip-192-168-15-60.ec2.internal"
"text": "ip-10-0-10-148.eu-central-1.compute.internal",
"value": "ip-10-0-10-148.eu-central-1.compute.internal"
},
"datasource": {
"type": "prometheus",
@@ -1047,6 +1293,5 @@
"timezone": "utc",
"title": "Kubernetes / Compute Resources / Node (Pods)",
"uid": "200ac8fdbfbb74b39aff88118e4d1c2c",
"version": 1,
"weekStart": ""
}
}