{ "__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": "table", "name": "Table", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "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": 0, "id": null, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "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 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 0 }, "id": 4, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "query": "SELECT sum(*) FROM \"metaClientOpsByNode\" WHERE time > ${__from:date:seconds}s AND time < ${__to:date:seconds}s AND \"node\" =~ /^$nodeID$/ GROUP BY \"node\"", "rawQuery": true, "refId": "A", "resultFormat": "table" } ], "title": "Meta Operation List", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": { "Time": 0, "node": 1, "sum_close": 2, "sum_createLI": 3, "sum_getXA": 16, "sum_hardlnk": 18, "sum_listXA": 19, "sum_mdsInf": 4, "sum_mkdir": 5, "sum_open": 6, "sum_rddir": 7, "sum_ren": 8, "sum_revalLI": 9, "sum_rmdir": 10, "sum_sAttr": 11, "sum_sChDrct": 12, "sum_stat": 13, "sum_statLI": 14, "sum_sum": 15, "sum_trunc": 17, "sum_unlnk": 20 }, "renameByName": { "node": "", "sum_close": "close", "sum_create": "create", "sum_createLI": "createLI", "sum_dirparent": "dirparent", "sum_entInf": "entInf", "sum_flckAp": "flckAp", "sum_flckEn": "flckzEn", "sum_flckRg": "flckRg", "sum_fndOwn": "fndOwn", "sum_getXA": "getXA", "sum_hardlnk": "hardlnk", "sum_listXA": "listXA", "sum_lookLI": "lookLI", "sum_mdsInf": "mdsInf", "sum_mirror": "mirror", "sum_mkdir": "mkdir", "sum_mvDirIns": "mvDirIns", "sum_mvFiIns": "mvFilns", "sum_open": "open", "sum_openLI": "openLI", "sum_rddir": "rddir", "sum_refrEnt": "refrEnt", "sum_ren": "ren", "sum_revalLI": "revalLI", "sum_rmLnk": "rmLnk", "sum_rmXA": "rmXA", "sum_rmdir": "rmdir", "sum_sAttr": "sAttr", "sum_sChDrct": "sChDrct", "sum_sDirPat": "sDirPat", "sum_setXA": "setXA", "sum_stat": "stat", "sum_statLI": "statLI", "sum_statfs": "statfs", "sum_sum": "sum", "sum_symlnk": "symlnk", "sum_trunc": "trunc", "sum_unlnk": "unlnk" } } } ], "type": "table" }, { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "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 } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "sum_B-rd" }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byName", "options": "sum_B-wr" }, "properties": [ { "id": "unit", "value": "bytes" } ] } ] }, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 9 }, "id": 2, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "9.3.0", "targets": [ { "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "groupBy": [ { "params": [ "node" ], "type": "tag" } ], "measurement": "metaClientOpsByNode", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(*) FROM \"storageClientOpsByNode\" WHERE time > ${__from:date:seconds}s AND time < ${__to:date:seconds}s AND \"node\" =~ /^$nodeID$/ GROUP BY node", "rawQuery": true, "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "*" ], "type": "field" } ] ], "tags": [] } ], "title": "Storage Operation List", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true }, "indexByName": {}, "renameByName": { "sum_B-rd": "B-rd", "sum_B-wr": "B-wr", "sum_close": "close", "sum_getFSize": "getFSize", "sum_ops-rd": "ops-rd", "sum_ops-wr": "ops-wr", "sum_sAttr": "sAttr", "sum_sChDrct": "sChDrct", "sum_statfs": "statfs", "sum_storInf": "storInf", "sum_sum": "sum", "sum_trunc": "trunc", "sum_unlnk": "unlnk" } } } ], "type": "table" } ], "refresh": "", "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [ { "current": {}, "datasource": { "type": "influxdb", "uid": "${DS_BEEGFS_MON_INFLUXDB}" }, "definition": "show tag values from metaClientOpsByNode with key = \"node\"", "hide": 0, "includeAll": true, "label": "Node ID", "multi": true, "name": "nodeID", "options": [], "query": "show tag values from metaClientOpsByNode with key = \"node\"", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "BeeGFS Client Operations (by Node)", "uid": "HHI9dJV4k", "version": 1, "weekStart": "" }