forked from Deuxfleurs/nixcfg
2167 lines
No EOL
52 KiB
JSON
2167 lines
No EOL
52 KiB
JSON
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_DS_PROMETHEUS",
|
|
"label": "DS_PROMETHEUS",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}
|
|
],
|
|
"__elements": {},
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "9.5.1"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph (old)",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "stat",
|
|
"name": "Stat",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "text",
|
|
"name": "Text",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "datasource",
|
|
"uid": "grafana"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"target": {
|
|
"limit": 100,
|
|
"matchAny": false,
|
|
"tags": [],
|
|
"type": "dashboard"
|
|
},
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"description": "Dashboard to view multiple servers",
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"gnetId": 405,
|
|
"graphTooltip": 1,
|
|
"id": null,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 11,
|
|
"maxPerRow": 6,
|
|
"options": {
|
|
"code": {
|
|
"language": "plaintext",
|
|
"showLineNumbers": false,
|
|
"showMiniMap": false
|
|
},
|
|
"content": "",
|
|
"mode": "html"
|
|
},
|
|
"pluginVersion": "9.5.1",
|
|
"repeat": "node",
|
|
"style": {},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "$node",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"match": "null",
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 20,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "none",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "9.5.1",
|
|
"repeat": "node",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "count(node_cpu_seconds_total{instance=~\"$node\", mode=\"system\"}) or count(node_cpu{instance=~\"$node\", mode=\"system\"})",
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 14400,
|
|
"target": ""
|
|
}
|
|
],
|
|
"title": "CPU Cores",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"idle": "green",
|
|
"system": "dark-red",
|
|
"user": "dark-blue"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 10,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 7,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"alignAsTable": false,
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 0,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.5.1",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:215",
|
|
"alias": "scheduler_wait",
|
|
"color": "#FFEE52",
|
|
"lines": false,
|
|
"pointradius": 1,
|
|
"points": true,
|
|
"stack": false,
|
|
"yaxis": 2
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"system\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"system\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "system",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"user\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"user\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "user",
|
|
"refId": "B",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"nice\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"nice\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "nice",
|
|
"refId": "C",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"iowait\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"iowait\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "iowait",
|
|
"refId": "E",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"steal\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"steal\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "steal",
|
|
"refId": "H",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"idle\",instance=~'$node'}[$interval])) or sum(irate(node_cpu{mode=\"idle\",instance=~'$node'}[$interval]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "idle",
|
|
"refId": "D",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"irq\",instance=~'$node'}[1m])) or sum(irate(node_cpu{mode=\"irq\",instance=~'$node'}[1m]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "irq",
|
|
"refId": "F",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"softirq\",instance=~'$node'}[1m])) or sum(irate(node_cpu{mode=\"softirq\",instance=~'$node'}[1m]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "softirq",
|
|
"refId": "G",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(irate(node_cpu_seconds_total{mode=\"guest\",instance=~'$node'}[1m])) or sum(irate(node_cpu{mode=\"guest\",instance=~'$node'}[1m]))",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "guest",
|
|
"refId": "I",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "sum(rate(node_schedstat_waiting_seconds_total{instance=~'$node'}[1m]))",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "scheduler_wait",
|
|
"refId": "J"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "CPU",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:639",
|
|
"format": "percentunit",
|
|
"label": "%",
|
|
"logBase": 1,
|
|
"max": "2",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:640",
|
|
"format": "s",
|
|
"label": "Wait per 1s",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": 0
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Slab": "#E5A8E2",
|
|
"Swap": "#E24D42"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"decimals": 2,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 10
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 17,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.5.1",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:164",
|
|
"alias": "/Apps|Buffers|Cached|Free|Slab|SwapCached|PageTables|VmallocUsed/",
|
|
"fill": 5,
|
|
"stack": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:165",
|
|
"alias": "Swap",
|
|
"fill": 5,
|
|
"stack": true
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"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'} )",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Apps",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Buffers_bytes{instance=~'$node'} or node_memory_Buffers{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Buffers",
|
|
"refId": "B",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Cached_bytes{instance=~'$node'} or node_memory_Cached{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Cached",
|
|
"refId": "D",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_MemFree_bytes{instance=~'$node'} or node_memory_MemFree{instance=~'$node'}",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Free",
|
|
"refId": "E",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Slab_bytes{instance=~'$node'} or node_memory_Slab{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Slab",
|
|
"refId": "F",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_SwapCached_bytes{instance=~'$node'} or node_memory_SwapCached{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "SwapCached",
|
|
"refId": "G",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_PageTables_bytes{instance=~'$node'} or node_memory_PageTables{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "PageTables",
|
|
"refId": "H",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_VmallocUsed_bytes{instance=~'$node'} or node_memory_VmallocUsed{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "VmallocUsed",
|
|
"metric": "",
|
|
"refId": "I",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "(node_memory_SwapTotal_bytes{instance=~'$node'} - node_memory_SwapFree{instance=~'$node'}) or (node_memory_SwapTotal{instance=~'$node'} - node_memory_SwapFree{instance=~'$node'})",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Swap",
|
|
"metric": "",
|
|
"refId": "C",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Committed_AS_bytes{instance=~'$node'} or node_memory_Committed_AS{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Committed",
|
|
"metric": "",
|
|
"refId": "J",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Mapped_bytes{instance=~'$node'} or node_memory_Mapped{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Mapped",
|
|
"refId": "K",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Active_bytes{instance=~'$node'} or node_memory_Active{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Active",
|
|
"metric": "",
|
|
"refId": "L",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_memory_Inactive_bytes{instance=~'$node'} or node_memory_Inactive{instance=~'$node'}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Inactive",
|
|
"metric": "",
|
|
"refId": "M",
|
|
"step": 1200
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Memory",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:182",
|
|
"format": "bytes",
|
|
"label": "GB",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:183",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 2
|
|
},
|
|
{
|
|
"color": "semi-dark-red",
|
|
"value": 4
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 17
|
|
},
|
|
"id": 13,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "9.5.1",
|
|
"repeat": "node",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "node_load1{instance=~\"$node\"}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 4,
|
|
"legendFormat": "load",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"title": "Load",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"decimals": 3,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 21
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 9,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.5.1",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "avg(100.0 - 100 * (node_filesystem_avail_bytes{instance=~'$node',device !~'tmpfs',device!~'by-uuid'} / node_filesystem_size_bytes{instance=~'$node',device !~'tmpfs',device!~'by-uuid'}) or 100.0 - 100 * (node_filesystem_avail{instance=~'$node',device !~'tmpfs',device!~'by-uuid'} / node_filesystem_size{instance=~'$node',device !~'tmpfs',device!~'by-uuid'}))by(device)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{device}}",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Disk Space Used %",
|
|
"tooltip": {
|
|
"msResolution": true,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:808",
|
|
"format": "percent",
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:809",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"decimals": 3,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 28
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 56,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "avg(node_filesystem_size_bytes{instance=~'$node',fstype!~'tmpfs',device!~'by-uuid',} - node_filesystem_avail_bytes{instance=~'$node',fstype!~'tmpfs',device!~'by-uuid'}) by (device)",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{device}}",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Disk Space Used per device",
|
|
"tooltip": {
|
|
"msResolution": true,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:808",
|
|
"format": "bytes",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:809",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"sda": "blue",
|
|
"sdb": "light-green"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 4,
|
|
"fillGradient": 2,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 35
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 19,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": false
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_disk_io_time_seconds_total{instance=~\"$node\"}[$interval])*100 or irate(node_disk_io_time_ms{instance=~\"$node\"}[$interval])/10",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Disk Utilization per Device",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:116",
|
|
"format": "percent",
|
|
"logBase": 1,
|
|
"max": 100,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:117",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"sda_read": "dark-blue",
|
|
"sda_write": "dark-red",
|
|
"sdb_read": "light-green",
|
|
"sdb_write": "light-orange"
|
|
},
|
|
"bars": true,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 42
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 14,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": false,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:583",
|
|
"alias": "/.*_write$/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_disk_reads_completed_total{instance=~'$node'}[$interval]) or irate(node_disk_reads_completed{instance=~'$node'}[$interval])",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_read",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 2400,
|
|
"target": ""
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_disk_writes_completed_total{instance=~'$node'}[$interval]) or irate(node_disk_writes_completed{instance=~'$node'}[$interval])",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_write",
|
|
"metric": "",
|
|
"refId": "B",
|
|
"step": 1200
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Disk IOs per Device",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:590",
|
|
"format": "short",
|
|
"label": "IO/second read (-) / write (+)",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:591",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"sda_read": "dark-blue",
|
|
"sda_write": "dark-red",
|
|
"sdb_read": "light-green",
|
|
"sdb_write": "light-orange"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 49
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 18,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:442",
|
|
"alias": "/.*_write/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_disk_read_bytes_total{instance=~'$node'}[$interval]) or irate(node_disk_sectors_read{instance=~'$node'}[$interval]) * 512",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_read",
|
|
"refId": "B",
|
|
"step": 2400
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_disk_written_bytes_total{instance=~'$node'}[$interval]) or irate(node_disk_sectors_written{instance=~'$node'}[$interval]) * 512",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_write",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 2400,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Disk Throughput per Device",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:465",
|
|
"format": "binBps",
|
|
"label": "Bytes/second read (-) / write (+)",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:466",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 56
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 22,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "irate(node_context_switches_total{instance=~\"$node\"}[5m]) or irate(node_context_switches{instance=~\"$node\"}[5m])",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "context switches",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Context Switches",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:221",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:222",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 63
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 21,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_netstat_Tcp_CurrEstab{instance=~'$node'}",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "established",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Netstat",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:510",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:511",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 70
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 23,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"alias": "/.*Out.*/",
|
|
"transform": "negative-Y"
|
|
},
|
|
{
|
|
"alias": "Udp_NoPorts",
|
|
"yaxis": 2
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "irate(node_netstat_Udp_InDatagrams{instance=~\"$node\"}[5m])",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Udp_InDatagrams",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "irate(node_netstat_Udp_InErrors{instance=~\"$node\"}[5m])",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Udp_InErrors",
|
|
"refId": "B",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "irate(node_netstat_Udp_OutDatagrams{instance=~\"$node\"}[5m])",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Udp_OutDatagrams",
|
|
"refId": "C",
|
|
"step": 1200
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "irate(node_netstat_Udp_NoPorts{instance=~\"$node\"}[5m])",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "Udp_NoPorts",
|
|
"refId": "D",
|
|
"step": 1200
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "UDP Stats",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 77
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 87,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"repeatDirection": "h",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "node_sockstat_sockets_used{instance=~\"$node\"}",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "sockets",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Open socket count",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:588",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:589",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 84
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 24,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"expr": "node_nf_conntrack_entries_limit{instance=~\"$node\"} - node_nf_conntrack_entries{instance=~\"$node\"}",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "free",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Conntrack",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:588",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:589",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 91
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 12,
|
|
"interval": "5s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"maxPerRow": 6,
|
|
"nullPointMode": "null",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.2.0",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"repeat": "node",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:301",
|
|
"alias": "/.*_in/",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_network_receive_bytes_total{instance=~'$node', device!~'veth.*'}[$interval])*8 or irate(node_network_receive_bytes{instance=~'$node'}[$interval])*8",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_in",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 1200,
|
|
"target": ""
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "irate(node_network_transmit_bytes_total{instance=~'$node', device!~'veth.*'}[$interval])*8 or irate(node_network_transmit_bytes{instance=~'$node'}[$interval])*8",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{device}}_out",
|
|
"refId": "B",
|
|
"step": 1200
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Network Traffic",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:308",
|
|
"format": "bps",
|
|
"label": "bits in (-) / bits out (+)",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:309",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
}
|
|
],
|
|
"refresh": "",
|
|
"schemaVersion": 38,
|
|
"style": "dark",
|
|
"tags": [
|
|
"prometheus"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"allFormat": "glob",
|
|
"current": {},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${DS_DS_PROMETHEUS}"
|
|
},
|
|
"definition": "",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "",
|
|
"multi": true,
|
|
"multiFormat": "regex values",
|
|
"name": "node",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(node_exporter_build_info, instance)",
|
|
"refId": "Prometheus-node-Variable-Query"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"auto": true,
|
|
"auto_count": 30,
|
|
"auto_min": "15s",
|
|
"current": {
|
|
"selected": false,
|
|
"text": "1m",
|
|
"value": "1m"
|
|
},
|
|
"hide": 0,
|
|
"name": "interval",
|
|
"options": [
|
|
{
|
|
"selected": false,
|
|
"text": "auto",
|
|
"value": "$__auto_interval_interval"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "10s",
|
|
"value": "10s"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "15s",
|
|
"value": "15s"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "20s",
|
|
"value": "20s"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "30s",
|
|
"value": "30s"
|
|
},
|
|
{
|
|
"selected": true,
|
|
"text": "1m",
|
|
"value": "1m"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "10m",
|
|
"value": "10m"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "30m",
|
|
"value": "30m"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "1h",
|
|
"value": "1h"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "6h",
|
|
"value": "6h"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "12h",
|
|
"value": "12h"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "1d",
|
|
"value": "1d"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "7d",
|
|
"value": "7d"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "14d",
|
|
"value": "14d"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "30d",
|
|
"value": "30d"
|
|
}
|
|
],
|
|
"query": "10s,15s,20s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
|
|
"queryValue": "",
|
|
"refresh": 2,
|
|
"skipUrlSync": false,
|
|
"type": "interval"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-15m",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"now": true,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
]
|
|
},
|
|
"timezone": "browser",
|
|
"title": "Node Exporter Server Metrics",
|
|
"uid": "fPE5X58Mz",
|
|
"version": 2,
|
|
"weekStart": ""
|
|
} |