Commit 1a2e6bc8 authored by Simon Volpert's avatar Simon Volpert 🐧 Committed by Joerg Domaschka

dashboards

parent 57e58a20
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 6,
"links": [],
"panels": [
{
"columns": [],
"datasource": "Prometheus",
"fontSize": "100%",
"gridPos": {
"h": 16,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"pageSize": null,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"align": "right",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "bbb_exporter_build_info",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "BBB Exporter Info",
"transform": "table",
"type": "table"
}
],
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "BBB",
"uid": "QgdL4vrZk",
"variables": {
"list": []
},
"version": 2
}
\ No newline at end of file
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 5,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "node_load5",
"interval": "",
"legendFormat": "{{ service_id }}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Load Average 5min",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Node Overview",
"uid": "dpq04vrWk",
"variables": {
"list": []
},
"version": 2
}
\ No newline at end of file
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"annotations": { "annotations": {
"list": [ "list": [
{ {
"$$hashKey": "object:82",
"builtIn": 1, "builtIn": 1,
"datasource": "-- Grafana --", "datasource": "-- Grafana --",
"enable": true, "enable": true,
...@@ -16,11 +17,12 @@ ...@@ -16,11 +17,12 @@
"editable": true, "editable": true,
"gnetId": 405, "gnetId": 405,
"graphTooltip": 0, "graphTooltip": 0,
"iteration": 1564559002758, "iteration": 1585057225734,
"links": [], "links": [],
"panels": [ "panels": [
{ {
"content": "", "content": "",
"datasource": null,
"editable": true, "editable": true,
"error": false, "error": false,
"gridPos": { "gridPos": {
...@@ -32,13 +34,13 @@ ...@@ -32,13 +34,13 @@
"id": 11, "id": 11,
"maxPerRow": 6, "maxPerRow": 6,
"mode": "html", "mode": "html",
"options": {},
"repeat": "node", "repeat": "node",
"scopedVars": { "scopedVars": {
"node": { "node": {
"$$hashKey": "object:118",
"selected": true, "selected": true,
"text": "storage", "text": "134.60.153.56:9100",
"value": "storage" "value": "134.60.153.56:9100"
} }
}, },
"style": {}, "style": {},
...@@ -89,7 +91,6 @@ ...@@ -89,7 +91,6 @@
"maxPerRow": 6, "maxPerRow": 6,
"nullPointMode": "connected", "nullPointMode": "connected",
"nullText": null, "nullText": null,
"options": {},
"postfix": "", "postfix": "",
"postfixFontSize": "50%", "postfixFontSize": "50%",
"prefix": "", "prefix": "",
...@@ -104,9 +105,10 @@ ...@@ -104,9 +105,10 @@
"repeat": "node", "repeat": "node",
"scopedVars": { "scopedVars": {
"node": { "node": {
"$$hashKey": "object:118",
"selected": true, "selected": true,
"text": "storage", "text": "134.60.153.56:9100",
"value": "storage" "value": "134.60.153.56:9100"
} }
}, },
"sparkline": { "sparkline": {
...@@ -118,7 +120,7 @@ ...@@ -118,7 +120,7 @@
"tableColumn": "", "tableColumn": "",
"targets": [ "targets": [
{ {
"expr": "count(node_cpu_seconds_total{instance=~\"$node\", mode=\"system\"}) or count(node_cpu{instance=~\"$node\", mode=\"system\"})", "expr": "count(node_cpu_seconds_total{service_id=\"node-exporter-$node\", mode=\"system\"}) or count(node_cpu{service_id=\"node-exporter-$node\", mode=\"system\"})",
"instant": true, "instant": true,
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
...@@ -152,6 +154,7 @@ ...@@ -152,6 +154,7 @@
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 10, "fill": 10,
"fillGradient": 0,
"grid": {}, "grid": {},
"gridPos": { "gridPos": {
"h": 7, "h": 7,
...@@ -159,6 +162,7 @@ ...@@ -159,6 +162,7 @@
"x": 0, "x": 0,
"y": 6 "y": 6
}, },
"hiddenSeries": false,
"id": 7, "id": 7,
"legend": { "legend": {
"alignAsTable": false, "alignAsTable": false,
...@@ -177,7 +181,9 @@ ...@@ -177,7 +181,9 @@
"links": [], "links": [],
"maxPerRow": 6, "maxPerRow": 6,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {}, "options": {
"dataLinks": []
},
"paceLength": 10, "paceLength": 10,
"percentage": true, "percentage": true,
"pointradius": 5, "pointradius": 5,
...@@ -186,9 +192,10 @@ ...@@ -186,9 +192,10 @@
"repeat": "node", "repeat": "node",
"scopedVars": { "scopedVars": {
"node": { "node": {
"$$hashKey": "object:118",
"selected": true, "selected": true,
"text": "storage", "text": "134.60.153.56:9100",
"value": "storage" "value": "134.60.153.56:9100"
} }
}, },
"seriesOverrides": [], "seriesOverrides": [],
...@@ -197,7 +204,7 @@ ...@@ -197,7 +204,7 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"system\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"system\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"system\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"system\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "system", "legendFormat": "system",
...@@ -207,7 +214,7 @@ ...@@ -207,7 +214,7 @@
"target": "" "target": ""
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"user\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"user\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"user\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"user\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "user", "legendFormat": "user",
...@@ -215,7 +222,7 @@ ...@@ -215,7 +222,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"nice\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"nice\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"nice\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"nice\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "nice", "legendFormat": "nice",
...@@ -223,7 +230,7 @@ ...@@ -223,7 +230,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"iowait\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"iowait\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"iowait\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"iowait\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "iowait", "legendFormat": "iowait",
...@@ -231,14 +238,14 @@ ...@@ -231,14 +238,14 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"steal\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"steal\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"steal\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"steal\",service_id='node-exporter-$node'}[5m]))",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "steal", "legendFormat": "steal",
"refId": "H", "refId": "H",
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"idle\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"idle\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"idle\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"idle\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "idle", "legendFormat": "idle",
...@@ -246,7 +253,7 @@ ...@@ -246,7 +253,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"irq\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"irq\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"irq\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"irq\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "irq", "legendFormat": "irq",
...@@ -254,7 +261,7 @@ ...@@ -254,7 +261,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"softirq\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"softirq\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"softirq\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"softirq\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "softirq", "legendFormat": "softirq",
...@@ -262,7 +269,7 @@ ...@@ -262,7 +269,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "sum(irate(node_cpu_seconds_total{mode=\"guest\",instance=~'$node'}[5m])) or sum(irate(node_cpu{mode=\"guest\",instance=~'$node'}[5m]))", "expr": "sum(irate(node_cpu_seconds_total{mode=\"guest\",service_id='node-exporter-$node'}[5m])) or sum(irate(node_cpu{mode=\"guest\",service_id='node-exporter-$node'}[5m]))",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "guest", "legendFormat": "guest",
...@@ -333,6 +340,7 @@ ...@@ -333,6 +340,7 @@
"editable": true, "editable": true,
"error": false, "error": false,
"fill": 1, "fill": 1,
"fillGradient": 0,
"grid": {}, "grid": {},
"gridPos": { "gridPos": {
"h": 7, "h": 7,
...@@ -340,6 +348,7 @@ ...@@ -340,6 +348,7 @@
"x": 0, "x": 0,
"y": 13 "y": 13
}, },
"hiddenSeries": false,
"id": 17, "id": 17,
"legend": { "legend": {
"avg": false, "avg": false,
...@@ -355,7 +364,9 @@ ...@@ -355,7 +364,9 @@
"links": [], "links": [],
"maxPerRow": 6, "maxPerRow": 6,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": {}, "options": {
"dataLinks": []
},
"paceLength": 10, "paceLength": 10,
"percentage": false, "percentage": false,
"pointradius": 5, "pointradius": 5,
...@@ -364,9 +375,10 @@ ...@@ -364,9 +375,10 @@
"repeat": "node", "repeat": "node",
"scopedVars": { "scopedVars": {
"node": { "node": {
"$$hashKey": "object:118",
"selected": true, "selected": true,
"text": "storage", "text": "134.60.153.56:9100",
"value": "storage" "value": "134.60.153.56:9100"
} }
}, },
"seriesOverrides": [ "seriesOverrides": [
...@@ -386,7 +398,7 @@ ...@@ -386,7 +398,7 @@
"steppedLine": false, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "( node_memory_MemTotal_bytes{instance=~'$node'} - node_memory_MemFree_bytes{instance=~'$node'} - node_memory_Buffers_bytes{instance=~'$node'} - node_memory_Cached_bytes{instance=~'$node'} - node_memory_SwapCached_bytes{instance=~'$node'} - node_memory_Slab_bytes{instance=~'$node'} - node_memory_PageTables_bytes{instance=~'$node'} - node_memory_VmallocUsed_bytes{instance=~'$node'} ) or ( node_memory_MemTotal{instance=~'$node'} - node_memory_MemFree{instance=~'$node'} - node_memory_Buffers{instance=~'$node'} - node_memory_Cached{instance=~'$node'} - node_memory_SwapCached{instance=~'$node'} - node_memory_Slab{instance=~'$node'} - node_memory_PageTables{instance=~'$node'} - node_memory_VmallocUsed{instance=~'$node'} )", "expr": "( node_memory_MemTotal_bytes{service_id='node-exporter-$node'} - node_memory_MemFree_bytes{service_id='node-exporter-$node'} - node_memory_Buffers_bytes{service_id='node-exporter-$node'} - node_memory_Cached_bytes{service_id='node-exporter-$node'} - node_memory_SwapCached_bytes{service_id='node-exporter-$node'} - node_memory_Slab_bytes{service_id='node-exporter-$node'} - node_memory_PageTables_bytes{service_id='node-exporter-$node'} - node_memory_VmallocUsed_bytes{service_id='node-exporter-$node'} ) or ( node_memory_MemTotal{service_id='node-exporter-$node'} - node_memory_MemFree{service_id='node-exporter-$node'} - node_memory_Buffers{service_id='node-exporter-$node'} - node_memory_Cached{service_id='node-exporter-$node'} - node_memory_SwapCached{service_id='node-exporter-$node'} - node_memory_Slab{service_id='node-exporter-$node'} - node_memory_PageTables{service_id='node-exporter-$node'} - node_memory_VmallocUsed{service_id='node-exporter-$node'} )",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Apps", "legendFormat": "Apps",
...@@ -396,7 +408,7 @@ ...@@ -396,7 +408,7 @@
"target": "" "target": ""
}, },
{ {
"expr": "node_memory_Buffers_bytes{instance=~'$node'} or node_memory_Buffers{instance=~'$node'}", "expr": "node_memory_Buffers_bytes{service_id='node-exporter-$node'} or node_memory_Buffers{service_id='node-exporter-$node'}",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Buffers", "legendFormat": "Buffers",
...@@ -404,7 +416,7 @@ ...@@ -404,7 +416,7 @@
"step": 1200 "step": 1200
}, },
{ {
"expr": "node_memory_Cached_bytes{instance=~'$node'} or node_memory_Cached{instance=~'$node'}", "expr": "node_memory_Cached_bytes{service_id='node-exporter-$node'} or node_memory_Cached{service_id='node-exporter-$node'}",
"interval": "", "interval": "",
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "Cached", "legendFormat": "Cached",
...@@ -412,7 +424,7 @@ ...@@ -412,7 +424,7 @@
"step": 1200