| { |
| "__requires": [ |
| { |
| "type": "grafana", |
| "id": "grafana", |
| "name": "Grafana", |
| "version": "4.2.0" |
| }, |
| { |
| "type": "panel", |
| "id": "graph", |
| "name": "Graph", |
| "version": "" |
| }, |
| { |
| "type": "datasource", |
| "id": "influxdb", |
| "name": "InfluxDB", |
| "version": "1.0.0" |
| }, |
| { |
| "type": "panel", |
| "id": "singlestat", |
| "name": "Singlestat", |
| "version": "" |
| } |
| ], |
| "annotations": { |
| "list": [] |
| }, |
| "description": "InfluxDB dashboards for telegraf metrics", |
| "editable": true, |
| "gnetId": null, |
| "graphTooltip": 1, |
| "hideControls": false, |
| "id": null, |
| "links": [], |
| "refresh": false, |
| "rows": [ |
| { |
| "collapse": false, |
| "height": "150", |
| "panels": [ |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "format": "s", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61858, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 2, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "system", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "uptime" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "", |
| "title": "Uptime", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 1, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61859, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "system", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "load5" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "4,8,12", |
| "title": "LA medium", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 0, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61862, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "processes", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "zombies" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "1,5,10", |
| "title": "Zombies", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 0, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61864, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "processes", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "total" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "1,5,10", |
| "title": "Processes", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 0, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61865, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "processes", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "total_threads" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "1,5,10", |
| "title": "Threads", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "editable": true, |
| "error": false, |
| "format": "percent", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": true, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61861, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "cpu", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "usage_idle" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| }, |
| { |
| "params": [ |
| "* -1 + 100" |
| ], |
| "type": "math" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| }, |
| { |
| "condition": "AND", |
| "key": "cpu", |
| "operator": "=", |
| "value": "cpu-total" |
| } |
| ] |
| } |
| ], |
| "thresholds": "50,80,90", |
| "title": "CPU usage", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "editable": true, |
| "error": false, |
| "format": "percent", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": true, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61860, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "mem", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "used_percent" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "50,80,90", |
| "title": "RAM usage", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 0, |
| "editable": true, |
| "error": false, |
| "format": "percent", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": true, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61863, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "swap", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "used_percent" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "50,70,90", |
| "title": "Swap usage", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "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": "influxdb", |
| "decimals": 0, |
| "editable": true, |
| "error": false, |
| "format": "percent", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": true, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61866, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 1, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "disk", |
| "policy": "default", |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "used_percent" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| }, |
| { |
| "condition": "AND", |
| "key": "path", |
| "operator": "=", |
| "value": "/" |
| } |
| ] |
| } |
| ], |
| "thresholds": "70,80,90", |
| "title": "RootFS used", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| }, |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "format": "percent", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "height": "150", |
| "id": 61867, |
| "interval": null, |
| "links": [], |
| "mappingType": 1, |
| "mappingTypes": [ |
| { |
| "name": "value to text", |
| "value": 1 |
| }, |
| { |
| "name": "range to text", |
| "value": 2 |
| } |
| ], |
| "maxDataPoints": 100, |
| "nullPointMode": "connected", |
| "nullText": null, |
| "postfix": "", |
| "postfixFontSize": "50%", |
| "prefix": "", |
| "prefixFontSize": "50%", |
| "rangeMaps": [ |
| { |
| "from": "null", |
| "text": "N/A", |
| "to": "null" |
| } |
| ], |
| "span": 2, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "dsType": "influxdb", |
| "groupBy": [ |
| { |
| "params": [ |
| "$interval" |
| ], |
| "type": "time" |
| }, |
| { |
| "params": [ |
| "null" |
| ], |
| "type": "fill" |
| } |
| ], |
| "measurement": "cpu", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(\"usage_iowait\"), 1s) FROM \"cpu\" WHERE \"host\" =~ /^$server$/ AND \"cpu\" = 'cpu-total' AND $timeFilter GROUP BY time($interval) fill(null)", |
| "rawQuery": false, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "usage_iowait" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [ |
| { |
| "key": "host", |
| "operator": "=~", |
| "value": "/^$server$/" |
| }, |
| { |
| "condition": "AND", |
| "key": "cpu", |
| "operator": "=", |
| "value": "cpu-total" |
| } |
| ] |
| } |
| ], |
| "thresholds": "30,40,50", |
| "title": "IOWait", |
| "transparent": false, |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "avg" |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": null, |
| "repeatRowId": null, |
| "showTitle": true, |
| "title": "Overview", |
| "titleSize": "h6" |
| }, |
| { |
| "collapse": true, |
| "height": 287, |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 42026, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/ in$/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 12, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(bytes_recv),1s)*8 as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), * fill(none)", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(bytes_sent),1s)*8 as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), * fill(none)", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Network Usage", |
| "tooltip": { |
| "msResolution": false, |
| "shared": true, |
| "sort": 0, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bps", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": true, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 28572, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": false, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/ in$/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 12, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(packets_recv), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), * fill(none)", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(packets_sent), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), * fill(none)", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Network Packets", |
| "tooltip": { |
| "msResolution": false, |
| "shared": true, |
| "sort": 0, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "pps", |
| "label": "", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": true, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 58901, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": false, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(drop_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(drop_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Packets Drop", |
| "tooltip": { |
| "msResolution": false, |
| "shared": true, |
| "sort": 0, |
| "value_type": "individual" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "Packets drop", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": true, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 50643, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": false, |
| "linewidth": 2, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(err_in), 1s) as \"in\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_interface: $col", |
| "dsType": "influxdb", |
| "function": "derivative", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "interface", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "net_bytes_recv", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(err_out), 1s) as \"out\" FROM \"net\" WHERE host =~ /$server/ AND interface =~ /(vlan|eth|bond).*/ AND $timeFilter GROUP BY time($interval), host,interface fill(none)", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Packets Error", |
| "tooltip": { |
| "msResolution": false, |
| "shared": true, |
| "sort": 0, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "label": "Packets drop", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": null, |
| "repeatRowId": null, |
| "showTitle": true, |
| "title": "Network", |
| "titleSize": "h6" |
| }, |
| { |
| "collapse": true, |
| "height": 312, |
| "panels": [ |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 0, |
| "grid": {}, |
| "id": 54694, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "system_load1", |
| "policy": "default", |
| "query": "SELECT mean(load1) as load1,mean(load5) as load5,mean(load15) as load15 FROM \"system\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), * ORDER BY asc", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Load", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 12054, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/mem_total/", |
| "color": "#BF1B00", |
| "fill": 0, |
| "linewidth": 2 |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "mem_inactive", |
| "policy": "default", |
| "query": "SELECT mean(total) as total, mean(used) as used, mean(cached) as cached, mean(free) as free, mean(buffered) as buffered FROM \"mem\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Memory usage", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 28239, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideZero": true, |
| "max": true, |
| "min": true, |
| "rightSide": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 12, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "hide": false, |
| "measurement": "cpu_percentageBusy", |
| "policy": "default", |
| "query": "SELECT mean(usage_idle) as \"idle\", mean(usage_user) as \"user\", mean(usage_system) as \"system\", mean(usage_softirq) as \"softirq\", mean(usage_steal) as \"steal\", mean(usage_nice) as \"nice\", mean(usage_irq) as \"irq\", mean(usage_iowait) as \"iowait\", mean(usage_guest) as \"guest\", mean(usage_guest_nice) as \"guest_nice\" FROM \"cpu\" WHERE \"host\" =~ /$server$/ and cpu = 'cpu-total' AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "CPU", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "percent", |
| "logBase": 1, |
| "max": 100, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 52240, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/total/", |
| "color": "#BF1B00", |
| "fill": 0, |
| "linewidth": 2, |
| "zindex": 3 |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_path : $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "disk_total", |
| "policy": "default", |
| "query": "SELECT mean(total) AS \"total\", mean(used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($interval), \"host\", \"path\"", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Disk usage", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": true, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 33458, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": false, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/used/", |
| "color": "#BF1B00", |
| "zindex": 3 |
| }, |
| { |
| "alias": "/free/", |
| "bars": false, |
| "fill": 0, |
| "lines": true, |
| "linewidth": 1 |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_path : $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "disk_inodes_free", |
| "policy": "default", |
| "query": "SELECT mean(inodes_free) as \"free\", mean(inodes_used) as \"used\" FROM \"disk\" WHERE \"host\" =~ /$server$/ AND \"path\" = '/' AND $timeFilter GROUP BY time($interval), \"host\", \"path\"", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Disk inodes", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "logBase": 10, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 13782, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/read/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(reads),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(writes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "C", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Disk I/O requests", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 60200, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/read/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(read_bytes),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(write_bytes),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "C", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Disk I/O bytes", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 56720, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "hideEmpty": true, |
| "max": true, |
| "min": true, |
| "rightSide": false, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/read/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(read_time),1s) as \"read\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| }, |
| { |
| "alias": "$tag_host: $tag_name: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| }, |
| { |
| "key": "path", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "io_reads", |
| "policy": "default", |
| "query": "SELECT non_negative_derivative(mean(write_time),1s) as \"write\" FROM \"diskio\" WHERE \"host\" =~ /$server$/ AND \"name\" =~ /(v|s)d(a|b|c|d)$/ AND $timeFilter GROUP BY time($interval), *", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Disk I/O time", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "ms", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 61850, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/total/", |
| "fill": 0 |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": true, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "swap_in", |
| "policy": "default", |
| "query": "SELECT mean(free) as \"free\", mean(used) as \"used\", mean(total) as \"total\" FROM \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", |
| "rawQuery": true, |
| "refId": "B", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Swap usage (bytes)", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 26024, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [ |
| { |
| "alias": "/in/", |
| "transform": "negative-Y" |
| } |
| ], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "swap_in", |
| "policy": "default", |
| "query": "SELECT mean(\"in\") as \"in\", mean(\"out\") as \"out\" FROM \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Swap I/O bytes", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "bytes", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": "influxdb", |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": {}, |
| "id": 16118, |
| "interval": "$inter", |
| "legend": { |
| "alignAsTable": true, |
| "avg": true, |
| "current": true, |
| "max": true, |
| "min": true, |
| "show": true, |
| "sort": "current", |
| "sortDesc": true, |
| "total": false, |
| "values": true |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 6, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "alias": "$tag_host: $col", |
| "dsType": "influxdb", |
| "function": "mean", |
| "groupBy": [ |
| { |
| "interval": "auto", |
| "params": [ |
| "auto" |
| ], |
| "type": "time" |
| }, |
| { |
| "key": "host", |
| "params": [ |
| "tag" |
| ], |
| "type": "tag" |
| } |
| ], |
| "measurement": "swap_in", |
| "policy": "default", |
| "query": "SELECT mean(used_percent) as used FROM \"swap\" WHERE host =~ /$server$/ AND $timeFilter GROUP BY time($interval), host ORDER BY asc", |
| "rawQuery": true, |
| "refId": "A", |
| "resultFormat": "time_series", |
| "select": [ |
| [ |
| { |
| "params": [ |
| "value" |
| ], |
| "type": "field" |
| }, |
| { |
| "params": [], |
| "type": "mean" |
| } |
| ] |
| ], |
| "tags": [] |
| } |
| ], |
| "thresholds": [], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Swap usage (percent)", |
| "tooltip": { |
| "shared": true, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "percent", |
| "logBase": 1, |
| "max": 100, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": null, |
| "repeatRowId": null, |
| "showTitle": true, |
| "title": "System", |
| "titleSize": "h6" |
| } |
| ], |
| "schemaVersion": 14, |
| "style": "dark", |
| "tags": [ |
| "influxdb", |
| "telegraf" |
| ], |
| "templating": { |
| "enable": true, |
| "list": [ |
| { |
| "allFormat": "glob", |
| "current": { |
| "text": "default", |
| "value": "default" |
| }, |
| "datasource": "influxdb", |
| "hide": 0, |
| "includeAll": false, |
| "label": "", |
| "multi": false, |
| "name": "datasource", |
| "options": [], |
| "query": "influxdb", |
| "refresh": 1, |
| "regex": "", |
| "type": "datasource" |
| }, |
| { |
| "allValue": null, |
| "current": {}, |
| "datasource": "influxdb", |
| "hide": 0, |
| "includeAll": false, |
| "label": "Server", |
| "multi": true, |
| "name": "server", |
| "options": [], |
| "query": "SHOW TAG VALUES FROM system WITH KEY=host", |
| "refresh": 1, |
| "regex": "", |
| "sort": 0, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| }, |
| { |
| "auto": true, |
| "auto_count": 100, |
| "auto_min": "30s", |
| "current": { |
| "text": "auto", |
| "value": "$__auto_interval" |
| }, |
| "datasource": "influxdb", |
| "hide": 0, |
| "includeAll": false, |
| "label": "Interval", |
| "multi": false, |
| "name": "inter", |
| "options": [ |
| { |
| "selected": true, |
| "text": "auto", |
| "value": "$__auto_interval" |
| }, |
| { |
| "selected": false, |
| "text": "30s", |
| "value": "30s" |
| }, |
| { |
| "selected": false, |
| "text": "1m", |
| "value": "1m" |
| }, |
| { |
| "selected": false, |
| "text": "2m", |
| "value": "2m" |
| }, |
| { |
| "selected": false, |
| "text": "5m", |
| "value": "5m" |
| }, |
| { |
| "selected": false, |
| "text": "10m", |
| "value": "10m" |
| }, |
| { |
| "selected": false, |
| "text": "30m", |
| "value": "30m" |
| }, |
| { |
| "selected": false, |
| "text": "1h", |
| "value": "1h" |
| } |
| ], |
| "query": "30s,1m,2m,5m,10m,30m,1h", |
| "refresh": 2, |
| "type": "interval" |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-30m", |
| "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" |
| ] |
| }, |
| "timezone": "browser", |
| "title": "Software-Factory metrics", |
| "version": 0 |
| } |