{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.1.8" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "enable": false, "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, "fiscalYearStartMonth": 0, "gnetId": null, "graphTooltip": 1, "id": "", "iteration": 1679321054447, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": true, "tags": [ "cdot" ], "targetBlank": false, "title": "Related Dashboards", "tooltip": "", "type": "dashboards", "url": "" } ], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 125, "panels": [], "title": "Important Information", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 2, "w": 24, "x": 0, "y": 1 }, "id": 107, "options": { "content": "This dashboard requires ONTAP 9.7+. One action is required to use this dashboard:
1. On Harvest, enable the Rest collector for OntapS3 template in your `harvest.yml` config for configuration metrics", "mode": "markdown" }, "pluginVersion": "8.4.11", "type": "text" }, { "gridPos": { "h": 1, "w": 24, "x": 0, "y": 3 }, "id": 16, "title": "Bucket Drilldown", "type": "row" }, { "datasource": "${DS_PROMETHEUS}", "description": "You must enable the Rest collector in your harvest.yml config.", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "displayMode": "auto", "filterable": true }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", "options": "Free Size" }, "properties": [ { "id": "mappings", "value": [ { "options": { "from": -10000000000000000, "result": { "index": 0, "text": "0 B" }, "to": 0 }, "type": "range" } ] } ] }, { "matcher": { "id": "byName", "options": "Object Count" }, "properties": [ { "id": "unit", "value": "locale" } ] }, { "matcher": { "id": "byName", "options": "Used %" }, "properties": [ { "id": "custom.displayMode", "value": "basic" }, { "id": "decimals", "value": 0 }, { "id": "min", "value": 0 }, { "id": "max", "value": 100 }, { "id": "mappings", "value": [ { "options": { "from": 100, "result": { "index": 0, "text": "100%" }, "to": 999999 }, "type": "range" } ] }, { "id": "unit", "value": "percent" } ] }, { "matcher": { "id": "byName", "options": "Encrypted" }, "properties": [ { "id": "mappings", "value": [ { "type": "value", "options": { "false": { "text": "No", "index": 0 }, "true": { "text": "Yes", "index": 1 } } } ] } ] } ] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 4 }, "id": 5, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true }, "pluginVersion": "8.4.11", "targets": [ { "exemplar": false, "expr": "ontaps3_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"} * on (volume,svm,cluster,datacenter) group_left(aggr) volume_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "exemplar": false, "expr": "ontaps3_size{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "B" }, { "exemplar": false, "expr": "ontaps3_size-ontaps3_logical_used_size{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "C" }, { "exemplar": false, "expr": "ontaps3_logical_used_size{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "D" }, { "exemplar": false, "expr": "ontaps3_used_percent{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "E" }, { "exemplar": false, "expr": "ontaps3_object_count{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "F" } ], "title": "Bucket Overview", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "aggr", "bucket", "cluster", "svm", "Value #B", "Value #C", "Value #D", "volume", "encryption_enabled", "Value #E", "Value #F", "url", "qos_policy_group", "is_protected", "protected_in_cloud", "protected_in_ontap" ] } } }, { "id": "merge", "options": {} }, { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "instance": true, "job": true }, "indexByName": { "cluster": 0, "svm": 1, "volume": 2, "bucket": 3, "aggr": 4, "url": 9, "encryption_enabled": 10, "Value #B": 5, "Value #C": 6, "Value #D": 7, "Value #E": 8, "Value #F": 11, "qos_policy_group": 12 }, "renameByName": { "Value #A": "", "Value #B": "Size", "Value #C": "Free Size", "Value #D": "Used Size", "Value #E": "Used %", "Value #F": "Object Count", "aggr": "Local Tiers", "bucket": "Bucket", "cluster": "Cluster", "encryption_enabled": "Encrypted", "qos_policy_group": "QoS Policy Group", "svm": "SVM", "volume": "Volume", "url": "Url", "is_protected": "IsProtected", "protected_in_cloud": "IsProtectedInCloud", "protected_in_ontap": "IsProtectedInOntap" } } } ], "type": "table" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Used", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes", "decimals": 2 }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 12 }, "id": 127, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom", "sortBy": "Last *", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.1.8", "targets": [ { "datasource": { "type": "prometheus", "uid": "EO6UabnVz" }, "exemplar": false, "expr": "ontaps3_logical_used_size{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "hide": false, "interval": "", "legendFormat": "{{svm}} - {{bucket}}", "refId": "A" } ], "title": "Bucket Used Size", "transformations": [], "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisLabel": "Used Percent %", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": true, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "decimals": 0, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "percent" }, "overrides": [ { "matcher": { "id": "byName", "options": "Value" }, "properties": [ { "id": "mappings", "value": [ { "options": { "from": 100, "result": { "index": 0, "text": "100%" }, "to": 9999 }, "type": "range" } ] } ] } ] }, "gridPos": { "h": 11, "w": 12, "x": 12, "y": 12 }, "id": 128, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max" ], "displayMode": "table", "placement": "bottom", "sortBy": "Last *", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.1.8", "targets": [ { "datasource": { "type": "prometheus", "uid": "EO6UabnVz" }, "exemplar": false, "expr": "ontaps3_used_percent{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\"}", "hide": false, "interval": "", "legendFormat": "{{svm}} - {{bucket}}", "refId": "A" } ], "title": "Bucket Used Size Percent", "transformations": [], "type": "timeseries" }, { "datasource": "${DS_PROMETHEUS}", "description": "You must enable the Rest collector in your harvest.yml config", "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": "User" }, "properties": [ { "id": "mappings", "value": [ { "options": { "match": "empty", "result": { "index": 0, "text": "All users of this storage VM" } }, "type": "special" } ] } ] } ] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 23 }, "id": 6, "options": { "footer": { "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [] }, "pluginVersion": "8.4.11", "targets": [ { "exemplar": false, "expr": "ontaps3_policy_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\",svm=~\"$SVM\",bucket=~\"$Bucket\",permission_type!=\"\"}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Bucket Permission", "transformations": [ { "id": "filterFieldsByName", "options": { "include": { "names": [ "allowed_resource", "bucket", "cluster", "permission_type", "permission", "svm", "user" ] } } }, { "id": "organize", "options": { "excludeByName": {}, "indexByName": { "allowed_resource": 6, "bucket": 2, "cluster": 0, "permission_type": 4, "permission": 5, "svm": 1, "user": 3 }, "renameByName": { "allowed_resource": "Allowed Resource", "bucket": "Bucket", "cluster": "Cluster", "encryption_enabled": "", "permission_type": "Type", "permission": "Permission", "svm": "SVM", "user": "User" } } } ], "type": "table" } ], "refresh": "", "schemaVersion": 35, "style": "dark", "tags": [ "harvest", "ontap", "cdot" ], "templating": { "list": [ { "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" }, "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(ontaps3_labels{system_type!=\"7mode\"}, datacenter)", "hide": 0, "includeAll": false, "multi": true, "name": "Datacenter", "options": [], "query": { "query": "label_values(ontaps3_labels{system_type!=\"7mode\"}, datacenter)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(ontaps3_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, cluster)", "hide": 0, "includeAll": true, "multi": true, "multiFormat": "glob", "name": "Cluster", "options": [], "query": { "query": "label_values(ontaps3_labels{system_type!=\"7mode\",datacenter=~\"$Datacenter\"}, cluster)", "refId": "StandardVariableQuery" }, "refresh": 2, "refresh_on_load": false, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" }, { "allValue": null, "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(ontaps3_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}, svm)", "hide": 0, "includeAll": true, "multi": true, "multiFormat": "glob", "name": "SVM", "options": [], "query": { "query": "label_values(ontaps3_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\"}, svm)", "refId": "StandardVariableQuery" }, "refresh": 2, "refresh_on_load": false, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" }, { "allValue": "(.*)", "current": { "selected": true, "text": [ "All" ], "value": [ "$__all" ] }, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(ontaps3_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\", svm=~\"$SVM\"}, bucket)", "hide": 0, "includeAll": true, "multi": true, "multiFormat": "glob", "name": "Bucket", "options": [], "query": { "query": "label_values(ontaps3_labels{datacenter=~\"$Datacenter\",cluster=~\"$Cluster\", svm=~\"$SVM\"}, bucket)", "refId": "StandardVariableQuery" }, "refresh": 2, "refresh_on_load": false, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "ONTAP: S3 Object Storage", "uid": "", "version": 1, "weekStart": "" }