{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "NFS Prometheus Dashboard", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 6257, "graphTooltip": 0, "id": 30, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "Request rate per 5m", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 0 }, "id": 243, "links": [], "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "disableTextWrap": false, "editorMode": "code", "expr": "sum by (instance) (rate(node_nfs_requests_total{instance=~\"$node\", job=~\"$job\", proto=\"4\"}[5m]))", "format": "time_series", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "intervalFactor": 1, "legendFormat": "{{instance}}", "range": true, "refId": "C", "step": 240, "useBackend": false } ], "title": "NFS Requests by instance", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "Request rate per 5m", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "Connections", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 10, "w": 24, "x": 0, "y": 10 }, "id": 267, "links": [], "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "disableTextWrap": false, "editorMode": "code", "expr": "sum by (method) (rate(node_nfs_requests_total{instance=~\"$node\", job=~\"$job\", proto=\"4\"}[5m]))", "format": "time_series", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "intervalFactor": 1, "legendFormat": "{{method}}", "range": true, "refId": "C", "step": 240, "useBackend": false } ], "title": "NFS Requests by method", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "hue", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 10, "w": 12, "x": 0, "y": 20 }, "id": 268, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "bottom", "showLegend": true, "sortBy": "Last *", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "disableTextWrap": false, "editorMode": "code", "expr": "100 - (node_filesystem_avail_bytes{instance=~\"$node\", job=\"$job\", fstype=\"nfs4\"} * 100 / node_filesystem_size_bytes{instance=~\"$node\", job=\"$job\", fstype=\"nfs4\"})", "format": "time_series", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "intervalFactor": 1, "legendFormat": "{{instance}} {{device}}", "range": true, "refId": "C", "step": 240, "useBackend": false } ], "title": "NFS Mounts Usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "description": "", "fieldConfig": { "defaults": { "color": { "fixedColor": "blue", "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "hue", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 10, "w": 12, "x": 12, "y": 20 }, "id": 269, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "bottom", "showLegend": true, "sortBy": "Last *", "sortDesc": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "10.1.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "disableTextWrap": false, "editorMode": "code", "expr": "node_filesystem_device_error{instance=~\"$node\", job=\"$job\", fstype=\"nfs4\"}", "format": "time_series", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "intervalFactor": 1, "legendFormat": "{{instance}} {{device}}", "range": true, "refId": "C", "step": 240, "useBackend": false } ], "title": "NFS Mounts Errors", "type": "timeseries" } ], "refresh": "5m", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "node", "value": "node" }, "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "definition": "", "hide": 2, "includeAll": false, "label": "Job", "multi": false, "name": "job", "options": [], "query": "label_values(node_boot_time_seconds, job)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": true, "text": [], "value": [] }, "datasource": { "type": "prometheus", "uid": "yPhvsDP7k" }, "definition": "", "hide": 0, "includeAll": true, "label": "Host:", "multi": true, "name": "node", "options": [], "query": "label_values(node_boot_time_seconds{job=~\"$job\"}, instance)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "NFS", "uid": "cc0d5bef-8b9d-47df-8be7-cf75c3efeece", "version": 12, "weekStart": "" }