From 1f69b91de3792de17fbbcb3d37c5176173617c44 Mon Sep 17 00:00:00 2001 From: chengyu-l Date: Sat, 11 Jul 2020 01:10:15 +0800 Subject: [PATCH 1/4] upgrade cfs-server & cfs-client version to 2.1.0 Signed-off-by: chengyu-l --- .../provisioning/dashboards/chubaofs.json | 11133 +++------------- chubaofs/values.yaml | 6 +- 2 files changed, 2056 insertions(+), 9083 deletions(-) diff --git a/chubaofs/config/grafana/provisioning/dashboards/chubaofs.json b/chubaofs/config/grafana/provisioning/dashboards/chubaofs.json index d73afb5..a974850 100644 --- a/chubaofs/config/grafana/provisioning/dashboards/chubaofs.json +++ b/chubaofs/config/grafana/provisioning/dashboards/chubaofs.json @@ -15,12 +15,13 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": 21, - "iteration": 1578879879321, + "id": 1, + "iteration": 1593328519495, "links": [], "panels": [ { "collapsed": false, + "datasource": null, "gridPos": { "h": 1, "w": 24, @@ -46,14 +47,11 @@ "format": "none", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, - "w": 4, + "w": 3, "x": 0, "y": 1 }, @@ -74,6 +72,7 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -87,14 +86,13 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { - "expr": "count(go_info{cluster=~\"$cluster\", app=~\"$app\", role=~\"master\"})", + "expr": "count(up{cluster=\"$cluster\", app=\"$app\", role=\"master\"} > 0)", "format": "time_series", "intervalFactor": 1, "refId": "A" @@ -123,18 +121,16 @@ "#d44a3a" ], "datasource": null, + "description": "Metanode total count for current selected cluster", "format": "none", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, - "w": 4, - "x": 4, + "w": 3, + "x": 3, "y": 1 }, "id": 42, @@ -154,6 +150,7 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -167,21 +164,20 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { - "expr": "count(go_info{cluster=~\"$cluster\", app=~\"$app\", role=~\"metanode\"})", + "expr": "count(up{cluster=\"$cluster\", app=\"$app\", role=\"metanode\"} > 0)", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "thresholds": "", - "title": "MetanodeCount", + "title": "MetaNodeCount", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -202,19 +198,16 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "datasource": "default", + "datasource": null, "format": "none", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, - "w": 4, - "x": 8, + "w": 3, + "x": 6, "y": 1 }, "id": 41, @@ -234,6 +227,7 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -247,21 +241,20 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { - "expr": "count(go_info{cluster=\"$cluster\", app=\"$app\", role=\"dataNode\"})", + "expr": "count(up{cluster=\"$cluster\", app=\"$app\", role=\"dataNode\"} > 0)", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "thresholds": "", - "title": "DatanodeCount", + "title": "DataNodeCount", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -282,19 +275,16 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "datasource": "default", + "datasource": null, "format": "none", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 4, "w": 3, - "x": 12, + "x": 9, "y": 1 }, "id": 86, @@ -314,6 +304,84 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "lineColor": "rgb(31, 120, 193)", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "expr": "count(go_info{cluster=\"$cluster\", app=\"$app\", role=\"objectnode\"})", + "format": "time_series", + "intervalFactor": 1, + "refId": "A" + } + ], + "thresholds": "", + "title": "ObjectNodeCount", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": null, + "format": "none", + "gauge": { + "maxValue": 100, + "thresholdMarkers": true + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 12, + "y": 1 + }, + "id": 287, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -327,14 +395,13 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { - "expr": "count(go_info{cluster=~\"$cluster\", app=~\"$app\", role=~\"fuseclient\"})", + "expr": "count(up{cluster=\"$cluster\", app=\"$app\", role=\"fuseclient\"} > 0)", "format": "time_series", "intervalFactor": 1, "refId": "A" @@ -362,14 +429,11 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "datasource": "default", + "datasource": null, "description": "Cluster volume total count", "format": "none", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { @@ -395,6 +459,7 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -408,14 +473,13 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, "tableColumn": "", "targets": [ { - "expr": "sum([[app]]_master_vol_count{cluster=~\"$cluster\"})", + "expr": "sum(cfs_master_vol_count{cluster=~\"$cluster\", instance=\"$master_instance\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" @@ -444,13 +508,10 @@ "#d44a3a" ], "datasource": null, - "decimals": null, + "description": "Chubaofs process start time of selected instance", "format": "dateTimeFromNow", "gauge": { "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { @@ -476,6 +537,7 @@ "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, + "options": {}, "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -489,7 +551,6 @@ ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, "lineColor": "rgb(31, 120, 193)", "show": true }, @@ -516,299 +577,601 @@ "valueName": "current" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": null, - "fill": 1, "gridPos": { "h": 6, - "w": 7, + "w": 6, "x": 0, "y": 5 }, - "id": 115, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "id": 177, + "options": { + "displayMode": "gradient", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "max": 300000, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 200000 + }, + { + "color": "red", + "value": 300000 + } + ], + "unit": "gbytes" + }, + "override": {}, + "values": false + }, + "orientation": "horizontal" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "6.4.4", "targets": [ { - "expr": "sum(go_info{app=\"$app\", cluster=\"$cluster\"}) by (cluster, app, role)", + "expr": "cfs_master_dataNodes_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}", "format": "time_series", + "instant": true, "intervalFactor": 1, - "legendFormat": "{{cluster}}-{{role}}", - "refId": "A" + "legendFormat": "TotalSize", + "refId": "B" }, { - "expr": "count(go_info{cluster=~\"$cluster\", app=~\"$app\", role=~\"$role\"})", + "expr": "cfs_master_dataNodes_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}", "format": "time_series", - "hide": true, + "instant": true, "intervalFactor": 1, - "legendFormat": "[[role]]-count", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "NodeAlive", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "legendFormat": "UsedSize", + "refId": "A" }, { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "expr": "cfs_master_dataNodes_increased_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "IncreasedSize", + "refId": "C" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "DatanodeSize", + "type": "bargauge" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, + "datasource": null, + "description": "metanode size of total, used and increased.", "gridPos": { "h": 6, - "w": 7, - "x": 7, + "w": 6, + "x": 6, "y": 5 }, - "id": 179, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "id": 92, + "options": { + "displayMode": "gradient", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "max": 5, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 3 + }, + { + "color": "red", + "value": 5 + } + ], + "unit": "gbytes" + }, + "override": {}, + "values": false + }, + "orientation": "horizontal" }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "sum" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "6.4.4", "targets": [ { - "expr": "sum(cfs_master_disk_error{app=\"$app\", cluster=\"$cluster\"} > 0)", + "expr": "sum(cfs_master_metaNodes_total_GB{cluster=~\"$cluster\", instance=\"$master_instance\"})", "format": "time_series", + "instant": true, "intervalFactor": 1, - "legendFormat": "sum", - "refId": "D" + "legendFormat": "TotalSize", + "refId": "B" }, { - "expr": "cfs_master_disk_error{app=\"$app\", cluster=\"$cluster\"} > 0", + "expr": "sum(cfs_master_metaNodes_used_GB{cluster=~\"$cluster\", instance=\"$master_instance\"} )", "format": "time_series", + "instant": true, "intervalFactor": 1, - "legendFormat": "{{addr}}_{{path}}", + "legendFormat": "UsedSize", "refId": "A" + }, + { + "expr": "sum(cfs_master_metaNodes_increased_GB{cluster=~\"$cluster\", instance=\"$master_instance\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "IncreasedSize", + "refId": "C" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DiskError", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "title": "MetanodeSize", + "type": "bargauge" + }, + { + "datasource": null, + "description": "Top K total size of all volume", + "gridPos": { + "h": 6, + "w": 9, + "x": 12, + "y": 5 }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "id": 175, + "options": { + "displayMode": "gradient", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [ + { + "op": "=", + "text": "N/A", + "type": 2, + "value": "null" + } + ], + "max": 100, + "min": 0, + "nullValueMode": "connected", + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 50 + }, + { + "color": "red", + "value": 100 + } + ], + "unit": "bytes" + }, + "override": {}, + "values": true + }, + "orientation": "horizontal" }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, + "pluginVersion": "6.4.4", + "targets": [ { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "expr": "topk($topk, cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "{{volName}}", + "refId": "A" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "VolumeTotalSize", + "type": "bargauge" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, + "datasource": null, + "description": "Datanode used size ratio with total size", "gridPos": { "h": 6, - "w": 7, - "x": 14, - "y": 5 + "w": 3, + "x": 0, + "y": 11 }, - "id": 180, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "id": 281, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "max": 1, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "red", + "value": 0.8 + } + ], + "unit": "percentunit" + }, + "override": {}, + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": true }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "6.4.4", "targets": [ { - "expr": "cfs_master_metaNodes_inactive{app=\"$app\", cluster=\"$cluster\"}> 0", + "expr": "cfs_master_dataNodes_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}/ cfs_master_dataNodes_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}", "format": "time_series", - "hide": false, + "instant": true, "intervalFactor": 1, - "legendFormat": "{{instance}}", - "refId": "B" - }, + "legendFormat": "DataNodeUsedRatio", + "refId": "D" + } + ], + "title": "DataNodeUsedRatio", + "type": "gauge" + }, + { + "datasource": null, + "description": "Metanode used size ratio with total size", + "gridPos": { + "h": 6, + "w": 3, + "x": 3, + "y": 11 + }, + "id": 282, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "max": 1, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "red", + "value": 0.8 + } + ], + "unit": "percentunit" + }, + "override": {}, + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.4.4", + "targets": [ + { + "expr": "cfs_master_metaNodes_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"} / cfs_master_metaNodes_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "MetaNodeUsedRatio", + "refId": "A" + } + ], + "title": "MetaNodeUsedRatio", + "type": "gauge" + }, + { + "datasource": null, + "description": "Datanode inactive count", + "gridPos": { + "h": 6, + "w": 3, + "x": 6, + "y": 11 + }, + "id": 181, + "options": { + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "max": 100, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "override": {}, + "values": false + }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.4.4", + "targets": [ { - "expr": "sum(cfs_master_metaNodes_inactive{app=\"$app\", cluster=\"$cluster\"}> 0)", + "expr": "cfs_master_dataNodes_inactive{app=\"$app\", cluster=\"$cluster\", instance=\"$master_instance\"}", "format": "time_series", - "hide": false, + "instant": true, + "intervalFactor": 1, + "legendFormat": "sum", + "refId": "A" + } + ], + "title": "DataNodeInactive", + "type": "gauge" + }, + { + "datasource": null, + "description": "Metanode inactive count", + "gridPos": { + "h": 6, + "w": 3, + "x": 9, + "y": 11 + }, + "id": 180, + "options": { + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "max": 100, + "min": 0, + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "override": {}, + "values": false + }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.4.4", + "targets": [ + { + "expr": "cfs_master_metaNodes_inactive{app=\"$app\", cluster=\"$cluster\", instance=\"$master_instance\"}", + "format": "time_series", + "instant": true, "intervalFactor": 1, "legendFormat": "sum", "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "MetaNodesInactive", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "type": "gauge" + }, + { + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": null, + "description": "Disk Error count", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "gridPos": { + "h": 6, + "w": 3, + "x": 12, + "y": 11 }, - "yaxes": [ + "id": 179, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "name": "value to text", + "value": 1 }, { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "name": "range to text", + "value": 2 } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "options": {}, + "pluginVersion": "6.4.4", + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": true, + "ymax": null, + "ymin": null + }, + "tableColumn": "", + "targets": [ + { + "expr": "delta(cfs_master_disk_error{app=\"$app\", cluster=\"$cluster\", instance=\"$master_instance\"}[1m])", + "format": "time_series", + "intervalFactor": 1, + "refId": "A" + } + ], + "thresholds": "", + "title": "DiskError", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "0", + "value": "null" + } + ], + "valueName": "current" + }, + { + "datasource": null, + "description": "top k volume used ratio ", + "gridPos": { + "h": 6, + "w": 6, + "x": 15, + "y": 11 + }, + "id": 280, + "options": { + "displayMode": "gradient", + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [ + { + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "max": 1, + "min": 0, + "nullValueMode": "connected", + "thresholds": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 0.5 + }, + { + "color": "red", + "value": 0.8 + } + ], + "unit": "percentunit" + }, + "override": {}, + "values": false + }, + "orientation": "horizontal" + }, + "pluginVersion": "6.4.4", + "targets": [ + { + "expr": "topk($topk, cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}/cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"})", + "format": "time_series", + "instant": true, + "intervalFactor": 1, + "legendFormat": "{{volName}}", + "refId": "A" + } + ], + "title": "VolumeUsedRatio", + "type": "bargauge" + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 184, + "panels": [], + "title": "Volume", + "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "default", + "datasource": null, + "description": "top k volume used size", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 6, - "w": 7, + "w": 6, "x": 0, - "y": 11 + "y": 18 }, - "id": 181, + "id": 187, "legend": { "avg": false, "current": false, @@ -820,38 +1183,38 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, + "pluginVersion": "6.4.4", "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "/.*UsedRatio.*/", + "yaxis": 2 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "cfs_master_dataNodes_inactive{app=\"$app\", cluster=\"$cluster\"}> 0", + "expr": "topk($topk, cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "{{instance}}", - "refId": "C" - }, - { - "expr": "sum(cfs_master_dataNodes_inactive{app=\"$app\", cluster=\"$cluster\"}> 0)", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "sum", + "legendFormat": "{{volName}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "DatanodeInactive", + "title": "VolumeUsedSize", "tooltip": { "shared": true, "sort": 0, @@ -867,19 +1230,13 @@ }, "yaxes": [ { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, + "format": "bytes", + "logBase": 10, "show": true }, { - "format": "short", - "label": null, + "format": "percentunit", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -894,14 +1251,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "top k volume used ratio", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 6, - "w": 7, - "x": 7, - "y": 11 + "w": 6, + "x": 6, + "y": 18 }, - "id": 177, + "id": 188, "legend": { "avg": false, "current": false, @@ -913,15 +1272,18 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, + "pluginVersion": "6.4.4", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { - "alias": "/used_ratio.*/", + "alias": "/.*UsedRatio.*/", "yaxis": 2 } ], @@ -930,45 +1292,21 @@ "steppedLine": false, "targets": [ { - "expr": "cfs_master_dataNodes_total_GB{app=\"$app\",cluster=\"$cluster\"}>0", + "expr": "topk($topk, cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}/cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "TotalGB", + "legendFormat": "{{volName}}", "refId": "B" - }, - { - "expr": "cfs_master_dataNodes_used_GB{app=\"$app\",cluster=\"$cluster\"}>0", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "UsedGB", - "refId": "A" - }, - { - "expr": "cfs_master_dataNodes_increased_GB{app=\"$app\",cluster=\"$cluster\"}>0", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "IncreasedGB", - "refId": "C" - }, - { - "expr": "sum(cfs_master_dataNodes_used_GB{app=\"$app\",cluster=\"$cluster\"}) / sum(cfs_master_dataNodes_total_GB{app=\"$app\",cluster=\"$cluster\"})", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "UsedRatio", - "refId": "D" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "DatanodeSize", + "title": "VolumeUsedRatio", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -981,19 +1319,13 @@ }, "yaxes": [ { - "format": "decgbytes", - "label": null, + "format": "percentunit", "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "percentunit", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -1008,14 +1340,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "top k volume size rate", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 6, - "w": 7, - "x": 14, - "y": 11 + "w": 6, + "x": 12, + "y": 18 }, - "id": 92, + "id": 182, "legend": { "avg": false, "current": false, @@ -1027,46 +1361,40 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "seriesOverrides": [ + { + "alias": "/.*UsedRatio.*/", + "yaxis": 2 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum([[app]]_master_metaNodes_total_GB{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "total_GB", - "refId": "B" - }, - { - "expr": "sum([[app]]_master_metaNodes_used_GB{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "used_GB", - "refId": "A" - }, - { - "expr": "sum([[app]]_master_metaNodes_increased_GB{cluster=~\"$cluster\"})", + "expr": "topk($topk, rate(cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", instance=\"$master_instance\"}[1m]))", "format": "time_series", "intervalFactor": 1, - "legendFormat": "increased_GB", + "legendFormat": "{{volName}}", "refId": "C" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MetanodeSize", + "title": "VolumeSizeRate", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -1079,19 +1407,13 @@ }, "yaxes": [ { - "format": "decgbytes", - "label": null, + "format": "Bps", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "short", - "label": null, + "format": "percentunit", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -1106,128 +1428,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "Selected volume used/total size and used ratio", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 6, - "w": 7, - "x": 0, - "y": 17 - }, - "id": 175, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ratio.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "cfs_master_vol_usage_ratio{app=\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "{{volName}}_usage_ratio", - "refId": "B" - }, - { - "expr": "cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{volName}}_total_GB", - "refId": "A" - }, - { - "expr": "cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{volName}}_used_GB", - "refId": "C" - }, - { - "expr": "cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\"} / cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\"} ", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{volName}}_used_ratio", - "refId": "D" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "VolumeSize", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decgbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "percentunit", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 7, - "y": 17 + "w": 6, + "x": 18, + "y": 18 }, - "id": 90, + "id": 186, "legend": { "avg": false, "current": false, @@ -1239,99 +1449,17 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_master_vol_count{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "vol_count", - "refId": "M" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "VolumeCount", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 14, - "y": 17 - }, - "id": 73, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "options": { + "dataLinks": [] }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { - "alias": "/.*_QPS/", + "alias": "/.*UsedRatio.*/", "yaxis": 2 } ], @@ -1340,7089 +1468,104 @@ "steppedLine": false, "targets": [ { - "expr": "sum([[app]]_metanode_OpMetaOpen{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Open", - "refId": "A" - }, - { - "expr": "sum([[app]]_metanode_OpMetaLookup{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Lookup", - "refId": "B" - }, - { - "expr": "sum([[app]]_metanode_OpMetaNodeHeartbeat{cluster=~\"$cluster\"})", + "expr": "cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", volName=\"$vol\", instance=\"$master_instance\"}", "format": "time_series", "intervalFactor": 1, - "legendFormat": "NodeHeartbeat", + "legendFormat": "UsedSize", "refId": "C" }, - { - "expr": "sum([[app]]_metanode_OpMetaReadDir{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "ReadDir", - "refId": "D" - }, - { - "expr": "sum([[app]]_metanode_OpMetaReleaseOpen{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "ReleaseOpen", - "refId": "E" - }, - { - "expr": "sum([[app]]_metanode_OpMetaSetattr{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Setattr", - "refId": "F" - }, - { - "expr": "sum([[app]]_metanode_OpMetaTruncate{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Truncate", - "refId": "G" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaOpen{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Open_QPS", - "refId": "H" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaLookup{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Lookup_QPS", - "refId": "I" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaReadDir{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "ReadDir_QPS", - "refId": "K" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaTruncate{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Truncate_QPS", - "refId": "L" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaReleaseOpen{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "ReleaseOpen_QPS", - "refId": "J" - }, - { - "expr": "sum(rate([[app]]cfs_metanode_OpMetaSetattr{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Setattr_QPS", - "refId": "M" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetanodeOperations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 0, - "y": 23 - }, - "id": 71, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_QPS/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_metanode_OpMetaBatchInodeGet{cluster=~\"$cluster\", instance=\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "BatchGet", - "refId": "A" - }, - { - "expr": "sum([[app]]_metanode_OpMetaCreateInode{cluster=~\"$cluster\", instance=\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Create", - "refId": "B" - }, - { - "expr": "sum([[app]]_metanode_OpMetaDeleteInode{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Delete", - "refId": "C" - }, - { - "expr": "sum([[app]]_metanode_OpMetaEvictInode{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Evict", - "refId": "D" - }, - { - "expr": "sum([[app]]_metanode_OpMetaInodeGet{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "GetInode", - "refId": "E" - }, - { - "expr": "sum([[app]]_metanode_OpMetaLinkInode{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "LinkInode", - "refId": "F" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaCreateInode{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateInode_QPS", - "refId": "G" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaDeleteInode{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "DeleteInode_QPS", - "refId": "H" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaEvictInode{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "EvictInode_QPS", - "refId": "I" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaInodeGet{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "GetInode_QPS", - "refId": "J" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaLinkInode{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "LinkInode_QPS", - "refId": "K" - }, - { - "expr": "sum(rate([[app]]_metanode_OpBatchInodeGet{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "BantchInodeGet_QPS", - "refId": "L" - }, - { - "expr": "sum([[app]]_metanode_OpMetaTruncate{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "TruncateInode", - "refId": "M" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaTruncate{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "TruncateInode_QPS", - "refId": "N" - }, - { - "expr": "sum([[app]]_metanode_OpMetaUnlinkInode{cluster=~\"$cluster\", instance=\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "UnlinkInode", - "refId": "O" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaUnlinkInode{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "UnlinkInnode_QPS", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetanodeInodeOperations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 7, - "y": 23 - }, - "id": 45, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_QPS/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_metanode_OpMetaCreateDentry{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateDentryCreateDentry", - "refId": "A" - }, - { - "expr": "sum([[app]]_metanode_OpMetaDeleteDentry{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "DeleteDentry", - "refId": "B" - }, - { - "expr": "sum([[app]]_metanode_OpMetaUpdateDentry{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "UpdateDentry", - "refId": "C" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaCreateDentry{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateDentry_QPS", - "refId": "D" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaDeleteDentry{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "DeleteDentry_QPS", - "refId": "E" - }, - { - "expr": "sum(rate([[app]]_metanode_OpMetaUpdateDentry{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "UpdateDentry_QPS", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetanodeDentryOperation", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 14, - "y": 23 - }, - "id": 79, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_QPS/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_dataNode_OpCreateExtent{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateExtent", - "refId": "A" - }, - { - "expr": "sum([[app]]_dataNode_OpMarkDelete{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "MarkDeleteExtent", - "refId": "B" - }, - { - "expr": "sum([[app]]_dataNode_OpRandomWrite{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "RandomWrite", - "refId": "D" - }, - { - "expr": "sum([[app]]_dataNode_OpWrite{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "AppendWrite", - "refId": "C" - }, - { - "expr": "sum([[app]]_dataNode_OpStreamRead{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Read", - "refId": "F" - }, - { - "expr": "sum(rate([[app]]_datanode_OpCreateExtent{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateExtent_QPS", - "refId": "E" - }, - { - "expr": "sum(rate([[app]]_dataNode_OpMarkDelete{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "MarkDeleteExtent_QPS", - "refId": "G" - }, - { - "expr": "sum(rate([[app]]_dataNode_OpRandomWrite{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "RandomWrite_QPS", - "refId": "H" - }, - { - "expr": "sum(rate([[app]]_dataNode_OpWrite{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "AppendWrite_QPS", - "refId": "I" - }, - { - "expr": "sum(rate([[app]]_dataNode_OpStreamRead{cluster=~\"$cluster\"}[1m]))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Read_QPS", - "refId": "J" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DatanodeExtentOperations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 0, - "y": 29 - }, - "id": 70, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_metanode_OpCreateMetaPartition{cluster=~\"$cluster\", instance=\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Create", - "refId": "A" - }, - { - "expr": "sum([[app]]_metanode_OpLoadMetaPartition{cluster=~\"$cluster\", instance=\"$instance\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Load", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetapartitionOperations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "default", - "fill": 1, - "gridPos": { - "h": 6, - "w": 7, - "x": 7, - "y": 29 - }, - "id": 75, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum([[app]]_dataNode_OpLoadDataPartition{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "LoadDataPartition", - "refId": "G" - }, - { - "expr": "sum([[app]]_dataNode_OpDataNodeHeartbeat{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat", - "refId": "F" - }, - { - "expr": "sum([[app]]_dataNode_OpCreateDataPartition{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateDataPartition", - "refId": "A" - }, - { - "expr": "sum([[app]]_dataNode_OpAddDataPartitionRaftMember{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "AddDataPartitionRaftMember", - "refId": "B" - }, - { - "expr": "sum([[app]]_dataNode_OpDeleteDataPartition{cluster=~\"$cluster\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "DeleteDataPartition", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DatapartitionOperations", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 35 - }, - "id": 34, - "panels": [], - "title": "Master", - "type": "row" - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 7, - "x": 0, - "y": 36 - }, - "id": 162, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "master_count", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "go_info{cluster=\"$cluster\", role=\"master\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "[[cluster]]_master_{{instance}}", - "refId": "C" - }, - { - "expr": "count(go_info{cluster=~\"$cluster\", role=~\"master\"})", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "[[cluster]]_master_count", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "[[role]]_nodes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 7, - "x": 7, - "y": 36 - }, - "id": 163, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "go_info{cluster=\"$cluster\", role=\"metanode\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "meta_{{instance}}", - "refId": "C" - }, - { - "expr": "sum([[app]]_master_metaNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "metaNode", - "refId": "B" - }, - { - "expr": "sum([[app]]_master_dataNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode", - "refId": "A" - }, - { - "expr": "[[app]]_master_metaNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "meta_count", - "refId": "D" - }, - { - "expr": "[[app]]_master_dataNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode_count", - "refId": "E" - }, - { - "expr": "count(process_start_time_seconds{role=\"fuseclient\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "client_count", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "[[cluster]]_metanode_alive", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 7, - "x": 0, - "y": 43 - }, - "id": 164, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "go_info{cluster=\"$cluster\", role=\"dataNode\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "{{instance}}", - "refId": "C" - }, - { - "expr": "sum([[app]]_master_metaNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "metaNode", - "refId": "B" - }, - { - "expr": "sum([[app]]_master_dataNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode", - "refId": "A" - }, - { - "expr": "[[app]]_master_metaNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "meta_count", - "refId": "D" - }, - { - "expr": "[[app]]_master_dataNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode_count", - "refId": "E" - }, - { - "expr": "count(process_start_time_seconds{role=\"fuseclient\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "client_count", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "[[cluster]]_datanode_alive", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": true, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 7, - "x": 7, - "y": 43 - }, - "id": 165, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": false, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, - "targets": [ - { - "expr": "go_info{cluster=\"$cluster\", role=\"fuseclient\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "fuseclient_{{instance}}", - "refId": "C" - }, - { - "expr": "sum([[app]]_master_metaNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "metaNode", - "refId": "B" - }, - { - "expr": "sum([[app]]_master_dataNodes_count{cluster=~\"$cluster\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode", - "refId": "A" - }, - { - "expr": "[[app]]_master_metaNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "meta_count", - "refId": "D" - }, - { - "expr": "[[app]]_master_dataNodes_count", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "datanode_count", - "refId": "E" - }, - { - "expr": "count(process_start_time_seconds{role=\"fuseclient\"})", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "client_count", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "[[cluster]]_fuseclient_alive", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 50 - }, - "id": 36, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 3 - }, - "id": 117, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_metanode_OpMetaCreateInode_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InodeCreate", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 3 - }, - "id": 44, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteInode_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaEvictInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaInodeGet_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaLinkInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLinkInode_{{instance}}", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InodeBatchGet", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 3 - }, - "id": 119, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteInode_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaEvictInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaInodeGet_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaLinkInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaLinkInode_{{instance}}", - "refId": "F" - }, - { - "expr": "rate([[app]]_metanode_OpMetaLinkInode_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaLinkInode_ops_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InodeLink", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 11 - }, - "id": 120, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteInode_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaEvictInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaInodeGet_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaLinkInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLinkInode_{{instance}}", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "InodeEvict", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "description": "", - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 11 - }, - "id": 121, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpCreateMetaPartition{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpCreateMetaPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpLoadMetaPartition{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpLoadMetaPartition_{{instance}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "LoadMetaPartition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 11 - }, - "id": 58, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpCreateMetaPartition{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpCreateMetaPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpLoadMetaPartition{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpLoadMetaPartition_{{instance}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CreateMetaPartition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 19 - }, - "id": 88, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaExtentsList{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsList_{{instance}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaExtentsList", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 19 - }, - "id": 50, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaExtentsAdd{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsAdd_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaExtentsList{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsList_{{instance}}", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaExtentsAdd", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 19 - }, - "id": 126, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaNodeHeartbeat", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 27 - }, - "id": 72, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaCreateDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaUpdateDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaCreateDentry", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 27 - }, - "id": 125, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaOpen_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaLookup{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaLookup_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaReleaseOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReleaseOpen_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaSetattr{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaSetattr_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_metanode_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaTruncate_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaLookup", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 27 - }, - "id": 122, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaCreateDentry{app=\"$app\",cluster=~\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteDentry{app=\"$app\",cluster=~\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaUpdateDentry{app=\"$app\",cluster=~\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaDeleteDentry", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 35 - }, - "id": 124, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_metanode_OpMetaReadDir_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaReadDir", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 35 - }, - "id": 129, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaOpen_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaLookup{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLookup_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaReleaseOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaReleaseOpen_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaSetattr{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaSetattr_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_metanode_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaTruncate_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaReleaseOpen", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 35 - }, - "id": 116, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateInode", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteInode_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaEvictInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaInodeGet_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaLinkInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLinkInode_{{instance}}", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaDeleteInode", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 43 - }, - "id": 127, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaOpen_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaLookup{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLookup_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaReleaseOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReleaseOpen_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaSetattr{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaSetattr_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_metanode_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaTruncate_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaTruncate", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 43 - }, - "id": 128, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaOpen_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaLookup{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLookup_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaReleaseOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReleaseOpen_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaSetattr{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaSetattr_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_metanode_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaTruncate_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaSetattr", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 43 - }, - "id": 123, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaCreateDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaDeleteDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaUpdateDentry{app=\"$app\",cluster=~\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaUpdateDentry", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 51 - }, - "id": 46, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_metanode_OpMetaOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaOpen_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_metanode_OpMetaLookup{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaLookup_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_metanode_OpMetaNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaNodeHeartbeat_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_metanode_OpMetaReadDir{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReadDir_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_metanode_OpMetaReleaseOpen{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaReleaseOpen_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_metanode_OpMetaSetattr{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaSetattr_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_metanode_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaTruncate_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaOpen", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Metanode", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 51 - }, - "id": 27, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "description": "", - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 52 - }, - "id": 132, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_ops_{{instance}}", - "refId": "Q" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DatanodeHeartbeat", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 52 - }, - "id": 133, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpCreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CreateDataPartition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 52 - }, - "id": 137, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_dataNode_OpLoadDataPartition_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "LoadDataPartition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 60 - }, - "id": 138, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "NotifyReplicasToRepair", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 60 - }, - "id": 134, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_dataNode_OpGetAllWatermarks_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "GetAllWatermarks", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 60 - }, - "id": 135, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "rate([[app]]_dataNode_OpGetAppliedId_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_ops_{{instance}}", - "refId": "Q" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "GetAppliedId", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 68 - }, - "id": 142, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "rate([[app]]dataNode_OpStreamRead_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "StreamRead_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "StreamRead", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 68 - }, - "id": 143, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "Write", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 68 - }, - "id": 139, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MarkDelete", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 76 - }, - "id": 144, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "rate([[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "CreateExtent_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "CreateExtent", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 76 - }, - "id": 145, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - }, - { - "expr": "rate([[app]]_dataNode_OpExtentRepairRead_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "ExtentRepairdRead", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 76 - }, - "id": 74, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_ops_{{instance}}", - "refId": "Q" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "BroadcastMinAppliedID", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 84 - }, - "id": 141, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "rate([[app]]_dataNode_OpReadTinyDelete_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "ReadTinyDelete", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 84 - }, - "id": 136, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "GetPartitionSize", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 84 - }, - "id": 146, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpTinyExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "TinyExtentRepairdRead_{{instance}}", - "refId": "P" - }, - { - "expr": "rate([[app]]_dataNode_OpTinyExtentRepairRead_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "TinyExtentRepairdRead_ops_{{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "TinyExtentRepairdRead", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 0, - "y": 92 - }, - "id": 131, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DecommissionDataPartition", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 8, - "w": 8, - "x": 8, - "y": 92 - }, - "id": 140, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_dataNode_OpBroadcastMinAppliedID{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpBroadcastMinAppliedID_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_dataNode_OpCreateDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateDataPartition_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_dataNode_OpDataNodeHeartbeat{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DataNodeHeartbeat_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_dataNode_OpDecommissionDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DecommissionDataPartition_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_dataNode_OpGetAllWatermarks{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAllWatermarks_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_dataNode_OpGetAppliedId{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetAppliedId_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_dataNode_OpGetPartitionSize{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetPartitionSize_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_dataNode_OpLoadDataPartition{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "LoadDataPartition_{{instance}}", - "refId": "H" - }, - { - "expr": "[[app]]_dataNode_OpMarkDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MarkDelete_{{instance}}", - "refId": "I" - }, - { - "expr": "[[app]]_dataNode_OpNotifyReplicasToRepair{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "NotifyReplicasToRepair_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_dataNode_OpRandomWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpRandomWrite_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_dataNode_OpReadTinyDelete{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ReadTinyDelete_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_dataNode_OpStreamRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead_{{instance}}", - "refId": "M" - }, - { - "expr": "[[app]]_dataNode_OpWrite{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Write_{{instance}}", - "refId": "N" - }, - { - "expr": "[[app]]_dataNode_OpCreateExtent{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateExtent_{{instance}}", - "refId": "O" - }, - { - "expr": "[[app]]_dataNode_OpExtentRepairRead{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "ExtentRepairdRead_{{instance}}", - "refId": "P" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "RandomWrite", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - } - ], - "title": "Datanode", - "type": "row" - }, - { - "collapsed": true, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 52 - }, - "id": 66, - "panels": [ - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 5 - }, - "id": 64, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_{{instance}}", - "refId": "K" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaReadDir_count{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_ops_{{instance}}", - "refId": "E" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaReadDir", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 5 - }, - "id": 157, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "CreateInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaBatchInodeGet_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_count_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "CreateInode_count_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_count_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_count_{{instance}}", - "refId": "I" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_count_{{instance}}", - "refId": "K" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_count_{{instance}}", - "refId": "L" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaCreateInode", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 5 - }, - "id": 156, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "DeleteInode_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaBatchInodeGet_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_count_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_count_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaDeleteInode_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "DeleteInode_count_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_count_{{instance}}", - "refId": "I" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_count_{{instance}}", - "refId": "K" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_count_{{instance}}", - "refId": "L" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "DeleteInode", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 12 - }, - "id": 160, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaCreateDentry{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteDentry{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_count_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaDeleteDentry_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_count_{{instance}}", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaDeleteDentry", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 12 - }, - "id": 68, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaCreateDentry{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteDentry{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "E" - }, - { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", - "refId": "A" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaCreateDentry_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_count_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_count_{{instance}}", - "refId": "F" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaCreateDentry", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 12 - }, - "id": 102, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "rate([[app]]_fuseclient_StreamWrite_count{app=\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamWrite_{{instance}}", - "refId": "A" - }, - { - "expr": "rate([[app]]_fuseclient_StreamRead_count{app=\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "StreamRead", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_StreamSyncWrite_count{instance=\"$instance\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "SyncWrite", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_StreamSyncOverwrite_count{instance=\"$instance\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "SyncOverwrite", - "refId": "D" - }, - { - "expr": "rate([[app]]_fuseclient_StreamOverwrite_count{instance=\"$instance\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Overwrite", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaExtentsList_count{app=\"$app\",cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsList_count_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_fuseclient_OpMetaExtentsList{app=\"$app\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsList_{{instance}}", - "refId": "G" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaExtentsList", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "locale", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 19 - }, - "id": 69, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaExtentsAdd{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsAdd_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaExtentsAdd_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "OpMetaExtentsAdd_count_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaExtentsList{instance=~\"$instance\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "GetExtents", - "refId": "I" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaExtentsAdd", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 19 - }, - "id": 148, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaOpen{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaLookup_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaOpen_count{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_ops_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_ops_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_ops_{{instance}}", - "refId": "F" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaLookup_count{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaLookup_ops_{{instance}}", - "refId": "G" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_ops_{{instance}}", - "refId": "H" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaLookup", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 19 - }, - "id": 67, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaBatchInodeGet_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_count_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_count_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_count_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "EvictInode_count_{{instance}}", - "refId": "I" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_count_{{instance}}", - "refId": "K" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_count_{{instance}}", - "refId": "L" - } - ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, - "title": "MetaBatchInodeGet", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ns", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "ops", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + { + "expr": "cfs_master_vol_used_GB{app=\"$app\",cluster=\"$cluster\", volName=\"$vol\", instance=\"$master_instance\"}/cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\", volName=\"$vol\", instance=\"$master_instance\"}", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "UsedRatio", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "[[vol]]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "logBase": 1, + "show": true }, + { + "format": "percentunit", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 24 + }, + "id": 34, + "panels": [ { "aliasColors": {}, - "bars": false, + "bars": true, "dashLength": 10, "dashes": false, - "datasource": "default", + "datasource": null, + "description": "invalide master nodes", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, + "w": 7, "x": 0, - "y": 26 + "y": 25 }, - "id": 152, + "id": 162, "legend": { "avg": false, "current": false, "max": false, "min": false, - "show": true, + "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { - "alias": "/.*_count_.*/", + "alias": "master_count", "yaxis": 2 } ], @@ -8431,59 +1574,21 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_filecreate{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "filecreate_{{instance}}", - "refId": "A" - }, - { - "expr": "rate([[app]]_fuseclient_filecreate_count{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "filecreate_count_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_filesync{app=~\"$app\",cluster=\"$cluster\"}", + "expr": "topk($topk, 1 - up{cluster=\"$cluster\", role=\"master\"} > 0 )", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "filesync_{{instance}}", + "legendFormat": "[[cluster]]_master_{{instance}}", "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_filesync_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filesync_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_filewrite{app=~\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filewrite_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_filewrite_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filewrite_count_{{instance}}", - "refId": "F" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "FileCreate", + "title": "master_nodes_invalide", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -8496,19 +1601,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "locale", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "locale", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -8519,18 +1618,20 @@ }, { "aliasColors": {}, - "bars": false, + "bars": true, "dashLength": 10, "dashes": false, "datasource": null, + "description": "invalide meta nodes", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 26 + "w": 7, + "x": 7, + "y": 25 }, - "id": 158, + "id": 163, "legend": { "avg": false, "current": false, @@ -8542,46 +1643,35 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], + "seriesOverrides": [], "spaceLength": 10, - "stack": false, + "stack": true, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "InodeGet_{{instance}}", - "refId": "J" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaInodeGet_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", + "expr": "topk($topk, 1 - up{cluster=\"$cluster\", role=\"metanode\"} > 0 )", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "InodeGet_count_{{instance}}", - "refId": "K" + "legendFormat": "{{role}}_{{instance}}", + "refId": "C" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "InodeGet", + "title": "[[cluster]]_metanode_inactive", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -8594,19 +1684,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "locale", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "short", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -8617,18 +1701,20 @@ }, { "aliasColors": {}, - "bars": false, + "bars": true, "dashLength": 10, "dashes": false, "datasource": null, + "description": "invalide data nodes", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 16, - "y": 26 + "w": 7, + "x": 0, + "y": 32 }, - "id": 155, + "id": 164, "legend": { "avg": false, "current": false, @@ -8640,126 +1726,35 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], + "seriesOverrides": [], "spaceLength": 10, - "stack": false, + "stack": true, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaBatchInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_{{instance}}", - "refId": "F" - }, - { - "expr": "[[app]]_fuseclient_OpMetaEvictInode{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "EvictInode_{{instance}}", - "refId": "G" - }, - { - "expr": "[[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_{{instance}}", - "refId": "J" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_{{instance}}", - "refId": "B" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaBatchInodeGet_count{app=~\"$app\", cluster=\"$cluster\"}[1m])", + "expr": "topk($topk, 1 - up{cluster=\"$cluster\", role=\"dataNode\"} > 0)", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "OpMetaBatchInodeGet_count_{{instance}}", + "legendFormat": "{{role}}_{{instance}}", "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaCreateInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "CreateInode_count_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaDeleteInode{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "DeleteInode_count_{{instance}}", - "refId": "H" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaEvictInode_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "EvictInode_count_{{instance}}", - "refId": "I" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaInodeGet{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "InodeGet_count_{{instance}}", - "refId": "K" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "Truncate_count_{{instance}}", - "refId": "L" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "EvictInode", + "title": "datanode_inactive", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -8772,19 +1767,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "locale", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "short", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -8795,18 +1784,20 @@ }, { "aliasColors": {}, - "bars": false, + "bars": true, "dashLength": 10, "dashes": false, - "datasource": "default", + "datasource": null, + "description": "invalide fuse clients", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 0, - "y": 33 + "w": 7, + "x": 7, + "y": 32 }, - "id": 153, + "id": 165, "legend": { "avg": false, "current": false, @@ -8818,78 +1809,35 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_count_.*/", - "yaxis": 2 - } - ], + "seriesOverrides": [], "spaceLength": 10, - "stack": false, + "stack": true, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_filecreate{app=~\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filecreate_{{instance}}", - "refId": "A" - }, - { - "expr": "rate([[app]]_fuseclient_filecreate_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filecreate_count_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_filesync{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, 1 - up{app=\"$app\", cluster=\"$cluster\", role=\"fuseclient\"} > 0)", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "filesync_{{instance}}", + "legendFormat": "{{role}}_{{instance}}", "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_filesync_count{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "filesync_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_filewrite{app=~\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filewrite_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_filewrite_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filewrite_count_{{instance}}", - "refId": "F" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "FileSync", + "title": "fuseclient_inactive", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -8902,19 +1850,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "locale", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "short", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -8922,41 +1864,70 @@ "align": false, "alignLevel": null } - }, + } + ], + "title": "Master", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 25 + }, + "id": 36, + "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "default", + "datasource": null, + "description": "metanode op time", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 7, - "w": 8, - "x": 8, - "y": 33 + "h": 8, + "w": 24, + "x": 0, + "y": 40 }, - "id": 100, + "id": 117, "legend": { "avg": false, "current": false, "max": false, "min": false, - "show": true, + "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "mnOp", + "repeatDirection": "h", + "scopedVars": { + "mnOp": { + "selected": true, + "text": "OpMetaInodeGet", + "value": "OpMetaInodeGet" + } + }, "seriesOverrides": [ { - "alias": "/.*_count_.*/", + "alias": "/sum/", "yaxis": 2 } ], @@ -8965,27 +1936,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_fileread{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, cfs_metanode_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", "intervalFactor": 1, - "legendFormat": "fileread_{{instance}}", - "refId": "A" + "legendFormat": "{{instance}}", + "refId": "B" }, { - "expr": "rate([[app]]_fuseclient_fileread_count{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}[1m])", + "expr": "sum( cfs_metanode_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", "intervalFactor": 1, - "legendFormat": "fileread_count_{{instance}}", - "refId": "B" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "FileRead", + "title": "[[mnOp]]:Time", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -8999,18 +1971,12 @@ "yaxes": [ { "format": "ns", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "ns", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9024,35 +1990,49 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "default", + "datasource": null, + "description": "metanode op count per second", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 33 + "h": 8, + "w": 24, + "x": 0, + "y": 48 }, - "id": 154, + "id": 205, "legend": { "avg": false, "current": false, "max": false, "min": false, - "show": true, + "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "mnOp", + "repeatDirection": "h", + "scopedVars": { + "mnOp": { + "selected": true, + "text": "OpMetaInodeGet", + "value": "OpMetaInodeGet" + } + }, "seriesOverrides": [ { - "alias": "/.*_count_.*/", + "alias": "/sum/", "yaxis": 2 } ], @@ -9061,61 +2041,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_filecreate{app=~\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filecreate_{{instance}}", - "refId": "A" - }, - { - "expr": "rate([[app]]_fuseclient_filecreate_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", + "expr": "topk($topk, cfs_metanode_[[mnOp]]_count{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "filecreate_count_{{instance}}", + "legendFormat": "{{instance}}", "refId": "B" }, { - "expr": "[[app]]_fuseclient_filesync{app=~\"$app\",cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filesync_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_filesync_count{app=~\"$app\",cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "filesync_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_filewrite{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "filewrite_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_filewrite_count{app=~\"$app\",cluster=\"$cluster\", instance=\"$instance\"}[1m])", + "expr": "sum( cfs_metanode_[[mnOp]]_count{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "filewrite_count_{{instance}}", - "refId": "F" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "FileWrite", + "title": "[[mnOp]]:Ops", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9128,19 +2075,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9148,41 +2089,70 @@ "align": false, "alignLevel": null } - }, + } + ], + "title": "Metanode", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 26 + }, + "id": 27, + "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, + "description": "Datanode op time", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, + "w": 24, "x": 0, - "y": 40 + "y": 57 }, - "id": 147, + "id": 146, "legend": { "avg": false, "current": false, "max": false, "min": false, - "show": true, + "show": false, "total": false, "values": false }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "dnOp", + "repeatDirection": "h", + "scopedVars": { + "dnOp": { + "selected": true, + "text": "OpCreateExtent", + "value": "OpCreateExtent" + } + }, "seriesOverrides": [ { - "alias": "/.*_ops_.*/", + "alias": "sum", "yaxis": 2 } ], @@ -9191,93 +2161,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaOpen{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}", + "expr": "topk($topk, cfs_dataNode_[[dnOp]]{app=~\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "MetaSetattr_{{instance}}", - "refId": "L" + "legendFormat": "{{instance}}", + "refId": "P" }, { - "expr": "[[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\"}", + "expr": "sum(cfs_dataNode_[[dnOp]]{app=~\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "MetaLookup_{{instance}}", + "legendFormat": "sum", "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaOpen_count{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_ops_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_ops_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_ops_{{instance}}", - "refId": "F" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaLookup_ops_{{instance}}", - "refId": "G" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate_count{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_ops_{{instance}}", - "refId": "H" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MetaTruncate", + "title": "[[dnOp]]:Time", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9291,18 +2196,12 @@ "yaxes": [ { "format": "ns", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "ns", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9317,14 +2216,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "Datanode op count per second", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 40 + "w": 24, + "x": 0, + "y": 64 }, - "id": 149, + "id": 200, "legend": { "avg": false, "current": false, @@ -9336,15 +2237,27 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "dnOp", + "repeatDirection": "h", + "scopedVars": { + "dnOp": { + "selected": true, + "text": "OpCreateExtent", + "value": "OpCreateExtent" + } + }, "seriesOverrides": [ { - "alias": "/.*_ops_.*/", + "alias": "/sum/", "yaxis": 2 } ], @@ -9353,93 +2266,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaOpen{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, rate(cfs_dataNode_[[dnOp]]_count{app=~\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "MetaSetattr_{{instance}}", - "refId": "L" + "legendFormat": "{{instance}}", + "refId": "P" }, { - "expr": "[[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\"}", + "expr": "sum(rate(cfs_dataNode_[[dnOp]]_count{app=~\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "MetaLookup_{{instance}}", + "legendFormat": "sum", "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaOpen_count{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaOpen_ops_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_ops_{{instance}}", - "refId": "E" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaSetattr_cout{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_ops_{{instance}}", - "refId": "F" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaLookup_count{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaLookup_ops_{{instance}}", - "refId": "G" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate_count{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_ops_{{instance}}", - "refId": "H" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MetaSetattr", + "title": "[[dnOp]]:Ops", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9452,19 +2300,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9472,136 +2314,100 @@ "align": false, "alignLevel": null } - }, + } + ], + "title": "Datanode", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 284, + "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, - "fill": 1, - "gridPos": { - "h": 7, - "w": 8, - "x": 16, - "y": 40 - }, - "id": 150, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*_ops_.*/", - "yaxis": 2 - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "[[app]]_fuseclient_OpMetaOpen{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaOpen_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_{{instance}}", - "refId": "K" - }, - { - "expr": "[[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_{{instance}}", - "refId": "L" - }, - { - "expr": "[[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaLookup_{{instance}}", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaTruncate_{{instance}}", - "refId": "C" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaOpen_count{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "MetaOpen_ops_{{instance}}", - "refId": "D" - }, - { - "expr": "rate([[app]]_fuseclient_OpMetaReadDir{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaReaddir_ops_{{instance}}", - "refId": "E" - }, + "description": "Object node op time", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 285, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "maxPerRow": 4, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": "obOp", + "repeatDirection": "h", + "scopedVars": { + "obOp": { + "selected": true, + "text": "ListObjects", + "value": "ListObjects" + } + }, + "seriesOverrides": [ { - "expr": "rate([[app]]_fuseclient_OpMetaSetattr{app=\"$app\", cluster=\"$cluster\"}[1m])", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "MetaSetattr_ops_{{instance}}", - "refId": "F" - }, + "alias": "sum", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ { - "expr": "rate([[app]]_fuseclient_OpMetaLookup{app=\"$app\", cluster=\"$cluster\"}[1m])", + "expr": "topk($topk, cfs_objectnode_action_[[obOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "MetaLookup_ops_{{instance}}", - "refId": "G" + "legendFormat": "{{instance}}", + "refId": "P" }, { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate{app=\"$app\", cluster=\"$cluster\"}[1m])", + "expr": "sum(cfs_objectnode_action_[[obOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "MetaTruncate_ops_{{instance}}", - "refId": "H" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MetaOpen", + "title": "[[obOp]]:Time", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9615,18 +2421,12 @@ "yaxes": [ { "format": "ns", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "ops", - "label": null, + "format": "ns", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9641,14 +2441,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "Object node op count per second", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, + "w": 24, "x": 0, - "y": 47 + "y": 49 }, - "id": 106, + "id": 286, "legend": { "avg": false, "current": false, @@ -9660,40 +2462,57 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "repeat": "obOp", + "repeatDirection": "h", + "scopedVars": { + "obOp": { + "selected": true, + "text": "ListObjects", + "value": "ListObjects" + } + }, + "seriesOverrides": [ + { + "alias": "/sum/", + "yaxis": 2 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_FlushInRead{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, rate(cfs_objectnode_action_[[obOp]]_count{app=~\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", "intervalFactor": 1, - "legendFormat": "FlushInRead_{{instance}}", - "refId": "A" + "legendFormat": "{{instance}}", + "refId": "P" }, { - "expr": "[[app]]_fuseclient_StreamPrepareReadRequests{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "sum(rate(cfs_objectnode_action_[[obOp]]_count{app=~\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "PrepareReadRequest_{{instance}}", - "refId": "B" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "FlushInRead", + "title": "[[obOp]]:Ops", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9706,19 +2525,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "short", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9726,21 +2539,38 @@ "align": false, "alignLevel": null } - }, + } + ], + "title": "ObjectNode", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 66, + "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": null, + "description": "fuse client use meta sdk op time", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 8, - "y": 47 + "w": 24, + "x": 0, + "y": 43 }, - "id": 161, + "id": 64, "legend": { "avg": false, "current": false, @@ -9752,15 +2582,27 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "mnOp", + "repeatDirection": "h", + "scopedVars": { + "mnOp": { + "selected": true, + "text": "OpMetaInodeGet", + "value": "OpMetaInodeGet" + } + }, "seriesOverrides": [ { - "alias": "/.*_count_.*/", + "alias": "/sum/", "yaxis": 2 } ], @@ -9769,61 +2611,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaCreateDentry{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_{{instance}}", - "refId": "C" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteDentry{app=~\"$app\", cluster=\"$cluster\"}", + "expr": "topk($topk, cfs_rolefuseclient_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_{{instance}}", - "refId": "E" + "legendFormat": "{{instance}}", + "refId": "K" }, { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "sum(cfs_fuseclient_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_{{instance}}", + "legendFormat": "sum", "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_OpMetaCreateDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaCreateDentry_count_{{instance}}", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_OpMetaDeleteDentry_count{app=~\"$app\", cluster=\"$cluster\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "OpMetaDeleteDentry_count_{{instance}}", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_OpMetaUpdateDentry_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "OpMetaUpdateDentry_count_{{instance}}", - "refId": "F" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "MetaUpdateDentry", + "title": "[[mnOp]]:Time", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9837,18 +2646,12 @@ "yaxes": [ { "format": "ns", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9863,14 +2666,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "fuse client use meta sdk op count per second", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 16, - "y": 47 + "w": 24, + "x": 0, + "y": 50 }, - "id": 98, + "id": 212, "legend": { "avg": false, "current": false, @@ -9882,67 +2687,57 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "repeat": "mnOp", + "repeatDirection": "h", + "scopedVars": { + "mnOp": { + "selected": true, + "text": "OpMetaInodeGet", + "value": "OpMetaInodeGet" + } + }, + "seriesOverrides": [ + { + "alias": "/sum/", + "yaxis": 2 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_StreamWrite{instance=~\"$instance\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Write", - "refId": "A" - }, - { - "expr": "[[app]]_fuseclient_StreamRead{instance=~\"$instance\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Read", - "refId": "C" - }, - { - "expr": "[[app]]_fuseclient_StreamOverwrite{instance=~\"$instance\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "Overwrite", - "refId": "D" - }, - { - "expr": "[[app]]_fuseclient_StreamCreateExtent{instance=~\"$instance\",cluster=\"$cluster\", instance=\"$instance\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "CreateExtent", - "refId": "B" - }, - { - "expr": "[[app]]_fuseclient_StreamSyncWrite{instance=~\"$instance\",cluster=\"$cluster\"}", + "expr": "topk($topk, rate(cfs_fuseclient_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", "intervalFactor": 1, - "legendFormat": "SyncWrite", - "refId": "E" + "legendFormat": "{{instance}}", + "refId": "K" }, { - "expr": "[[app]]_fuseclient_StreamSyncOverwrite{instance=~\"$instance\",cluster=\"$cluster\"}", + "expr": "sum(rate(cfs_fuseclient_[[mnOp]]{app=\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", "intervalFactor": 1, - "legendFormat": "SyncOverwrite", - "refId": "F" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "StreamSDKLatency", + "title": "[[mnOp]]:Ops", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -9955,19 +2750,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "short", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -9982,14 +2771,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "fuse client op time", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, + "w": 24, "x": 0, - "y": 54 + "y": 57 }, - "id": 159, + "id": 215, "legend": { "avg": false, "current": false, @@ -10001,15 +2792,32 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", + "repeat": "fuseOp", + "repeatDirection": "h", + "scopedVars": { + "fuse2Op": { + "selected": true, + "text": "mkdir", + "value": "mkdir" + }, + "fuseOp": { + "selected": true, + "text": "mkdir", + "value": "mkdir" + } + }, "seriesOverrides": [ { - "alias": "/.*_count_.*/", + "alias": "/sum/", "yaxis": 2 } ], @@ -10018,29 +2826,28 @@ "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_OpMetaTruncate{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, cfs_fuseclient_[[fuseOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "Truncate_{{instance}}", - "refId": "B" + "legendFormat": "{{instance}}", + "refId": "K" }, { - "expr": "rate([[app]]_fuseclient_OpMetaTruncate_count{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}[1m])", + "expr": "sum(cfs_fuseclient_[[fuseOp]]{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "Truncate_count_{{instance}}", - "refId": "L" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Truncate", + "title": "[[fuseOp]]:Time", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -10054,18 +2861,12 @@ "yaxes": [ { "format": "ns", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "ops", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -10080,14 +2881,16 @@ "dashLength": 10, "dashes": false, "datasource": null, + "description": "fuse op count per second", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, - "w": 8, - "x": 16, - "y": 54 + "w": 24, + "x": 0, + "y": 64 }, - "id": 151, + "id": 216, "legend": { "avg": false, "current": false, @@ -10099,41 +2902,56 @@ }, "lines": true, "linewidth": 1, - "links": [], + "maxPerRow": 4, "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", - "seriesOverrides": [], + "repeat": "fuseOp", + "repeatDirection": "h", + "scopedVars": { + "fuseOp": { + "selected": true, + "text": "mkdir", + "value": "mkdir" + } + }, + "seriesOverrides": [ + { + "yaxis": 2 + } + ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { - "expr": "[[app]]_fuseclient_FlushInRead{app=\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "topk($topk, cfs_fuseclient_[[fuseOp]]_count{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": true, "intervalFactor": 1, - "legendFormat": "FlushInRead_{{instance}}", - "refId": "A" + "legendFormat": "{{instance}}", + "refId": "K" }, { - "expr": "[[app]]_fuseclient_PrepareReadRequest{app=~\"$app\", cluster=\"$cluster\", instance=\"$instance\"}", + "expr": "sum(cfs_fuseclient_[[fuseOp]]_count{app=\"$app\", cluster=\"$cluster\"})", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "PrepareReadRequest_{{instance}}", - "refId": "B" + "legendFormat": "sum", + "refId": "A" } ], "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "PrepareReadRequest", + "title": "[[fuseOp]]:Ops", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", @@ -10146,19 +2964,13 @@ }, "yaxes": [ { - "format": "ns", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true }, { - "format": "short", - "label": null, + "format": "ops", "logBase": 1, - "max": null, - "min": null, "show": true } ], @@ -10173,59 +2985,40 @@ }, { "collapsed": true, + "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 53 + "y": 29 }, "id": 60, "panels": [ { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, - "x": 0, - "y": 2 + "y": 25 }, "id": 61, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { - "expr": "go_goroutines{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", + "expr": "topk($topk, rate(go_goroutines{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}[1m]))", "format": "time_series", "intervalFactor": 1, - "legendFormat": "go_goroutines_{{instance}}", + "legendFormat": "{{role}}_{{instance}}", "refId": "A" }, { - "expr": "go_threads{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", + "expr": "topk($topk,go_threads{app=\"$app\", cluster=\"$cluster\", role=\"$role\"})", "format": "time_series", "hide": true, "intervalFactor": 1, @@ -10233,169 +3026,96 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "go_goroutines", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 7, - "y": 2 + "y": 25 }, "id": 169, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { - "expr": "go_goroutines{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", - "format": "time_series", - "hide": true, - "intervalFactor": 1, - "legendFormat": "go_goroutines_{{instance}}", - "refId": "A" - }, - { - "expr": "go_threads{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", + "expr": "topk($topk, rate(go_threads{app=\"$app\", cluster=\"$cluster\"}[1m]))", "format": "time_series", - "hide": false, "intervalFactor": 1, - "legendFormat": "go_threads_{{instance}}", + "legendFormat": "{{role}}_{{instance}}", "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "go_threads", "tooltip": { "shared": true, - "sort": 0, + "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 14, - "y": 2 + "y": 25 }, "id": 63, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10404,8 +3124,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_gc_duration_seconds{instance=~\"$instance\"}", @@ -10422,76 +3140,45 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "gc_duration", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, - "x": 0, - "y": 8 + "y": 31 }, "id": 109, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10500,13 +3187,10 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "process_resident_memory_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\" }", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "resident_memory_bytes_{{instance}}", "refId": "A" @@ -10528,76 +3212,46 @@ "refId": "C" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "process_resident_memory", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 7, - "y": 8 + "y": 31 }, "id": 166, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10606,8 +3260,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "process_resident_memory_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\" }", @@ -10620,7 +3272,6 @@ { "expr": "process_virtual_memory_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "virtual_memory_bytes_{{instance}}", "refId": "B" @@ -10634,76 +3285,46 @@ "refId": "C" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "process_virtual_memory", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 14, - "y": 8 + "y": 31 }, "id": 167, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10712,8 +3333,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "process_resident_memory_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\" }", @@ -10734,82 +3353,50 @@ { "expr": "process_virtual_memory_max_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "virtual_memory_max_bytes_{{instance}}", "refId": "C" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "process_virtual_memory_max", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": "default", "fill": 1, "gridPos": { "h": 6, "w": 7, - "x": 0, - "y": 14 + "y": 37 }, "id": 110, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10818,8 +3405,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "process_open_fds{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -10837,76 +3422,46 @@ "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "open_fds", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": "default", "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 7, - "y": 14 + "y": 37 }, "id": 168, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -10915,8 +3470,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "process_open_fds{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -10929,82 +3482,51 @@ { "expr": "process_max_fds{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "max_fds_{{instance}}", "refId": "B" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "max_fds", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 14, - "y": 14 + "y": 37 }, "id": 111, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", "seriesOverrides": [ { @@ -11013,8 +3535,6 @@ } ], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "rate(process_cpu_seconds_total{cluster=\"$cluster\", role=\"$role\"}[1m])", @@ -11024,81 +3544,47 @@ "refId": "A" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "process_cpu", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "s", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "locale", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, - "x": 0, - "y": 20 + "y": 43 }, "id": 62, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11172,81 +3658,48 @@ "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "alloc_bytes", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 7, - "y": 20 + "y": 43 }, "id": 172, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11267,7 +3720,6 @@ { "expr": "go_memstats_heap_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "heap_alloc_bytes_{{instance}}", "refId": "C" @@ -11321,81 +3773,48 @@ "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "heap_alloc", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 14, - "y": 20 + "y": 43 }, "id": 171, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11424,7 +3843,6 @@ { "expr": "go_memstats_heap_inuse_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "heap_inuse_bytes_{{instance}}", "refId": "D" @@ -11470,81 +3888,47 @@ "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "heap_inuse", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, - "x": 0, - "y": 26 + "y": 49 }, "id": 170, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11581,7 +3965,6 @@ { "expr": "go_memstats_sys_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "sys_bytes_{{instance}}", "refId": "E" @@ -11619,81 +4002,48 @@ "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "sys_bytes", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 7, - "y": 26 + "y": 49 }, "id": 173, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11754,7 +4104,6 @@ { "expr": "go_memstats_other_sys_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "other_sys_bytes_{{instance}}", "refId": "H" @@ -11768,81 +4117,48 @@ "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "other_sys", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, - "show": true, - "values": [] + "show": true }, "yaxes": [ { "format": "decbytes", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + ] }, { - "aliasColors": {}, - "bars": false, "dashLength": 10, - "dashes": false, - "datasource": null, "fill": 1, "gridPos": { "h": 6, "w": 7, "x": 14, - "y": 26 + "y": 49 }, "id": 174, "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false + "show": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "percentage": false, "pointradius": 5, - "points": false, "renderer": "flot", - "seriesOverrides": [], "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "expr": "go_memstats_alloc_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", @@ -11911,125 +4227,777 @@ { "expr": "go_memstats_mcache_sys_bytes{app=\"$app\", cluster=\"$cluster\", role=\"$role\"}", "format": "time_series", - "hide": false, "intervalFactor": 1, "legendFormat": "mcache_sys_bytes_{{instance}}", "refId": "I" } ], - "thresholds": [], - "timeFrom": null, - "timeShift": null, "title": "mcache_sys", "tooltip": { "shared": true, - "sort": 0, "value_type": "individual" }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "type": "graph", + "xaxis": { + "mode": "time", + "show": true + }, + "yaxes": [ + { + "format": "decbytes", + "logBase": 1, + "show": true + }, + { + "format": "short", + "logBase": 1, + "show": true + } + ] + } + ], + "title": "GoRuntime", + "type": "row" + } + ], + "schemaVersion": 20, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": { + "selected": true, + "text": "cfs", + "value": "cfs" + }, + "hide": 2, + "includeAll": false, + "label": "App", + "multi": false, + "name": "app", + "options": [ + { + "selected": true, + "text": "cfs", + "value": "cfs" + } + ], + "query": "cfs", + "skipUrlSync": false, + "type": "custom" + }, + { + "allValue": null, + "current": { + "text": "chubaofs01", + "value": "chubaofs01" + }, + "datasource": "Prometheus", + "definition": "label_values(up{app=\"$app\"}, cluster)", + "hide": 0, + "includeAll": false, + "label": "Cluster", + "multi": false, + "name": "cluster", + "options": [], + "query": "label_values(up{app=\"$app\"}, cluster)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "master", + "value": "master" + }, + "datasource": "Prometheus", + "definition": "label_values(up{app=\"$app\", cluster=\"$cluster\"}, role)", + "hide": 0, + "includeAll": false, + "label": "Role", + "multi": false, + "name": "role", + "options": [], + "query": "label_values(up{app=\"$app\", cluster=\"$cluster\"}, role)", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "5", + "value": "5" + }, + "hide": 0, + "includeAll": false, + "label": "topK", + "multi": false, + "name": "topk", + "options": [ + { + "selected": true, + "text": "5", + "value": "5" + }, + { + "text": "10", + "value": "10" + }, + { + "text": "20", + "value": "20" + }, + { + "text": "30", + "value": "30" + }, + { + "text": "50", + "value": "50" + }, + { + "text": "100", + "value": "100" + } + ], + "query": "5,10,20,30,50,100", + "skipUrlSync": false, + "type": "custom" + }, + { + "allValue": null, + "current": { + "tags": [], + "text": "OpMetaInodeGet", + "value": [ + "OpMetaInodeGet" + ] + }, + "hide": 0, + "includeAll": true, + "label": "MetaNodeOp", + "multi": true, + "name": "mnOp", + "options": [ + { + "selected": false, + "text": "All", + "value": "$__all" + }, + { + "selected": false, + "text": "OpMetaCreateInode", + "value": "OpMetaCreateInode" + }, + { + "selected": false, + "text": "OpMetaLinkInode", + "value": "OpMetaLinkInode" + }, + { + "selected": false, + "text": "OpMetaFreeInodesOnRaftFollower", + "value": "OpMetaFreeInodesOnRaftFollower" + }, + { + "selected": false, + "text": "OpMetaUnlinkInode", + "value": "OpMetaUnlinkInode" + }, + { + "selected": true, + "text": "OpMetaInodeGet", + "value": "OpMetaInodeGet" + }, + { + "selected": false, + "text": "OpMetaEvictInode", + "value": "OpMetaEvictInode" + }, + { + "selected": false, + "text": "OpMetaSetattr", + "value": "OpMetaSetattr" + }, + { + "selected": false, + "text": "OpMetaCreateDentry", + "value": "OpMetaCreateDentry" + }, + { + "selected": false, + "text": "OpMetaDeleteDentry", + "value": "OpMetaDeleteDentry" + }, + { + "selected": false, + "text": "OpMetaUpdateDentry", + "value": "OpMetaUpdateDentry" + }, + { + "selected": false, + "text": "OpMetaReadDir", + "value": "OpMetaReadDir" + }, + { + "selected": false, + "text": "OpCreateMetaPartition", + "value": "OpCreateMetaPartition" + }, + { + "selected": false, + "text": "OpMetaNodeHeartbeat", + "value": "OpMetaNodeHeartbeat" + }, + { + "selected": false, + "text": "OpMetaExtentsAdd", + "value": "OpMetaExtentsAdd" + }, + { + "selected": false, + "text": "OpMetaExtentsList", + "value": "OpMetaExtentsList" + }, + { + "selected": false, + "text": "OpMetaExtentsDel", + "value": "OpMetaExtentsDel" + }, + { + "selected": false, + "text": "OpMetaTruncate", + "value": "OpMetaTruncate" + }, + { + "selected": false, + "text": "OpMetaLookup", + "value": "OpMetaLookup" + }, + { + "selected": false, + "text": "OpDeleteMetaPartition", + "value": "OpDeleteMetaPartition" + }, + { + "selected": false, + "text": "OpUpdateMetaPartition", + "value": "OpUpdateMetaPartition" + }, + { + "selected": false, + "text": "OpLoadMetaPartition", + "value": "OpLoadMetaPartition" + }, + { + "selected": false, + "text": "OpDecommissionMetaPartition", + "value": "OpDecommissionMetaPartition" + }, + { + "selected": false, + "text": "OpAddMetaPartitionRaftMember", + "value": "OpAddMetaPartitionRaftMember" + }, + { + "selected": false, + "text": "OpRemoveMetaPartitionRaftMember", + "value": "OpRemoveMetaPartitionRaftMember" + }, + { + "selected": false, + "text": "OpMetaPartitionTryToLeader", + "value": "OpMetaPartitionTryToLeader" + }, + { + "selected": false, + "text": "OpMetaBatchInodeGet", + "value": "OpMetaBatchInodeGet" + }, + { + "selected": false, + "text": "OpMetaDeleteInode", + "value": "OpMetaDeleteInode" }, - "yaxes": [ - { - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null + { + "selected": false, + "text": "OpMetaBatchExtentsAdd", + "value": "OpMetaBatchExtentsAdd" + }, + { + "selected": false, + "text": "OpMetaSetXAttr", + "value": "OpMetaSetXAttr" + }, + { + "selected": false, + "text": "OpMetaGetXAttr", + "value": "OpMetaGetXAttr" + }, + { + "selected": false, + "text": "OpMetaBatchGetXAttr", + "value": "OpMetaBatchGetXAttr" + }, + { + "selected": false, + "text": "OpMetaRemoveXAttr", + "value": "OpMetaRemoveXAttr" + }, + { + "selected": false, + "text": "OpMetaListXAttr", + "value": "OpMetaListXAttr" + }, + { + "selected": false, + "text": "OpCreateMultipart", + "value": "OpCreateMultipart" + }, + { + "selected": false, + "text": "OpListMultiparts", + "value": "OpListMultiparts" + }, + { + "selected": false, + "text": "OpRemoveMultipart", + "value": "OpRemoveMultipart" + }, + { + "selected": false, + "text": "OpAddMultipartPart", + "value": "OpAddMultipartPart" + }, + { + "selected": false, + "text": "OpGetMultipart", + "value": "OpGetMultipart" } - } - ], - "title": "GoRuntime", - "type": "row" - } - ], - "refresh": false, - "schemaVersion": 16, - "style": "dark", - "tags": [], - "templating": { - "list": [ + ], + "query": "OpMetaCreateInode, OpMetaLinkInode, OpMetaFreeInodesOnRaftFollower, OpMetaUnlinkInode, OpMetaInodeGet, OpMetaEvictInode, OpMetaSetattr, OpMetaCreateDentry, OpMetaDeleteDentry, OpMetaUpdateDentry, OpMetaReadDir, OpCreateMetaPartition, OpMetaNodeHeartbeat, OpMetaExtentsAdd, OpMetaExtentsList, OpMetaExtentsDel, OpMetaTruncate, OpMetaLookup, OpDeleteMetaPartition, OpUpdateMetaPartition, OpLoadMetaPartition, OpDecommissionMetaPartition, OpAddMetaPartitionRaftMember, OpRemoveMetaPartitionRaftMember, OpMetaPartitionTryToLeader, OpMetaBatchInodeGet, OpMetaDeleteInode, OpMetaBatchExtentsAdd, OpMetaSetXAttr, OpMetaGetXAttr, OpMetaBatchGetXAttr, OpMetaRemoveXAttr, OpMetaListXAttr, OpCreateMultipart, OpListMultiparts, OpRemoveMultipart, OpAddMultipartPart, OpGetMultipart", + "skipUrlSync": false, + "type": "custom" + }, { "allValue": null, "current": { - "selected": true, - "text": "cfs", - "value": "cfs" + "tags": [], + "text": "OpCreateExtent", + "value": [ + "OpCreateExtent" + ] }, - "hide": 2, - "includeAll": false, - "label": "App", - "multi": false, - "name": "app", + "hide": 0, + "includeAll": true, + "label": "DataNodeOp", + "multi": true, + "name": "dnOp", "options": [ + { + "selected": false, + "text": "All", + "value": "$__all" + }, { "selected": true, - "text": "cfs", - "value": "cfs" + "text": "OpCreateExtent", + "value": "OpCreateExtent" + }, + { + "selected": false, + "text": "OpWrite", + "value": "OpWrite" + }, + { + "selected": false, + "text": "OpSyncWrite", + "value": "OpSyncWrite" + }, + { + "selected": false, + "text": "OpStreamRead", + "value": "OpStreamRead" + }, + { + "selected": false, + "text": "OpStreamFollowerRead", + "value": "OpStreamFollowerRead" + }, + { + "selected": false, + "text": "OpExtentRepairRead", + "value": "OpExtentRepairRead" + }, + { + "selected": false, + "text": "OpMarkDelete", + "value": "OpMarkDelete" + }, + { + "selected": false, + "text": "OpRandowWrite", + "value": "OpRandowWrite" + }, + { + "selected": false, + "text": "OpSyncRandomWrite", + "value": "OpSyncRandomWrite" + }, + { + "selected": false, + "text": "OpNotifyReplicasToRepair", + "value": "OpNotifyReplicasToRepair" + }, + { + "selected": false, + "text": "OpGetAllWatermarks", + "value": "OpGetAllWatermarks" + }, + { + "selected": false, + "text": "OpCreateDataPartition", + "value": "OpCreateDataPartition" + }, + { + "selected": false, + "text": "OpLoadDataPratition", + "value": "OpLoadDataPratition" + }, + { + "selected": false, + "text": "OpDeleteDataPartition", + "value": "OpDeleteDataPartition" + }, + { + "selected": false, + "text": "OpDataNodeHeartbeat", + "value": "OpDataNodeHeartbeat" + }, + { + "selected": false, + "text": "OpGetAppliedId", + "value": "OpGetAppliedId" + }, + { + "selected": false, + "text": "OpDecommissionDataPartition", + "value": "OpDecommissionDataPartition" + }, + { + "selected": false, + "text": "OpAddDataPartitionRaftMember", + "value": "OpAddDataPartitionRaftMember" + }, + { + "selected": false, + "text": "OpDataPartitionTryToLeader", + "value": "OpDataPartitionTryToLeader" + }, + { + "selected": false, + "text": "OpGetPartitionSize", + "value": "OpGetPartitionSize" + }, + { + "selected": false, + "text": "OpGetMaxExtentIDAndPartitionSize", + "value": "OpGetMaxExtentIDAndPartitionSize" + }, + { + "selected": false, + "text": "OpReadTinyDeleteRecord", + "value": "OpReadTinyDeleteRecord" + }, + { + "selected": false, + "text": "OpBroadcastMinAppliedID", + "value": "OpBroadcastMinAppliedID" } ], - "query": "cfs", + "query": "OpCreateExtent,OpWrite,OpSyncWrite,OpStreamRead,OpStreamFollowerRead,OpExtentRepairRead,OpMarkDelete,OpRandowWrite,OpSyncRandomWrite,OpNotifyReplicasToRepair,OpGetAllWatermarks,OpCreateDataPartition,OpLoadDataPratition,OpDeleteDataPartition,OpDataNodeHeartbeat,OpGetAppliedId,OpDecommissionDataPartition,OpAddDataPartitionRaftMember,OpDataPartitionTryToLeader,OpGetPartitionSize,OpGetMaxExtentIDAndPartitionSize,OpReadTinyDeleteRecord,OpBroadcastMinAppliedID", + "skipUrlSync": false, + "type": "custom" + }, + { + "allValue": null, + "current": { + "text": "mkdir", + "value": [ + "mkdir" + ] + }, + "hide": 0, + "includeAll": true, + "label": "fuseOp", + "multi": true, + "name": "fuseOp", + "options": [ + { + "text": "All", + "value": "$__all" + }, + { + "selected": true, + "text": "mkdir", + "value": "mkdir" + }, + { + "text": "mknod", + "value": "mknod" + }, + { + "text": "filecreate", + "value": "filecreate" + }, + { + "text": "link", + "value": "link" + }, + { + "text": "symlink", + "value": "symlink" + }, + { + "text": "rmdir", + "value": "rmdir" + }, + { + "text": "unlink", + "value": "unlink" + }, + { + "text": "readdir", + "value": "readdir" + }, + { + "text": "rename", + "value": "rename" + }, + { + "text": "fileread", + "value": "fileread" + }, + { + "text": "filewrite", + "value": "filewrite" + }, + { + "text": "filesync", + "value": "filesync" + } + ], + "query": "mkdir,mknod,filecreate,link,symlink,rmdir,unlink,readdir,rename,fileread,filewrite,filesync", + "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "tags": [], - "text": "spark", - "value": "spark" + "text": "ListObjects", + "value": [ + "ListObjects" + ] }, - "datasource": "default", "hide": 0, - "includeAll": false, - "label": "Cluster", - "multi": false, - "name": "cluster", - "options": [], - "query": "label_values(go_info{app=~\"$app\"}, cluster)", - "refresh": 1, - "regex": "", - "sort": 0, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false + "includeAll": true, + "label": "objectNodeOp", + "multi": true, + "name": "obOp", + "options": [ + { + "text": "All", + "value": "$__all" + }, + { + "text": "GetObject", + "value": "GetObject" + }, + { + "text": "PutObject", + "value": "PutObject" + }, + { + "text": "CopyObject", + "value": "CopyObject" + }, + { + "selected": true, + "text": "ListObjects", + "value": "ListObjects" + }, + { + "text": "DeleteObject", + "value": "DeleteObject" + }, + { + "text": "DeleteObjects", + "value": "DeleteObjects" + }, + { + "text": "HeadObject", + "value": "HeadObject" + }, + { + "text": "CreateBucket", + "value": "CreateBucket" + }, + { + "text": "DeleteBucket", + "value": "DeleteBucket" + }, + { + "text": "HeadBucket", + "value": "HeadBucket" + }, + { + "text": "ListBuckets", + "value": "ListBuckets" + }, + { + "text": "GetBucketPolicy", + "value": "GetBucketPolicy" + }, + { + "text": "PutBucketPolicy", + "value": "PutBucketPolicy" + }, + { + "text": "DeleteBucketPolicy", + "value": "DeleteBucketPolicy" + }, + { + "text": "GetBucketAcl", + "value": "GetBucketAcl" + }, + { + "text": "PutBucketAcl", + "value": "PutBucketAcl" + }, + { + "text": "GetObjectAcl", + "value": "GetObjectAcl" + }, + { + "text": "PutObjectAcl", + "value": "PutObjectAcl" + }, + { + "text": "CreateMultipartUpload", + "value": "CreateMultipartUpload" + }, + { + "text": "ListMultipartUploads", + "value": "ListMultipartUploads" + }, + { + "text": "UploadPart", + "value": "UploadPart" + }, + { + "text": "ListParts", + "value": "ListParts" + }, + { + "text": "CompleteMultipartUpload", + "value": "CompleteMultipartUpload" + }, + { + "text": "AbortMultipartUpload", + "value": "AbortMultipartUpload" + }, + { + "text": "GetBucketLocation", + "value": "GetBucketLocation" + }, + { + "text": "GetObjectXAttr", + "value": "GetObjectXAttr" + }, + { + "text": "PutObjectXAttr", + "value": "PutObjectXAttr" + }, + { + "text": "ListObjectXAttrs", + "value": "ListObjectXAttrs" + }, + { + "text": "DeleteObjectXAttr", + "value": "DeleteObjectXAttr" + }, + { + "text": "GetObjectTagging", + "value": "GetObjectTagging" + }, + { + "text": "PutObjectTagging", + "value": "PutObjectTagging" + }, + { + "text": "DeleteObjectTagging", + "value": "DeleteObjectTagging" + }, + { + "text": "GetBucketTagging", + "value": "GetBucketTagging" + }, + { + "text": "PutBucketTagging", + "value": "PutBucketTagging" + }, + { + "text": "DeleteBucketTagging", + "value": "DeleteBucketTagging" + }, + { + "text": "Read", + "value": "Read" + }, + { + "text": "Write", + "value": "Write" + } + ], + "query": "GetObject, PutObject, CopyObject, ListObjects, DeleteObject, DeleteObjects, HeadObject, CreateBucket, DeleteBucket, HeadBucket, ListBuckets, GetBucketPolicy, PutBucketPolicy, DeleteBucketPolicy, GetBucketAcl, PutBucketAcl, GetObjectAcl, PutObjectAcl, CreateMultipartUpload, ListMultipartUploads, UploadPart, ListParts, CompleteMultipartUpload, AbortMultipartUpload, GetBucketLocation, GetObjectXAttr, PutObjectXAttr, ListObjectXAttrs, DeleteObjectXAttr, GetObjectTagging, PutObjectTagging, DeleteObjectTagging, GetBucketTagging, PutBucketTagging, DeleteBucketTagging, Read, Write,", + "skipUrlSync": false, + "type": "custom" }, { "allValue": null, "current": { - "text": "fuseclient", - "value": "fuseclient" + "text": "ltptest", + "value": "ltptest" }, - "datasource": "default", + "datasource": "Prometheus", + "definition": "label_values(cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\"}, volName)", "hide": 0, "includeAll": false, - "label": "Role", + "label": "Vol", "multi": false, - "name": "role", + "name": "vol", "options": [], - "query": "label_values(go_info{app=~\"$app\", cluster=~\"$cluster\"}, role)", + "query": "label_values(cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\"}, volName)", "refresh": 1, "regex": "", + "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], @@ -12040,19 +5008,21 @@ { "allValue": null, "current": { - "text": "10.170.6.247:9500", - "value": "10.170.6.247:9500" + "text": "192.168.0.11:17010", + "value": "192.168.0.11:17010" }, - "datasource": "default", + "datasource": "Prometheus", + "definition": "label_values(up{app=\"$app\", role=\"$role\", cluster=\"$cluster\"}, instance)", "hide": 0, "includeAll": false, "label": "Instance", "multi": false, "name": "instance", "options": [], - "query": "label_values(go_info{app=~\"$app\", role=~\"$role\", cluster=~\"$cluster\"}, instance)", + "query": "label_values(up{app=\"$app\", role=\"$role\", cluster=\"$cluster\"}, instance)", "refresh": 1, "regex": "", + "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], @@ -12063,19 +5033,21 @@ { "allValue": null, "current": { - "text": "10.170.6.247", - "value": "10.170.6.247" + "text": "192.168.0.11", + "value": "192.168.0.11" }, - "datasource": "default", + "datasource": "Prometheus", + "definition": "label_values(go_info{instance=\"$instance\", cluster=\"$cluster\"}, instance)", "hide": 2, "includeAll": false, "label": "Host", "multi": false, "name": "hostip", "options": [], - "query": "label_values(go_info{instance=~\"$instance\", cluster=~\"$cluster\"}, instance)", + "query": "label_values(go_info{instance=\"$instance\", cluster=\"$cluster\"}, instance)", "refresh": 1, "regex": "/([^:]+):.*/", + "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], @@ -12086,20 +5058,21 @@ { "allValue": null, "current": { - "tags": [], - "text": "clickhourse", - "value": "clickhourse" + "text": "192.168.0.11:17010", + "value": "192.168.0.11:17010" }, - "datasource": "default", - "hide": 0, + "datasource": "Prometheus", + "definition": "label_values(up{app=\"$app\", role=\"master\", cluster=\"$cluster\"}, instance)", + "hide": 2, "includeAll": false, - "label": "Vol", + "label": "MasterInstance", "multi": false, - "name": "vol", + "name": "master_instance", "options": [], - "query": "label_values(cfs_master_vol_total_GB{app=\"$app\",cluster=\"$cluster\"}, volName)", + "query": "label_values(up{app=\"$app\", role=\"master\", cluster=\"$cluster\"}, instance)", "refresh": 1, "regex": "", + "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], @@ -12110,7 +5083,7 @@ ] }, "time": { - "from": "now-1h", + "from": "now-15m", "to": "now" }, "timepicker": { @@ -12139,7 +5112,7 @@ ] }, "timezone": "", - "title": "chubaofs", - "uid": "J8XJyOmZk", - "version": 484 -} + "title": "ChubaoFS", + "uid": "J8XJyOmZk1", + "version": 1 +} \ No newline at end of file diff --git a/chubaofs/values.yaml b/chubaofs/values.yaml index 07209c7..5a83468 100644 --- a/chubaofs/values.yaml +++ b/chubaofs/values.yaml @@ -12,9 +12,9 @@ component: ingress: true image: - server: chubaofs/cfs-server:2.0.5 - client: chubaofs/cfs-client:2.0.5 - csi_driver: chubaofs/cfs-csi-driver:2.1.2 + server: chubaofs/cfs-server:2.0.6 + client: chubaofs/cfs-client:2.0.6 + csi_driver: chubaofs/cfs-csi-driver:2.1.3 csi_provisioner: quay.io/k8scsi/csi-provisioner:v0.4.2 driver_registrar: quay.io/k8scsi/driver-registrar:v0.4.2 csi_attacher: quay.io/k8scsi/csi-attacher:v0.4.2 From 29ab44b3f2a90fc72a4290d9b46d166fc7f9e9a8 Mon Sep 17 00:00:00 2001 From: chengyu-l Date: Sun, 12 Jul 2020 13:31:22 +0800 Subject: [PATCH 2/4] add console Signed-off-by: chengyu-l --- chubaofs/templates/bin/_config_console.sh.tpl | 32 +++++++ chubaofs/templates/bin/_start_console.sh.tpl | 6 ++ chubaofs/templates/configmap-bin.yaml | 7 +- chubaofs/templates/deployment-console.yaml | 95 +++++++++++++++++++ chubaofs/templates/ingress.yaml | 8 +- chubaofs/templates/service-console.yaml | 17 ++++ chubaofs/values.yaml | 15 +++ examples/deployment-share-volume.yaml | 33 +++++++ examples/deployment.yaml | 33 +++++++ examples/pvc-share-volume.yaml | 14 +++ examples/pvc.yaml | 13 +++ 11 files changed, 271 insertions(+), 2 deletions(-) create mode 100644 chubaofs/templates/bin/_config_console.sh.tpl create mode 100644 chubaofs/templates/bin/_start_console.sh.tpl create mode 100644 chubaofs/templates/deployment-console.yaml create mode 100644 chubaofs/templates/service-console.yaml create mode 100644 examples/deployment-share-volume.yaml create mode 100644 examples/deployment.yaml create mode 100644 examples/pvc-share-volume.yaml create mode 100644 examples/pvc.yaml diff --git a/chubaofs/templates/bin/_config_console.sh.tpl b/chubaofs/templates/bin/_config_console.sh.tpl new file mode 100644 index 0000000..d7436a3 --- /dev/null +++ b/chubaofs/templates/bin/_config_console.sh.tpl @@ -0,0 +1,32 @@ +#!/bin/bash + +echo "prepare to create configuration file" + +jq -n \ + --arg port "$CBFS_OBJECTNODE_PORT" \ + --arg logLevel "$CBFS_OBJECTNODE_LOG_LEVEL" \ + --arg masterAddr "$CBFS_MASTER_ADDR" \ + --arg objectNodeDomain "$OBJECT_NODE_DOMAIN" \ + --arg masterAddrs "$CBFS_MASTER_ADDRS" \ + --arg grafanaUrl "http://$CBFS_GRAFANA_URL" \ + --arg clusterName "$CBFS_CLUSTER_NAME" \ + --arg prometheusAddr "$CBFS_PROMETHEUS_ADDR" \ + '{ + "role": "console", + "logDir": "/cfs/log/", + "logLevel": $logLevel, + "listen": $port, + "master_instance": $masterAddr, + "objectNodeDomain": $objectNodeDomain, + "masterAddr": $masterAddrs, + "monitor_addr": $prometheusAddr, + "dashboard_addr": $grafanaUrl, + "monitor_app": "cfs", + "monitor_cluster": $clusterName +}' | jq '.masterAddr |= split(",")' > /cfs/conf/console.json + +cat /cfs/conf/console.json +echo "configuration finished" + + + diff --git a/chubaofs/templates/bin/_start_console.sh.tpl b/chubaofs/templates/bin/_start_console.sh.tpl new file mode 100644 index 0000000..955e3cf --- /dev/null +++ b/chubaofs/templates/bin/_start_console.sh.tpl @@ -0,0 +1,6 @@ +#!/bin/bash +# set -ex + +cat /cfs/conf/console.json +echo "start console" +/cfs/bin/cfs-server -f -c /cfs/conf/console.json diff --git a/chubaofs/templates/configmap-bin.yaml b/chubaofs/templates/configmap-bin.yaml index 60549bb..78b994f 100644 --- a/chubaofs/templates/configmap-bin.yaml +++ b/chubaofs/templates/configmap-bin.yaml @@ -40,6 +40,11 @@ data: start-objectnode.sh: |+ {{ tuple "bin/_start_objectnode.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} {{- end }} - +{{- if .Values.component.console }} + config-console.sh: |+ +{{ tuple "bin/_config_console.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} + start-console.sh: |+ +{{ tuple "bin/_start_console.sh.tpl" . | include "helm-toolkit.utils.template" | indent 4 }} +{{- end }} {{- end }} diff --git a/chubaofs/templates/deployment-console.yaml b/chubaofs/templates/deployment-console.yaml new file mode 100644 index 0000000..6499e1b --- /dev/null +++ b/chubaofs/templates/deployment-console.yaml @@ -0,0 +1,95 @@ +{{- if .Values.component.console }} +{{- $envAll := . }} +{{- $namespace := .Values.namespace }} +--- +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: console + labels: +{{ tuple $envAll $namespace "console" | include "helm-toolkit.metadata_labels" | indent 4 }} + namespace: {{ $namespace }} +spec: + replicas: {{ .Values.console.replicas }} + selector: + matchLabels: +{{ tuple $envAll $namespace "console" | include "helm-toolkit.metadata_labels" | indent 6 }} + template: + metadata: + labels: +{{ tuple $envAll $namespace "console" | include "helm-toolkit.metadata_labels" | indent 8 }} + spec: + initContainers: + - name: check-master-service + image: {{ $.Values.image.server }} + imagePullPolicy: {{ $.Values.image.pull_policy }} + command: [ "/bin/bash", "/cfs/bin/check-master-service.sh" ] + env: + - name: CBFS_MASTER_SERVICE_PORT + value: {{ include "chubaofs.master-service.with.port" . | quote }} + volumeMounts: + - name: chubaofs-bin + mountPath: /cfs/bin/check-master-service.sh + subPath: check-master-service.sh + readOnly: true + - name: init-config + image: {{ $.Values.image.server }} + imagePullPolicy: {{ $.Values.image.pull_policy }} + command: [ "/bin/bash", "/cfs/bin/config-console.sh" ] + env: + - name: TZ + value: Asia/Shanghai + - name: CBFS_OBJECTNODE_PORT + value: {{ .Values.console.port | quote }} + - name: CBFS_OBJECTNODE_LOG_LEVEL + value: {{ .Values.console.log_level | quote }} + - name: CBFS_MASTER_ADDR + value: {{ include "chubaofs.master-service.with.port" . | quote }} + - name: CBFS_MASTER_ADDRS + value: {{ include "chubaofs.master.address.array" . | quote }} + - name: CBFS_CLUSTER_NAME + value: {{ .Values.master.cluster }} + - name: CBFS_PROMETHEUS_ADDR + value: {{ tuple $envAll | include "chubaofs.monitor.prometheus.url" | quote }} + - name: OBJECT_NODE_DOMAIN + value: {{ .Values.console.host }} + - name: CBFS_GRAFANA_URL + value: {{ .Values.grafana.host }} + volumeMounts: + - name: chubaofs-bin + mountPath: /cfs/bin/config-console.sh + subPath: config-console.sh + readOnly: true + - name: chubaofs-conf + mountPath: /cfs/conf + containers: + - name: console-pod + image: {{ $.Values.image.server }} + imagePullPolicy: {{ .Values.image.pullPolicy }} + command: [ "/bin/bash", "/cfs/bin/start.sh" ] + env: + - name: TZ + value: Asia/Shanghai + ports: +{{ tuple $envAll "port" .Values.console.port | include "helm-toolkit.utils.container_port" | indent 12 }} + volumeMounts: + - name: chubaofs-bin + mountPath: /cfs/bin/start.sh + subPath: start-console.sh + readOnly: true + - name: chubaofs-conf + mountPath: /cfs/conf +{{ tuple $envAll $envAll.Values.console.resources | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} + volumes: + - name: chubaofs-bin + configMap: + name: chubaofs-bin + defaultMode: 0555 + - name: chubaofs-conf + emptyDir: {} +{{ end }} + + + + + diff --git a/chubaofs/templates/ingress.yaml b/chubaofs/templates/ingress.yaml index 3708ed8..89209e5 100644 --- a/chubaofs/templates/ingress.yaml +++ b/chubaofs/templates/ingress.yaml @@ -17,10 +17,16 @@ spec: - backend: serviceName: grafana-service servicePort: {{ .Values.grafana.port }} + - host: {{ .Values.console.host }} + http: + paths: + - backend: + serviceName: console-service + servicePort: {{ .Values.console.port }} - host: {{ .Values.objectnode.host }} http: paths: - backend: serviceName: objectnode-service servicePort: {{ .Values.objectnode.port }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/chubaofs/templates/service-console.yaml b/chubaofs/templates/service-console.yaml new file mode 100644 index 0000000..a0459bf --- /dev/null +++ b/chubaofs/templates/service-console.yaml @@ -0,0 +1,17 @@ +{{- if .Values.component.monitor }} +{{- $envAll := . }} +{{- $namespace := .Values.namespace }} +--- +apiVersion: v1 +kind: Service +metadata: + name: console-service + namespace: {{ $namespace }} +spec: + ports: + - port: {{ .Values.console.port }} + protocol: TCP + targetPort: {{ .Values.console.port }} + selector: +{{ tuple $envAll $namespace "console" | include "helm-toolkit.metadata_labels" | indent 4 }} +{{ end }} \ No newline at end of file diff --git a/chubaofs/values.yaml b/chubaofs/values.yaml index 5a83468..20a642c 100644 --- a/chubaofs/values.yaml +++ b/chubaofs/values.yaml @@ -9,6 +9,7 @@ component: client: true provisioner: true monitor: true + console: true ingress: true image: @@ -132,6 +133,20 @@ provisioner: log_level: info kubelet_path: /var/lib/kubelet +console: + replicas: 1 + log_level: info + port: 1602 + host: console.chubaofs.com + resources: + enabled: false + requests: + memory: "512Mi" + cpu: "500m" + limits: + memory: "1024Mi" + cpu: "1000m" + consul: port: 8500 replicas: 1 diff --git a/examples/deployment-share-volume.yaml b/examples/deployment-share-volume.yaml new file mode 100644 index 0000000..3615606 --- /dev/null +++ b/examples/deployment-share-volume.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cfs-csi-demo-share-volume + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + app: cfs-csi-demo-pod + template: + metadata: + labels: + app: cfs-csi-demo-pod + spec: + nodeSelector: + chubaofs-csi-node: enabled +# imagePullSecrets: +# - name: registry-key + containers: + - name: cfs-csi-demo + image: nginx:1.17.9 + imagePullPolicy: "IfNotPresent" + ports: + - containerPort: 80 + name: "http-server" + volumeMounts: + - mountPath: "/usr/share/nginx/html" + name: mypvc + volumes: + - name: mypvc + persistentVolumeClaim: + claimName: cfs-pvc-share-volume diff --git a/examples/deployment.yaml b/examples/deployment.yaml new file mode 100644 index 0000000..f8fe4f7 --- /dev/null +++ b/examples/deployment.yaml @@ -0,0 +1,33 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: cfs-csi-demo + namespace: default +spec: + replicas: 1 + selector: + matchLabels: + app: cfs-csi-demo-pod + template: + metadata: + labels: + app: cfs-csi-demo-pod + spec: + nodeSelector: + chubaofs-csi-node: enabled +# imagePullSecrets: +# - name: registry-key + containers: + - name: cfs-csi-demo + image: nginx:1.17.9 + imagePullPolicy: "IfNotPresent" + ports: + - containerPort: 80 + name: "http-server" + volumeMounts: + - mountPath: "/usr/share/nginx/html" + name: mypvc + volumes: + - name: mypvc + persistentVolumeClaim: + claimName: cfs-pvc diff --git a/examples/pvc-share-volume.yaml b/examples/pvc-share-volume.yaml new file mode 100644 index 0000000..f24cb6c --- /dev/null +++ b/examples/pvc-share-volume.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: cfs-pvc-share-volume + namespace: default +spec: + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 5Gi + storageClassName: cfs-sc-share-volume +# volumeName: testVol diff --git a/examples/pvc.yaml b/examples/pvc.yaml new file mode 100644 index 0000000..6b1f0fd --- /dev/null +++ b/examples/pvc.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: cfs-pvc + namespace: default +spec: + accessModes: + - ReadWriteMany + volumeMode: Filesystem + resources: + requests: + storage: 5Gi + storageClassName: cfs-sc From fc6875770e03469ecb19b2bc12a1e471c2487d06 Mon Sep 17 00:00:00 2001 From: chengyu-l Date: Fri, 17 Jul 2020 17:59:05 +0800 Subject: [PATCH 3/4] 1. remove helm version check 2. cancel resources limit for metanode in default Signed-off-by: chengyu-l --- chubaofs/Chart.yaml | 2 +- chubaofs/templates/statefulset-master.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chubaofs/Chart.yaml b/chubaofs/Chart.yaml index 5602592..ea36ed1 100755 --- a/chubaofs/Chart.yaml +++ b/chubaofs/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 name: chubaofs description: A Helm chart for ChubaoFS home: https://chubao.io -kubeVersion: ">=1.12.0" +# kubeVersion: ">=1.12.0" version: 2.0.0 appVersion: 2.0.0 keywords: diff --git a/chubaofs/templates/statefulset-master.yaml b/chubaofs/templates/statefulset-master.yaml index bf89593..508ad7a 100755 --- a/chubaofs/templates/statefulset-master.yaml +++ b/chubaofs/templates/statefulset-master.yaml @@ -97,7 +97,7 @@ spec: mountPath: /cfs/data readOnly: false {{- end }} -{{ tuple $envAll $envAll.Values.metanode.resources | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} +{{ tuple $envAll $envAll.Values.master.resources | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }} volumes: - name: chubaofs-bin configMap: From d998ae89a9c3bf121c0801bd684ee4043c4bf0e2 Mon Sep 17 00:00:00 2001 From: chengyu-l Date: Fri, 17 Jul 2020 19:00:13 +0800 Subject: [PATCH 4/4] update console log path Signed-off-by: chengyu-l --- chubaofs/templates/bin/_config_console.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chubaofs/templates/bin/_config_console.sh.tpl b/chubaofs/templates/bin/_config_console.sh.tpl index d7436a3..7018cf3 100644 --- a/chubaofs/templates/bin/_config_console.sh.tpl +++ b/chubaofs/templates/bin/_config_console.sh.tpl @@ -13,7 +13,7 @@ jq -n \ --arg prometheusAddr "$CBFS_PROMETHEUS_ADDR" \ '{ "role": "console", - "logDir": "/cfs/log/", + "logDir": "/cfs/logs/", "logLevel": $logLevel, "listen": $port, "master_instance": $masterAddr,