{ "__inputs": [ { "description": "", "label": "Prometheus", "name": "DS_PROMETHEUS", "pluginId": "prometheus", "pluginName": "Prometheus", "type": "datasource" } ], "__requires": [ { "id": "barchart", "name": "Bar chart", "type": "panel", "version": "" }, { "id": "bargauge", "name": "Bar gauge", "type": "panel", "version": "" }, { "id": "grafana", "name": "Grafana", "type": "grafana", "version": "8.1.8" }, { "id": "prometheus", "name": "Prometheus", "type": "datasource", "version": "1.0.0" }, { "id": "stat", "name": "Stat", "type": "panel", "version": "" }, { "id": "table", "name": "Table", "type": "panel", "version": "" }, { "id": "text", "name": "Text", "type": "panel", "version": "" }, { "id": "timeseries", "name": "Time series", "type": "panel", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "", "editable": true, "gnetId": null, "graphTooltip": 1, "id": null, "iteration": 1726748714554, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "cdot" ], "targetBlank": false, "title": "Related Dashboards", "tooltip": "", "type": "dashboards", "url": "" } ], "panels": [ { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 101, "panels": [], "title": "Important Information about FSA dashboard", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 4, "w": 24, "x": 0, "y": 1 }, "id": 99, "options": { "content": "This dashboard requires ONTAP 9.8+ and the APIs are only available via REST. Two actions are required to use this dashboard:
1. On Harvest, enable the REST collector in your `harvest.yml` config
2. On your ONTAP cluster, enable File System Analytics (FSA) for one or more volumes. See https://docs.netapp.com/us-en/ontap/task_nas_file_system_analytics_enable.html for more details.

Note: Prior to version 9.13.1, ONTAP requires you to enable FSA individually for each volume. Harvest only collects FSA metrics from FSA-enabled volumes on the cluster. By default, Harvest keeps track of the 20 largest volumes for FSA. If you wish to customize this, please see: https://github.com/NetApp/harvest/blob/main/conf/rest/9.12.0/volume_analytics.yaml.", "mode": "markdown" }, "pluginVersion": "8.1.8", "type": "text" }, { "collapsed": false, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 }, "id": 20, "panels": [], "title": "Usage", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "description": "The virtual space used (includes volume reserves) before storage efficiency, in bytes.", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 0, "y": 6 }, "id": 95, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_size_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"})", "hide": false, "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Used", "transformations": [ { "id": "merge", "options": {} }, { "id": "organize", "options": {} } ], "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "The available space, in bytes.", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 8, "y": 6 }, "id": 96, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_size_available{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"})", "instant": false, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Available", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "Total size of AFS, excluding snap-reserve, in bytes.", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 16, "y": 6 }, "id": 97, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_size_total{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"})", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Size", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "Volume space used percent.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 3, "w": 24, "x": 0, "y": 10 }, "id": 103, "options": { "displayMode": "basic", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showUnfilled": true, "text": {} }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "(sum(volume_size_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"}) * 100) / sum(volume_size_total{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"})", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Used Percentage", "type": "bargauge" }, { "datasource": "${DS_PROMETHEUS}", "description": "Total directory count including the root and children directories.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 13 }, "id": 22, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_analytics_dir_subdir_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",volume=~\"$Volume\",dir_name=\".\"})", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Directories", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "The actual number of bytes used on disk by this file. If byte_offset and length parameters are specified, this will return the bytes used by the file within the given range.", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 10, "w": 20, "x": 4, "y": 13 }, "id": 86, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "targets": [ { "exemplar": false, "expr": "volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"} \n and \ntopk($TopResources, avg_over_time(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",dir_name!=\".\"}[3h] @ end()))", "interval": "", "legendFormat": "{{svm}}-{{volume}}-{{dir_name}}", "refId": "A" } ], "title": "Top $TopResources Volumes by Directory Growth", "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "Total number of files in root and child directories.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 5, "w": 4, "x": 0, "y": 18 }, "id": 23, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "text": {}, "textMode": "auto" }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_analytics_dir_file_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",volume=~\"$Volume\",dir_name=\".\"})", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Files", "type": "stat" }, { "datasource": "${DS_PROMETHEUS}", "description": "Shows Top 100 directories per volume.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "filterable": true }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Used" }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byName", "options": "Sub Directories" }, "properties": [ { "id": "unit", "value": "short" } ] }, { "matcher": { "id": "byName", "options": "Files" }, "properties": [ { "id": "unit", "value": "short" } ] }, { "matcher": { "id": "byName", "options": "cluster" }, "properties": [ { "id": "displayName", "value": "Cluster" }, { "id": "links", "value": [ { "targetBlank": true, "title": "", "url": "/d/cdot-cluster/ontap-cluster?orgId=1&${Datacenter:queryparam}&${__url_time_range}&var-Cluster=${__value.raw}" } ] } ] }, { "matcher": { "id": "byName", "options": "datacenter" }, "properties": [ { "id": "displayName", "value": "Datacenter" }, { "id": "links", "value": [ { "targetBlank": true, "title": "", "url": "/d/cdot-datacenter/ontap-datacenter?orgId=1&${__url_time_range}&var-Datacenter=${__value.raw}" } ] } ] }, { "matcher": { "id": "byName", "options": "svm" }, "properties": [ { "id": "displayName", "value": "Storage VMs" }, { "id": "links", "value": [ { "targetBlank": true, "title": "", "url": "/d/cdot-svm/ontap-svm?orgId=1&${Datacenter:queryparam}&${Cluster:queryparam}&${__url_time_range}&var-SVM=${__value.raw}" } ] } ] }, { "matcher": { "id": "byName", "options": "volume" }, "properties": [ { "id": "displayName", "value": "Volume" }, { "id": "links", "value": [ { "targetBlank": true, "title": "", "url": "/d/cdot-volume/ontap-volume?orgId=1&${Datacenter:queryparam}&${Cluster:queryparam}&${SVM:queryparam}&${__url_time_range}&var-Volume=${__value.raw}" } ] } ] } ] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 23 }, "id": 25, "options": { "showHeader": true }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"} \n and \ntopk($TopResources, avg_over_time(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",dir_name!=\".\"}[3h] @ end()))", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "exemplar": false, "expr": "volume_analytics_dir_file_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"} \n and \ntopk($TopResources, avg_over_time(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",dir_name!=\".\"}[3h] @ end()))", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "B" }, { "exemplar": false, "expr": "volume_analytics_dir_subdir_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\"} \n and \ntopk($TopResources, avg_over_time(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",dir_name!=\".\"}[3h] @ end()))", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "C" } ], "title": "Top $TopResources Volumes by Directory Growth", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "index" } }, { "id": "renameByRegex", "options": { "regex": "(.*) 1$", "renamePattern": "$1" } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "cluster", "datacenter", "dir_name", "svm", "volume", "Value #A", "Value #B", "Value #C" ] } } }, { "id": "organize", "options": { "excludeByName": { "cluster 2": true, "cluster 3": true, "datacenter 2": true, "datacenter 3": true, "dir_name 2": true, "dir_name 3": true, "svm 2": true, "svm 3": true, "volume 2": true, "volume 3": true }, "indexByName": { "Value #A": 5, "Value #B": 7, "Value #C": 6, "cluster": 1, "datacenter": 0, "dir_name": 4, "svm": 2, "volume": 3 }, "renameByName": { "Value #A": "Used", "Value #B": "Files", "Value #C": "Sub Directories", "dir_name": "Directory Name" } } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "Used" } ] } } ], "type": "table" }, { "collapsed": true, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 33 }, "id": 90, "panels": [ { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisLabel": "Data Accessed", "axisPlacement": "auto", "axisSoftMin": 0, "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1 }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Last *" }, "properties": [ { "id": "unit", "value": "bytes" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 34 }, "id": 88, "options": { "barWidth": 0.97, "groupWidth": 0.7, "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom" }, "orientation": "auto", "showValue": "auto", "stacking": "normal", "text": {}, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_analytics_bytes_used_by_accessed_time{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",activity=~\"$Activity\",dir_name=\".\"}) by (time,order)", "instant": true, "interval": "", "legendFormat": "{{ volume }}", "refId": "A" } ], "title": "Volume Access ($Activity) History", "transformations": [ { "id": "reduce", "options": { "includeTimeField": false, "labelsToFields": true, "mode": "seriesToRows", "reducers": [ "lastNotNull" ] } }, { "id": "calculateField", "options": { "alias": "orderNum", "binary": { "left": "order", "operator": "*", "reducer": "sum", "right": "1" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "orderNum" } ] } }, { "id": "organize", "options": { "excludeByName": { "Field": true, "Last": false, "Last *": false, "access_time": false, "order": true, "order * 1": false, "orderNum": true, "volume": false }, "indexByName": {}, "renameByName": { "Last *": "Access Size", "access_time": "Access" } } } ], "type": "barchart" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisLabel": "Data Accessed", "axisPlacement": "auto", "axisSoftMin": 0, "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1 }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Last *" }, "properties": [ { "id": "unit", "value": "percent" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 34 }, "id": 92, "options": { "barWidth": 0.97, "groupWidth": 0.7, "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom" }, "orientation": "auto", "showValue": "auto", "stacking": "normal", "text": {}, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(\n volume_analytics_bytes_used_percent_by_accessed_time{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\", activity=~\"$Activity\", dir_name=\".\"}\n * on (cluster, datacenter, svm, volume) group_left()\n volume_size{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n) by (time, order)\n/\non (cluster, datacenter, svm, volume)\ngroup_left()\nsum(\n volume_size{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n)", "instant": true, "interval": "", "legendFormat": "{{ volume }} - {{ time }}", "refId": "A" } ], "title": "Volume Access ($Activity) History By Percent", "transformations": [ { "id": "reduce", "options": { "includeTimeField": false, "labelsToFields": true, "mode": "seriesToRows", "reducers": [ "lastNotNull" ] } }, { "id": "calculateField", "options": { "alias": "orderNum", "binary": { "left": "order", "operator": "*", "reducer": "sum", "right": "1" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "orderNum" } ] } }, { "id": "organize", "options": { "excludeByName": { "Field": true, "Last": false, "Last *": false, "access_time": false, "order": true, "order * 1": false, "orderNum": true, "time": false, "volume": false }, "indexByName": {}, "renameByName": { "Last *": "Access Size Percent", "access_time": "Access" } } } ], "type": "barchart" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisLabel": "Data Modified", "axisPlacement": "auto", "axisSoftMin": 0, "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1 }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Last *" }, "properties": [ { "id": "unit", "value": "bytes" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 42 }, "id": 91, "options": { "barWidth": 0.97, "groupWidth": 0.7, "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom" }, "orientation": "auto", "showValue": "auto", "stacking": "normal", "text": {}, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(volume_analytics_bytes_used_by_modified_time{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",volume=~\"$Volume\",activity=~\"$Activity\",dir_name=\".\"}) by (time,order)", "instant": true, "interval": "", "legendFormat": "{{ volume }}", "refId": "A" } ], "title": "Volume Modify ($Activity) History", "transformations": [ { "id": "reduce", "options": { "includeTimeField": false, "labelsToFields": true, "mode": "seriesToRows", "reducers": [ "lastNotNull" ] } }, { "id": "calculateField", "options": { "alias": "orderNum", "binary": { "left": "order", "operator": "*", "reducer": "sum", "right": "1" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "orderNum" } ] } }, { "id": "organize", "options": { "excludeByName": { "Field": true, "Last": false, "Last *": false, "access_time": false, "order": true, "order * 1": false, "orderNum": true, "volume": false }, "indexByName": {}, "renameByName": { "Last *": "Modified Size", "access_time": "Access" } } } ], "type": "barchart" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "axisLabel": "Data Modified", "axisPlacement": "auto", "axisSoftMin": 0, "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineWidth": 1 }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "Last *" }, "properties": [ { "id": "unit", "value": "percent" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 42 }, "id": 93, "options": { "barWidth": 0.97, "groupWidth": 0.7, "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom" }, "orientation": "auto", "showValue": "auto", "stacking": "normal", "text": {}, "tooltip": { "mode": "single" } }, "pluginVersion": "8.1.8", "targets": [ { "exemplar": false, "expr": "sum(\n volume_analytics_bytes_used_percent_by_modified_time{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\", activity=~\"$Activity\", dir_name=\".\"}\n * on (cluster, datacenter, svm, volume) group_left()\n volume_size{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n) by (time, order)\n/\non (cluster, datacenter, svm, volume)\ngroup_left()\nsum(\n volume_size{datacenter=~\"$Datacenter\", cluster=~\"$Cluster\", svm=~\"$SVM\", volume=~\"$Volume\"}\n)", "instant": true, "interval": "", "legendFormat": "{{ volume }}", "refId": "A" } ], "title": "Volume Modify ($Activity) History By Percent", "transformations": [ { "id": "reduce", "options": { "includeTimeField": false, "labelsToFields": true, "mode": "seriesToRows", "reducers": [ "lastNotNull" ] } }, { "id": "calculateField", "options": { "alias": "orderNum", "binary": { "left": "order", "operator": "*", "reducer": "sum", "right": "1" }, "mode": "binary", "reduce": { "reducer": "sum" }, "replaceFields": false } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": true, "field": "orderNum" } ] } }, { "id": "organize", "options": { "excludeByName": { "Field": true, "Last": false, "Last *": false, "access_time": false, "order": true, "order * 1": false, "orderNum": true, "volume": false }, "indexByName": {}, "renameByName": { "Last *": "Modified Size Percent", "access_time": "Access" } } } ], "type": "barchart" } ], "title": "Volume Activity", "type": "row" } ], "refresh": "", "schemaVersion": 30, "style": "dark", "tags": [ "harvest", "ontap", "cdot" ], "templating": { "list": [ { "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" }, "description": null, "error": null, "hide": 2, "includeAll": false, "label": "Data Source", "multi": false, "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 2, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(volume_labels{system_type!=\"7mode\"}, datacenter)", "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": true, "name": "Datacenter", "options": [], "query": { "query": "label_values(volume_labels{system_type!=\"7mode\"}, datacenter)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(volume_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, cluster)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Cluster", "options": [], "query": { "query": "label_values(volume_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, cluster)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}, svm)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "SVM", "options": [], "query": { "query": "label_values(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}, svm)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": ".*", "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"}, volume)", "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Volume", "options": [], "query": { "query": "label_values(volume_analytics_dir_bytes_used{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"}, volume)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": [ "Monthly" ], "value": [ "Monthly" ] }, "description": null, "error": null, "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Activity", "options": [ { "selected": false, "text": "All", "value": "$__all" }, { "selected": false, "text": "Weekly", "value": "Weekly" }, { "selected": true, "text": "Monthly", "value": "Monthly" }, { "selected": false, "text": "Quarterly", "value": "Quarterly" }, { "selected": false, "text": "Yearly", "value": "Yearly" }, { "selected": false, "text": "Unknown", "value": "Unknown" } ], "query": "Weekly,Monthly,Quarterly,Yearly,Unknown", "queryValue": "", "skipUrlSync": false, "type": "custom" }, { "allValue": null, "current": { "selected": false, "text": "5", "value": "5" }, "description": null, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "TopResources", "options": [ { "selected": false, "text": "1", "value": "1" }, { "selected": false, "text": "2", "value": "2" }, { "selected": false, "text": "3", "value": "3" }, { "selected": false, "text": "4", "value": "4" }, { "selected": true, "text": "5", "value": "5" }, { "selected": false, "text": "6", "value": "6" }, { "selected": false, "text": "8", "value": "8" }, { "selected": false, "text": "10", "value": "10" }, { "selected": false, "text": "15", "value": "15" }, { "selected": false, "text": "20", "value": "20" } ], "query": "1,2,3,4,5,6,8,10,15,20", "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-3h", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "ONTAP: File System Analytics (FSA)", "uid": "cdot-fsa", "version": 6 }