apiVersion: v1 kind: ConfigMap metadata: name: persistent-volumes namespace: prometheus labels: grafana_dashboard: "1" annotations: grafana_folder: Kubernetes data: persistent-volumes.json: |- { "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "limit": 100, "name": "Annotations & Alerts", "showIn": 0, "type": "dashboard" } ] }, "description": "Monitors all persistent volumes that exists within a Kubernetes cluster. Prometheus is used as datasource. ", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 13646, "graphTooltip": 0, "id": 48, "links": [], "panels": [ { "collapsed": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 26, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "refId": "A" } ], "title": "Alerts", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-orange", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 0, "y": 1 }, "id": 22, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 2 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs Full in 2 days - Based on Daily Usage", "transformations": [ { "id": "organize", "options": {} } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-orange", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 8, "y": 1 }, "id": 28, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 5 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs Full in 5 days - Based on Daily Usage", "transformations": [ { "id": "organize", "options": {} } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-orange", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 16, "y": 1 }, "id": 27, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "(\n count (\n (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"})\n and\n (predict_linear(kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}[1d], 7 * 24 * 60 * 60) < 0)\n )\n)\nor\nvector(0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs Full in 1 Week - Based on Daily Usage", "transformations": [ { "id": "organize", "options": {} } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-red", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-red", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 0, "y": 5 }, "id": 21, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "count (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"} ) and (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"} )) / (max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"} )) >= (${warning_threshold} / 100)) or vector (0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs Above Warning Threshold", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-red", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-red", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 8, "y": 5 }, "id": 24, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "count((kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=\"Pending\"}==1)) or vector(0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs in Pending State", "transformations": [ { "id": "organize", "options": {} } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "semi-dark-red", "value": null }, { "color": "light-green", "value": -0.0001 }, { "color": "semi-dark-red", "value": 0.0001 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 8, "x": 16, "y": 5 }, "id": 23, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "count((kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=\"Lost\"}==1)) or vector(0)", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "PVCs in Lost State", "transformations": [ { "id": "organize", "options": {} } ], "type": "stat" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 }, "id": 17, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "refId": "A" } ], "title": "Usage statistics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "mappings": [], "noValue": "--", "thresholds": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null } ] }, "unit": "none" }, "overrides": [ { "matcher": { "id": "byName", "options": "Used (%)" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "gauge" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null }, { "color": "semi-dark-yellow", "value": 70 }, { "color": "dark-red", "value": 80 } ] } }, { "id": "decimals", "value": 1 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "mappings", "value": [ { "options": { "0": { "text": "Bound" }, "1": { "text": "Pending" }, "2": { "text": "Lost" } }, "type": "value" } ] }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "light-green", "value": null }, { "color": "light-green", "value": 0 }, { "color": "semi-dark-orange", "value": 1 }, { "color": "semi-dark-red", "value": 2 } ] } }, { "id": "noValue", "value": "--" }, { "id": "custom.align", "value": "center" } ] }, { "matcher": { "id": "byName", "options": "Namespace" }, "properties": [ { "id": "custom.width", "value": 120 } ] }, { "matcher": { "id": "byName", "options": "Status" }, "properties": [ { "id": "custom.width", "value": 80 } ] }, { "matcher": { "id": "byName", "options": "Capacity (GiB)" }, "properties": [ { "id": "custom.width", "value": 120 } ] }, { "matcher": { "id": "byName", "options": "Used (GiB)" }, "properties": [ { "id": "custom.width", "value": 120 } ] }, { "matcher": { "id": "byName", "options": "Available (GiB)" }, "properties": [ { "id": "custom.width", "value": 120 } ] }, { "matcher": { "id": "byName", "options": "StorageClass" }, "properties": [ { "id": "custom.width", "value": 150 } ] }, { "matcher": { "id": "byName", "options": "PersistentVolumeClaim" }, "properties": [ { "id": "custom.width", "value": 370 } ] } ] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 10 }, "id": 29, "interval": "", "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "frameIndex": 2, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Used (%)" } ] }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": " sum by (persistentvolumeclaim,namespace,storageclass,volumename) (kube_persistentvolumeclaim_info{namespace=~\"${k8s_namespace}\"})", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_available_bytes{namespace=~\"${k8s_namespace}\"}/1024/1024/1024)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum(kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=~\"(Pending|Lost)\"}) by (persistentvolumeclaim) + sum(kube_persistentvolumeclaim_status_phase{namespace=~\"${k8s_namespace}\",phase=~\"(Lost)\"}) by (persistentvolumeclaim)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "sum by (persistentvolumeclaim) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}/kubelet_volume_stats_capacity_bytes{namespace=~\"${k8s_namespace}\"} * 100)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "F" } ], "title": "Persistent Volume Claim", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "persistentvolumeclaim" } }, { "id": "organize", "options": { "excludeByName": { "Time": true, "Time 1": true, "Time 2": true, "Time 3": true, "Time 4": true, "Time 5": true, "Time 6": true, "Value #A": true }, "indexByName": {}, "renameByName": { "Time 1": "", "Time 2": "", "Time 3": "", "Time 4": "", "Time 5": "", "Time 6": "", "Value #A": "", "Value #B": "Capacity (GiB)", "Value #C": "Used (GiB)", "Value #D": "Available (GiB)", "Value #E": "Status", "Value #F": "Used (%)", "namespace": "Namespace", "persistentvolumeclaim": "PersistentVolumeClaim", "storageclass": "StorageClass", "volumename": "PhysicalVolume" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "custom": { "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 24, "x": 0, "y": 22 }, "id": 7, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Status" } ] }, "pluginVersion": "11.2.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "kube_storageclass_info", "format": "table", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Storage Class", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "__name__": true, "app_kubernetes_io_instance": true, "app_kubernetes_io_name": true, "instance": true, "job": true, "kubernetes_namespace": true, "kubernetes_pod_name": true, "pod_template_hash": true }, "indexByName": { "Time": 1, "Value": 13, "__name__": 2, "app_kubernetes_io_instance": 3, "app_kubernetes_io_name": 4, "instance": 5, "job": 6, "kubernetes_namespace": 7, "kubernetes_pod_name": 8, "pod_template_hash": 9, "provisioner": 10, "reclaimPolicy": 11, "storageclass": 0, "volumeBindingMode": 12 }, "renameByName": { "provisioner": "Provisioner", "reclaimPolicy": "ReclaimPolicy", "storageclass": "StorageClass", "volumeBindingMode": "VolumeBindingMode" } } }, { "id": "groupBy", "options": { "fields": { "Provisioner": { "aggregations": [], "operation": "groupby" }, "ReclaimPolicy": { "aggregations": [], "operation": "groupby" }, "StorageClass": { "aggregations": [], "operation": "groupby" }, "VolumeBindingMode": { "aggregations": [], "operation": "groupby" } } } } ], "type": "table" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, "id": 15, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "refId": "A" } ], "title": "Graphical usage data ", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "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": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 28 }, "id": 9, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "pluginVersion": "7.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "(max by (persistentvolumeclaim,namespace) (kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}))", "interval": "", "legendFormat": "{{`{{namespace}}`}} ({{`{{persistentvolumeclaim}}`}})", "refId": "A" } ], "title": "All Running PVCs Used Bytes", "type": "timeseries" }, { "collapsed": true, "datasource": { "type": "prometheus", "uid": "prometheus" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 40 }, "id": 19, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 41 }, "hiddenSeries": false, "id": 11, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.1", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1h])", "instant": false, "interval": "", "legendFormat": "{{`{{namespace}}`}} ({{`{{persistentvolumeclaim}}`}})", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Hourly Volume Usage Rate", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "binBps", "logBase": 1, "show": true }, { "format": "Date & time", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 48 }, "hiddenSeries": false, "id": 12, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.1", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1d])", "interval": "", "legendFormat": "{{`{{namespace}}`}} ({{`{{persistentvolumeclaim}}`}})", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Daily Volume Usage Rate", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "binBps", "logBase": 1, "show": true }, { "format": "Date & time", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "prometheus" }, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 55 }, "hiddenSeries": false, "id": 13, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.2.1", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "expr": "rate(kubelet_volume_stats_used_bytes{namespace=~\"${k8s_namespace}\"}[1w])", "instant": false, "interval": "", "legendFormat": "{{`{{namespace}}`}} ({{`{{persistentvolumeclaim}}`}})", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Weekly Volume Usage Rate", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "binBps", "logBase": 1, "show": true }, { "format": "Date & time", "logBase": 1, "show": true } ], "yaxis": { "align": false } } ], "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "refId": "A" } ], "title": "Usage Rate", "type": "row" } ], "refresh": "1m", "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "Prometheus", "value": "prometheus" }, "hide": 0, "includeAll": false, "label": "Datasource", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": ".*", "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "prometheus" }, "definition": "label_values(namespace)", "hide": 0, "includeAll": true, "label": "Namespace", "multi": true, "name": "k8s_namespace", "options": [], "query": "label_values(namespace)", "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": false, "text": "80", "value": "80" }, "hide": 2, "label": "PVC % Used Warning Threshold", "name": "warning_threshold", "options": [ { "selected": true, "text": "80", "value": "80" } ], "query": "80", "skipUrlSync": false, "type": "textbox" } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "kubernetes-persistent-volumes", "uid": "peR80gTGk", "version": 1, "weekStart": "" }