Created
December 7, 2016 07:12
-
-
Save TheWaWaR/32d4998b9ab56588c44105157aa7297d to your computer and use it in GitHub Desktop.
Grafana prometheus configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 29, | |
"title": "Prometheus - Demo Dashboard", | |
"tags": [ | |
"prometheus", | |
"node", | |
"misc" | |
], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"sharedCrosshair": false, | |
"hideControls": true, | |
"time": { | |
"from": "now-1h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"templating": { | |
"list": [ | |
{ | |
"allFormat": "pipe", | |
"current": { | |
"text": "demo.robustperception.io", | |
"value": "demo.robustperception.io" | |
}, | |
"datasource": "demo.robustperception.io", | |
"hide": 1, | |
"hideLabel": true, | |
"includeAll": false, | |
"label": "Node", | |
"multi": false, | |
"multiFormat": "pipe", | |
"name": "node", | |
"options": [], | |
"query": "label_values(node_load1{job=\"node\"}, instance)", | |
"refresh": 1, | |
"regex": "/([^:]+):.*/", | |
"type": "query", | |
"useTags": false, | |
"sort": 0, | |
"allValue": null, | |
"tagsQuery": null, | |
"tagValuesQuery": null | |
}, | |
{ | |
"allFormat": "regex wildcard", | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "demo.robustperception.io", | |
"hide": 2, | |
"hideVariable": true, | |
"includeAll": true, | |
"multi": false, | |
"multiFormat": "glob", | |
"name": "filesystem_mountpoint", | |
"options": [], | |
"query": "query_result(node_filesystem_size{job=\"node\", instance=~\"$node:.*\", device=~\"/dev/.*\", mountpoint!=\"/var/lib/docker/aufs\"})", | |
"refresh": 1, | |
"regex": "/mountpoint=\"([^\"]+)/", | |
"type": "query", | |
"label": null, | |
"sort": 0, | |
"allValue": null, | |
"tagsQuery": null, | |
"tagValuesQuery": null | |
} | |
] | |
}, | |
"annotations": { | |
"list": [] | |
}, | |
"refresh": "5m", | |
"schemaVersion": 13, | |
"version": 3, | |
"links": [ | |
{ | |
"asDropdown": false, | |
"icon": "external link", | |
"keepTime": true, | |
"tags": [ | |
"prometheus" | |
], | |
"title": "", | |
"type": "dashboards" | |
} | |
], | |
"gnetId": null, | |
"rows": [ | |
{ | |
"title": "New row", | |
"panels": [ | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "percentunit", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 8, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"targets": [ | |
{ | |
"expr": "node_load1{job=\"node\", instance=~\"$node:.*\"} / count by(job, instance)(count by(job, instance, cpu)(node_cpu{job=\"node\", instance=~\"$node:.*\"}))", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"thresholds": "0.8,0.9", | |
"title": "Load", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": true, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 9, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"targets": [ | |
{ | |
"expr": "up{job=\"node\", instance=~\"$node:.*\"}", | |
"intervalFactor": 2, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"thresholds": "1,1", | |
"title": "State", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "up", | |
"value": "1" | |
}, | |
{ | |
"op": "=", | |
"text": "down", | |
"value": "0" | |
} | |
], | |
"valueName": "current", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "none", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 5, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"targets": [ | |
{ | |
"expr": "count(count by(cpu)(node_cpu{job=\"node\", instance=~\"$node:.*\"}))", | |
"intervalFactor": 10, | |
"legendFormat": "", | |
"metric": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": "", | |
"title": "Cores", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "bytes", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 6, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"targets": [ | |
{ | |
"expr": "node_memory_MemTotal{job=\"node\", instance=~\"$node:.*\"}", | |
"intervalFactor": 10, | |
"metric": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": "", | |
"title": "Memory", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "bytes", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 7, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"targets": [ | |
{ | |
"expr": "sum(node_filesystem_size{job=\"node\", instance=~\"$node:.*\", device=~\"/dev/.*\", mountpoint!=\"/var/lib/docker/aufs\"})", | |
"intervalFactor": 10, | |
"legendFormat": "", | |
"metric": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": "", | |
"title": "All disks", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(50, 172, 45, 0.97)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(245, 54, 54, 0.9)" | |
], | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"format": "s", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"id": 10, | |
"interval": null, | |
"links": [], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"span": 2, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"targets": [ | |
{ | |
"expr": "time() - node_boot_time{job=\"node\", instance=~\"$node:.*\"}", | |
"intervalFactor": 10, | |
"legendFormat": "", | |
"metric": "node_boot_time", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": "", | |
"title": "Uptime", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg", | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"to": "null", | |
"text": "N/A" | |
} | |
], | |
"mappingType": 1 | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": "100px", | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "Row", | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": "demo.robustperception.io", | |
"decimals": 2, | |
"editable": true, | |
"error": false, | |
"fill": 4, | |
"grid": {}, | |
"id": 1, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 6, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by(mode)(irate(node_cpu{job=\"node\", instance=~\"$node:.*\", mode!=\"idle\"}[5m])) > 0", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{mode}}", | |
"metric": "", | |
"refId": "A", | |
"step": 10 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "CPU usage", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "individual", | |
"sort": 0 | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true, | |
"mode": "time", | |
"name": null, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"thresholds": [] | |
}, | |
{ | |
"aliasColors": { | |
"buffers": "#705DA0", | |
"free": "#7EB26D" | |
}, | |
"bars": false, | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"id": 2, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 6, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "irate(node_disk_io_time_ms{job=\"node\", instance=~\"$node:.*\"}[5m]) / 1000", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{device}}", | |
"refId": "A", | |
"step": 10 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Disk I/O utilization", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "individual", | |
"sort": 0 | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true, | |
"mode": "time", | |
"name": null, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "percentunit", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"thresholds": [] | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": "300px", | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "New row", | |
"panels": [ | |
{ | |
"aliasColors": { | |
"buffers": "#705DA0", | |
"free": "#7EB26D" | |
}, | |
"bars": false, | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"fill": 7, | |
"grid": {}, | |
"id": 3, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "free", | |
"fill": 1, | |
"fillBelowTo": "used", | |
"lines": false, | |
"zindex": 2 | |
}, | |
{ | |
"alias": "used", | |
"zindex": 1 | |
} | |
], | |
"span": 6, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "node_memory_Buffers{job=\"node\", instance=~\"$node:.*\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "buffers", | |
"refId": "A", | |
"step": 10 | |
}, | |
{ | |
"expr": "node_memory_Cached{job=\"node\", instance=~\"$node:.*\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "cached", | |
"refId": "B", | |
"step": 10 | |
}, | |
{ | |
"expr": "node_memory_MemFree{job=\"node\", instance=~\"$node:.*\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "free", | |
"refId": "C", | |
"step": 10 | |
}, | |
{ | |
"expr": "node_memory_MemTotal{job=\"node\", instance=~\"$node:.*\"} - node_memory_MemFree{job=\"node\", instance=~\"$node:.*\"} - node_memory_Cached{job=\"node\", instance=~\"$node:.*\"} - node_memory_Buffers{job=\"node\", instance=~\"$node:.*\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "D", | |
"step": 10 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Memory usage", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "individual", | |
"sort": 0 | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true, | |
"mode": "time", | |
"name": null, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"thresholds": [] | |
}, | |
{ | |
"aliasColors": { | |
"buffers": "#705DA0", | |
"free": "#7EB26D" | |
}, | |
"bars": false, | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": {}, | |
"id": 4, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/.*outbound/", | |
"transform": "negative-Y" | |
} | |
], | |
"span": 6, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "irate(node_network_transmit_bytes{job=\"node\", instance=~\"$node:.*\", device!~\"lo|bond[0-9]|cbr[0-9]|veth.*\"}[5m]) > 0", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{device}} outbound", | |
"metric": "", | |
"refId": "A", | |
"step": 10 | |
}, | |
{ | |
"expr": "irate(node_network_receive_bytes{job=\"node\", instance=~\"$node:.*\", device!~\"lo|bond[0-9]|cbr[0-9]|veth.*\"}[5m]) > 0", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{device}} inbound", | |
"metric": "", | |
"refId": "B", | |
"step": 10 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Network usage", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "individual", | |
"sort": 0 | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true, | |
"mode": "time", | |
"name": null, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "Bps", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"thresholds": [] | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": "300px", | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
}, | |
{ | |
"title": "New row", | |
"panels": [ | |
{ | |
"aliasColors": { | |
"free": "#7EB26D", | |
"size": "#7EB26D", | |
"usage": "#EAB839", | |
"used": "#EAB839" | |
}, | |
"bars": false, | |
"datasource": "demo.robustperception.io", | |
"editable": true, | |
"error": false, | |
"fill": 7, | |
"grid": {}, | |
"id": 11, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"minSpan": 4, | |
"nullPointMode": "null as zero", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": "filesystem_mountpoint", | |
"seriesOverrides": [ | |
{ | |
"alias": "free", | |
"fill": 10, | |
"fillBelowTo": "used", | |
"lines": false, | |
"linewidth": 2 | |
} | |
], | |
"span": 12, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "node_filesystem_size{job=\"node\", instance=~\"$node:.*\", device=~\"/dev/.*\", mountpoint=\"$filesystem_mountpoint\"} - node_filesystem_free{job=\"node\", instance=~\"$node:.*\", device=~\"/dev/.*\", mountpoint=\"$filesystem_mountpoint\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "used", | |
"metric": "", | |
"refId": "A", | |
"step": 4 | |
}, | |
{ | |
"expr": "node_filesystem_free{job=\"node\", instance=~\"$node:.*\", device=~\"/dev/.*\", mountpoint=\"$filesystem_mountpoint\"}", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "free", | |
"metric": "", | |
"refId": "B", | |
"step": 4 | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Filesystem $filesystem_mountpoint usage", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "individual", | |
"sort": 0 | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true, | |
"mode": "time", | |
"name": null, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"logBase": 1, | |
"max": null, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"thresholds": [], | |
"scopedVars": { | |
"filesystem_mountpoint": { | |
"text": "/", | |
"value": "/", | |
"selected": false | |
} | |
} | |
} | |
], | |
"showTitle": false, | |
"titleSize": "h6", | |
"height": "300px", | |
"repeat": null, | |
"repeatRowId": null, | |
"repeatIteration": null, | |
"collapse": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment