{ "__inputs": [ { "name": "DS_BEEGFS_MON_INFLUXDB", "label": "beegfs_mon_influxdb", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__elements": {}, "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "9.3.0" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "text", "name": "Text", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "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" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 2, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "gridPos": { "h": 5, "w": 24, "x": 0, "y": 0 }, "id": 91, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "
", "mode": "html" }, "pluginVersion": "9.3.0", "transparent": true, "type": "text" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "description": "Total Storage of Cluster", "fieldConfig": { "defaults": { "color": { "fixedColor": "#1c1cd51c", "mode": "fixed" }, "mappings": [], "noValue": "NA", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "mbytes" }, "overrides": [] }, "gridPos": { "h": 5, "w": 6, "x": 0, "y": 6 }, "id": 14, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "last" ], "fields": "/^Total$/", "values": false }, "text": {}, "textMode": "value" }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "nodeID" ], "type": "tag" } ], "measurement": "storage", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "diskSpaceTotal" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Total Storage", "transformations": [ { "id": "calculateField", "options": { "mode": "reduceRow", "reduce": { "reducer": "sum" }, "replaceFields": true } } ], "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "#4ac09b75", "mode": "fixed" }, "mappings": [], "noValue": "NA", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "mbytes" }, "overrides": [] }, "gridPos": { "h": 5, "w": 6, "x": 6, "y": 5 }, "id": 34, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "max" ], "fields": "/^Total$/", "values": false }, "text": {}, "textMode": "value" }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "nodeID" ], "type": "tag" } ], "measurement": "storage", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "diskSpaceFree" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Available Storage", "transformations": [ { "id": "calculateField", "options": { "mode": "reduceRow", "reduce": { "reducer": "sum" }, "replaceFields": true } } ], "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "#7f37a4", "mode": "fixed" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 5, "w": 6, "x": 12, "y": 5 }, "id": 95, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "9.3.0", "targets": [ { "alias": "Throughput", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "nodeNumID" ], "type": "tag" } ], "measurement": "highResStorage", "orderByTime": "ASC", "policy": "default", "query": "SELECT last(\"netSendBytes\") + last(\"netRecvBytes\") FROM \"highResStorage\" WHERE $timeFilter GROUP BY time($__interval), \"nodeID\"", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "netSendBytes" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [] } ], "title": "Throughput", "transformations": [ { "id": "calculateField", "options": { "mode": "reduceRow", "reduce": { "include": [], "reducer": "sum" }, "replaceFields": true } } ], "type": "stat" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "center", "displayMode": "auto", "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Data Write" }, "properties": [ { "id": "unit", "value": "bytes" } ] } ] }, "gridPos": { "h": 5, "w": 6, "x": 18, "y": 5 }, "id": 99, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Data Write" } ] }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "query": "SELECT sum(\"B-wr\") FROM \"storageClientOpsByUser\" WHERE time > ${__from:date:seconds}s AND time < ${__to:date:seconds}s GROUP BY \"user\" ", "rawQuery": true, "refId": "A", "resultFormat": "table" } ], "title": "Total Write By User", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": {}, "renameByName": { "sum": "Data Write", "user": "User ID" } } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "left", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "hue", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/Recv/" }, "properties": [ { "id": "custom.transform", "value": "negative-Y" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 10 }, "id": 83, "options": { "legend": { "calcs": [ "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "targets": [ { "alias": "Recv (nodeNumID = $tag_nodeNumID)", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "nodeNumID" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "highResStorage", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "netRecvBytes" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] }, { "alias": "Send (nodeNumID = $tag_nodeNumID)", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "nodeNumID" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "highResStorage", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "netSendBytes" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] } ], "title": "Storage Network Throughput", "type": "timeseries" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "left", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 30, "gradientMode": "hue", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/Read/" }, "properties": [ { "id": "custom.transform", "value": "negative-Y" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 11 }, "id": 80, "options": { "legend": { "calcs": [ "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "targets": [ { "alias": "Read (nodeNumID = $tag_nodeNumID)", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "nodeNumID" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "highResStorage", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "diskReadBytes" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] }, { "alias": "Write (nodeNumID = $tag_nodeNumID)", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "nodeNumID" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "highResStorage", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "diskWriteBytes" ], "type": "field" }, { "params": [], "type": "max" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] } ], "title": "Storage Disk Throughput", "type": "timeseries" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "center", "displayMode": "auto", "inspect": false }, "mappings": [ { "options": { "false": { "color": "red", "index": 1, "text": "STOPPED" }, "true": { "color": "#4ac09b75", "index": 0, "text": "RUNNING" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Service Status" }, "properties": [ { "id": "unit", "value": "bool" }, { "id": "custom.displayMode", "value": "color-background" } ] } ] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 19 }, "id": 58, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Service Status" } ] }, "pluginVersion": "9.3.0", "targets": [ { "alias": "$tag_nodeID", "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "nodeNumID" ], "type": "tag" } ], "measurement": "meta", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "isResponding" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Service Status" ], "type": "alias" } ], [ { "params": [ "hostnameid" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Host" ], "type": "alias" } ] ], "tags": [] } ], "title": "Meta Status", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": { "Host": 2, "Service Status": 3, "Time": 0, "nodeNumID": 1 }, "renameByName": { "nodeNumID": "" } } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "center", "displayMode": "auto", "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 0 }, { "color": "#EAB839", "value": 1 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Service Status" }, "properties": [ { "id": "mappings", "value": [ { "options": { "false": { "color": "red", "index": 1, "text": "STOPPED" }, "true": { "color": "#4ac09b75", "index": 0, "text": "RUNNING" } }, "type": "value" } ] }, { "id": "custom.displayMode", "value": "color-background" } ] }, { "matcher": { "id": "byName", "options": "Total Space" }, "properties": [ { "id": "unit", "value": "mbytes" } ] }, { "matcher": { "id": "byName", "options": "Free Space" }, "properties": [ { "id": "unit", "value": "mbytes" } ] } ] }, "gridPos": { "h": 7, "w": 16, "x": 8, "y": 19 }, "id": 70, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Node Status" } ] }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "nodeNumID" ], "type": "tag" } ], "hide": false, "measurement": "storage", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "hostnameid" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Host" ], "type": "alias" } ], [ { "params": [ "diskSpaceTotal" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Total Space" ], "type": "alias" } ], [ { "params": [ "diskSpaceFree" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Free Space" ], "type": "alias" } ], [ { "params": [ "isResponding" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Service Status" ], "type": "alias" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] } ], "title": "Storage", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": {}, "renameByName": { "nodeNumID": "" } } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "inspect": false }, "mappings": [], "noValue": "Node Down", "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byType", "options": "number" }, "properties": [ { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byType", "options": "string" }, "properties": [ { "id": "custom.width" }, { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byType", "options": "time" }, "properties": [ { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byName", "options": "Total Space " }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byName", "options": "Free Space" }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byName", "options": "State" }, "properties": [ { "id": "color", "value": { "fixedColor": "#4ac09b75", "mode": "fixed" } }, { "id": "custom.displayMode", "value": "color-background" } ] } ] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 25 }, "id": 76, "links": [], "maxPerRow": 2, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "9.3.0", "repeat": "storageID", "repeatDirection": "h", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "dsType": "influxdb", "groupBy": [ { "params": [ "storageTargetID" ], "type": "tag" } ], "limit": "", "measurement": "storageTargets", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"targetConsistencyState\" as \"Consistency State\", \"diskSpaceFree\" / (1024*1024*1024) as \"GiB Free\", \"inodesFree\" as \"Inodes Free\" FROM \"storageTargets\" WHERE \"nodeID\" =~ /^$storageID$/ AND time > now() - 30s GROUP BY \"storageTargetID\" ORDER BY time DESC LIMIT 1", "rawQuery": false, "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "diskSpaceTotal" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "totalspace" ], "type": "alias" } ], [ { "params": [ "diskSpaceFree" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "freespace" ], "type": "alias" } ], [ { "params": [ "targetConsistencyState" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "state" ], "type": "alias" } ] ], "tags": [ { "key": "nodeNumID", "operator": "=~", "value": "/^$storageID$/" } ] } ], "title": "Storage Node ID - $storageID", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": {}, "renameByName": { "Time": "", "freespace": "Free Space", "last": "Free", "state": "State", "storageTargetID": "Storage Target ID", "totalspace": "Total Space " } } } ], "type": "table" } ], "refresh": "", "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [ { "current": {}, "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "definition": "show tag values from storage with key = \"nodeNumID\" ", "hide": 2, "includeAll": true, "multi": true, "name": "storageID", "options": [], "query": "show tag values from storage with key = \"nodeNumID\" ", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "BeeGFS Overview", "uid": "OYTQTb74k", "version": 2, "weekStart": "" }