SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
grafana: chart EC reconstruction and other unplotted metrics (#12406)
Chris Lu8f29e3883782
diff --git a/other/metrics/grafana_seaweedfs.json b/other/metrics/grafana_seaweedfs.jsonindex 9652c96c28..0c5f93d4e4 100644--- a/other/metrics/grafana_seaweedfs.json+++ b/other/metrics/grafana_seaweedfs.json@@ -1918,6 +1918,198 @@}],"pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Volume Growth Frozen",+ "description": "1 while volume growth is frozen after detected master state loss",+ "type": "timeseries",+ "id": 237,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 12,+ "y": 53+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "short",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "max by (cluster, instance) (SeaweedFS_master_volume_growth_frozen{cluster=~\"$cluster\"})",+ "range": true,+ "refId": "A",+ "legendFormat": "{{cluster}} {{instance}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Duplicate Volume IDs",+ "description": "Volume ids a master has flagged as registered under two different layouts since it started",+ "type": "timeseries",+ "id": 238,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 0,+ "y": 61+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "short",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (cluster, collection, volumeId) (max_over_time(SeaweedFS_master_duplicate_volume_ids{cluster=~\"$cluster\"}[$__range]))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{cluster}} {{collection}} {{volumeId}}"+ }+ ],+ "pluginVersion": "10.3.1"}]},@@ -4576,35 +4768,21 @@}],"pluginVersion": "10.3.1"- }- ]- },- {- "type": "row",- "title": "Filer",- "collapsed": true,- "id": 194,- "gridPos": {- "h": 1,- "w": 24,- "x": 0,- "y": 21- },- "panels": [+ },{"datasource": {"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Filer QPS",- "description": "",+ "title": "EC Intervals Reconstructed",+ "description": "Rate of EC interval reads served by reconstructing from other shards because the direct shard read failed; success means reconstruction produced data","type": "timeseries",- "id": 142,+ "id": 234,"gridPos": {"h": 8,"w": 12,"x": 0,- "y": 23+ "y": 134},"fieldConfig": {"defaults": {@@ -4644,7 +4822,7 @@}},"mappings": [],- "unit": "reqps",+ "unit": "ops","thresholds": {"mode": "absolute","steps": [@@ -4679,10 +4857,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum by (type) (rate(SeaweedFS_filer_request_total{cluster=~\"$cluster\"}[$__rate_interval]))",+ "expr": "sum by (result) (rate(SeaweedFS_volumeServer_ec_reconstructed_interval_total{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "{{type}}"+ "legendFormat": "{{result}}"}],"pluginVersion": "10.3.1"@@ -4692,15 +4870,797 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Filer Request Errors by code",- "description": "",+ "title": "Storage IO Errors",+ "description": "Rate of EIO errors on volume and EC shard reads/writes","type": "timeseries",- "id": 143,+ "id": 235,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 12,+ "y": 134+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "ops",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (instance) (rate(SeaweedFS_volumeServer_storage_io_error_total{cluster=~\"$cluster\"}[$__rate_interval]))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{instance}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "IO Quarantined Volumes / EC Shards",+ "description": "Volumes or EC shards quarantined after storage IO errors",+ "type": "timeseries",+ "id": 236,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 0,+ "y": 142+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "short",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (instance, kind) (SeaweedFS_volumeServer_io_quarantine{cluster=~\"$cluster\"})",+ "range": true,+ "refId": "A",+ "legendFormat": "{{instance}} {{kind}}"+ }+ ],+ "pluginVersion": "10.3.1"+ }+ ]+ },+ {+ "type": "row",+ "title": "Filer",+ "collapsed": true,+ "id": 194,+ "gridPos": {+ "h": 1,+ "w": 24,+ "x": 0,+ "y": 21+ },+ "panels": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Filer QPS",+ "description": "",+ "type": "timeseries",+ "id": 142,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 0,+ "y": 23+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "reqps",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (type) (rate(SeaweedFS_filer_request_total{cluster=~\"$cluster\"}[$__rate_interval]))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{type}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Filer Request Errors by code",+ "description": "",+ "type": "timeseries",+ "id": 143,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 12,+ "y": 23+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "reqps",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (code) (rate(SeaweedFS_filer_request_total{code!~\"2..\", cluster=~\"$cluster\"}[$__rate_interval]))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{code}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Filer Request Duration p99",+ "description": "",+ "type": "timeseries",+ "id": 144,+ "gridPos": {+ "h": 8,+ "w": 8,+ "x": 0,+ "y": 31+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "s",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{type}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Filer Request Duration p95",+ "description": "",+ "type": "timeseries",+ "id": 145,+ "gridPos": {+ "h": 8,+ "w": 8,+ "x": 8,+ "y": 31+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "s",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{type}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Filer Request Duration p50",+ "description": "",+ "type": "timeseries",+ "id": 146,+ "gridPos": {+ "h": 8,+ "w": 8,+ "x": 16,+ "y": 31+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "s",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "histogram_quantile(0.50, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{type}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "In-flight Requests",+ "description": "",+ "type": "timeseries",+ "id": 147,+ "gridPos": {+ "h": 8,+ "w": 8,+ "x": 0,+ "y": 39+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "short",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (type) (SeaweedFS_filer_in_flight_requests{cluster=~\"$cluster\"})",+ "range": true,+ "refId": "A",+ "legendFormat": "{{type}}"+ }+ ],+ "pluginVersion": "10.3.1"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "In-flight Uploads",+ "description": "",+ "type": "timeseries",+ "id": 148,"gridPos": {"h": 8,- "w": 12,- "x": 12,- "y": 23+ "w": 8,+ "x": 8,+ "y": 39},"fieldConfig": {"defaults": {@@ -4740,7 +5700,7 @@}},"mappings": [],- "unit": "reqps",+ "unit": "short","thresholds": {"mode": "absolute","steps": [@@ -4775,10 +5735,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum by (code) (rate(SeaweedFS_filer_request_total{code!~\"2..\", cluster=~\"$cluster\"}[$__rate_interval]))",+ "expr": "sum(SeaweedFS_filer_in_flight_upload_count{cluster=~\"$cluster\"})","range": true,"refId": "A",- "legendFormat": "{{code}}"+ "legendFormat": "count"}],"pluginVersion": "10.3.1"@@ -4788,15 +5748,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Filer Request Duration p99",+ "title": "In-flight Upload Bytes","description": "","type": "timeseries",- "id": 144,+ "id": 149,"gridPos": {"h": 8,"w": 8,- "x": 0,- "y": 31+ "x": 16,+ "y": 39},"fieldConfig": {"defaults": {@@ -4836,7 +5796,7 @@}},"mappings": [],- "unit": "s",+ "unit": "bytes","thresholds": {"mode": "absolute","steps": [@@ -4871,10 +5831,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "expr": "sum(SeaweedFS_filer_in_flight_upload_bytes{cluster=~\"$cluster\"})","range": true,"refId": "A",- "legendFormat": "{{type}}"+ "legendFormat": "bytes"}],"pluginVersion": "10.3.1"@@ -4884,15 +5844,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Filer Request Duration p95",- "description": "",+ "title": "Object Size Distribution",+ "description": "Size of newly-created objects","type": "timeseries",- "id": 145,+ "id": 150,"gridPos": {"h": 8,- "w": 8,- "x": 8,- "y": 31+ "w": 12,+ "x": 0,+ "y": 47},"fieldConfig": {"defaults": {@@ -4932,7 +5892,7 @@}},"mappings": [],- "unit": "s",+ "unit": "bytes","thresholds": {"mode": "absolute","steps": [@@ -4967,10 +5927,21 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "histogram_quantile(0.95, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_object_size_bytes_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))","range": true,"refId": "A",- "legendFormat": "{{type}}"+ "legendFormat": "p99"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "histogram_quantile(0.50, sum(rate(SeaweedFS_filer_object_size_bytes_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))",+ "range": true,+ "refId": "B",+ "legendFormat": "p50"}],"pluginVersion": "10.3.1"@@ -4980,15 +5951,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Filer Request Duration p50",+ "title": "Handler Calls","description": "","type": "timeseries",- "id": 146,+ "id": 151,"gridPos": {"h": 8,- "w": 8,- "x": 16,- "y": 31+ "w": 12,+ "x": 12,+ "y": 47},"fieldConfig": {"defaults": {@@ -5028,7 +5999,7 @@}},"mappings": [],- "unit": "s",+ "unit": "ops","thresholds": {"mode": "absolute","steps": [@@ -5063,7 +6034,7 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "histogram_quantile(0.50, sum(rate(SeaweedFS_filer_request_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, type))",+ "expr": "sum by (type) (rate(SeaweedFS_filer_handler_total{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A","legendFormat": "{{type}}"@@ -5076,15 +6047,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "In-flight Requests",+ "title": "Upload Errors","description": "","type": "timeseries",- "id": 147,+ "id": 152,"gridPos": {"h": 8,- "w": 8,+ "w": 12,"x": 0,- "y": 39+ "y": 55},"fieldConfig": {"defaults": {@@ -5124,7 +6095,7 @@}},"mappings": [],- "unit": "short",+ "unit": "reqps","thresholds": {"mode": "absolute","steps": [@@ -5159,10 +6130,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum by (type) (SeaweedFS_filer_in_flight_requests{cluster=~\"$cluster\"})",+ "expr": "sum by (code) (rate(SeaweedFS_upload_error_total{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "{{type}}"+ "legendFormat": "{{code}}"}],"pluginVersion": "10.3.1"@@ -5172,15 +6143,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "In-flight Uploads",- "description": "",+ "title": "Metadata Subscribers Stalled on Gap",+ "description": "Metadata subscribers parked waiting to read past a gap in the metadata log","type": "timeseries",- "id": 148,+ "id": 239,"gridPos": {"h": 8,- "w": 8,- "x": 8,- "y": 39+ "w": 12,+ "x": 12,+ "y": 55},"fieldConfig": {"defaults": {@@ -5255,10 +6226,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum(SeaweedFS_filer_in_flight_upload_count{cluster=~\"$cluster\"})",+ "expr": "sum by (instance, scope) (SeaweedFS_filer_subscribe_gap_stalled{cluster=~\"$cluster\"})","range": true,"refId": "A",- "legendFormat": "count"+ "legendFormat": "{{instance}} {{scope}}"}],"pluginVersion": "10.3.1"@@ -5268,15 +6239,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "In-flight Upload Bytes",- "description": "",+ "title": "Metadata Gap Crossings / Watermark Holds",+ "description": "Unproven gap crossings move past a log range without proof it was persisted; watermark holds wait for a peer to report progress","type": "timeseries",- "id": 149,+ "id": 240,"gridPos": {"h": 8,- "w": 8,- "x": 16,- "y": 39+ "w": 12,+ "x": 0,+ "y": 63},"fieldConfig": {"defaults": {@@ -5316,7 +6287,7 @@}},"mappings": [],- "unit": "bytes",+ "unit": "ops","thresholds": {"mode": "absolute","steps": [@@ -5351,10 +6322,21 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum(SeaweedFS_filer_in_flight_upload_bytes{cluster=~\"$cluster\"})",+ "expr": "sum by (scope) (rate(SeaweedFS_filer_subscribe_unproven_gap_crossings{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "bytes"+ "legendFormat": "unproven crossing {{scope}}"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "sum by (scope) (rate(SeaweedFS_filer_subscribe_watermark_holds{cluster=~\"$cluster\"}[$__rate_interval]))",+ "range": true,+ "refId": "B",+ "legendFormat": "watermark hold {{scope}}"}],"pluginVersion": "10.3.1"@@ -5364,15 +6346,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Object Size Distribution",- "description": "Size of newly-created objects",+ "title": "Meta Aggregator Replay Failures",+ "description": "Peer metadata events skipped after replay retries were exhausted, leaving that entry diverged from the peer","type": "timeseries",- "id": 150,+ "id": 241,"gridPos": {"h": 8,"w": 12,- "x": 0,- "y": 47+ "x": 12,+ "y": 63},"fieldConfig": {"defaults": {@@ -5412,7 +6394,7 @@}},"mappings": [],- "unit": "bytes",+ "unit": "ops","thresholds": {"mode": "absolute","steps": [@@ -5447,21 +6429,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_filer_object_size_bytes_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))",+ "expr": "sum by (instance, peer) (rate(SeaweedFS_filer_meta_aggregator_replay_failures{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "p99"- },- {- "datasource": {- "type": "prometheus",- "uid": "${DS_PROMETHEUS}"- },- "editorMode": "code",- "expr": "histogram_quantile(0.50, sum(rate(SeaweedFS_filer_object_size_bytes_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le))",- "range": true,- "refId": "B",- "legendFormat": "p50"+ "legendFormat": "{{instance}} <- {{peer}}"}],"pluginVersion": "10.3.1"@@ -5471,15 +6442,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Handler Calls",- "description": "",+ "title": "Remote Mount Cache Reads",+ "description": "Remote-mount object reads by source and cache result","type": "timeseries",- "id": 151,+ "id": 242,"gridPos": {"h": 8,"w": 12,- "x": 12,- "y": 47+ "x": 0,+ "y": 71},"fieldConfig": {"defaults": {@@ -5554,10 +6525,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum by (type) (rate(SeaweedFS_filer_handler_total{cluster=~\"$cluster\"}[$__rate_interval]))",+ "expr": "sum by (source, result) (rate(SeaweedFS_remote_cache_read_total{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "{{type}}"+ "legendFormat": "{{source}} {{result}}"}],"pluginVersion": "10.3.1"@@ -5567,15 +6538,15 @@"type": "prometheus","uid": "${DS_PROMETHEUS}"},- "title": "Upload Errors",- "description": "",+ "title": "Remote Mount Cache Evictions",+ "description": "Remote-mounted objects whose local chunks were evicted under disk pressure","type": "timeseries",- "id": 152,+ "id": 243,"gridPos": {"h": 8,"w": 12,- "x": 0,- "y": 55+ "x": 12,+ "y": 71},"fieldConfig": {"defaults": {@@ -5615,7 +6586,7 @@}},"mappings": [],- "unit": "reqps",+ "unit": "ops","thresholds": {"mode": "absolute","steps": [@@ -5650,10 +6621,10 @@"uid": "${DS_PROMETHEUS}"},"editorMode": "code",- "expr": "sum by (code) (rate(SeaweedFS_upload_error_total{cluster=~\"$cluster\"}[$__rate_interval]))",+ "expr": "sum by (instance) (rate(SeaweedFS_remote_cache_evicted_total{cluster=~\"$cluster\"}[$__rate_interval]))","range": true,"refId": "A",- "legendFormat": "{{code}}"+ "legendFormat": "{{instance}}"}],"pluginVersion": "10.3.1"@@ -6277,6 +7248,17 @@"range": true,"refId": "B","legendFormat": "{{sourceFiler}} -> {{targetFiler}} {{path}} processed"+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "rate(SeaweedFS_filerSync_failed_bytes_total{cluster=~\"$cluster\"}[$__rate_interval])",+ "range": true,+ "refId": "C",+ "legendFormat": "{{sourceFiler}} -> {{targetFiler}} {{path}} failed"}],"pluginVersion": "10.3.1"@@ -10630,6 +11612,102 @@"legendFormat": "reclaimed"}]+ },+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "title": "Detection Duration p99",+ "description": "p99 duration of a plugin worker detection sweep",+ "type": "timeseries",+ "id": 244,+ "gridPos": {+ "h": 8,+ "w": 12,+ "x": 0,+ "y": 64+ },+ "fieldConfig": {+ "defaults": {+ "color": {+ "mode": "palette-classic"+ },+ "custom": {+ "axisBorderShow": false,+ "axisCenteredZero": false,+ "axisColorMode": "text",+ "axisLabel": "",+ "axisPlacement": "auto",+ "barAlignment": 0,+ "drawStyle": "line",+ "fillOpacity": 10,+ "gradientMode": "none",+ "hideFrom": {+ "legend": false,+ "tooltip": false,+ "viz": false+ },+ "insertNulls": false,+ "lineInterpolation": "linear",+ "lineWidth": 1,+ "pointSize": 4,+ "scaleDistribution": {+ "type": "linear"+ },+ "showPoints": "never",+ "spanNulls": false,+ "stacking": {+ "group": "A",+ "mode": "none"+ },+ "thresholdsStyle": {+ "mode": "off"+ }+ },+ "mappings": [],+ "unit": "s",+ "thresholds": {+ "mode": "absolute",+ "steps": [+ {+ "color": "green",+ "value": null+ }+ ]+ }+ },+ "overrides": []+ },+ "options": {+ "legend": {+ "calcs": [+ "lastNotNull",+ "max"+ ],+ "displayMode": "table",+ "placement": "bottom",+ "showLegend": true+ },+ "tooltip": {+ "mode": "multi",+ "sort": "desc"+ }+ },+ "targets": [+ {+ "datasource": {+ "type": "prometheus",+ "uid": "${DS_PROMETHEUS}"+ },+ "editorMode": "code",+ "expr": "histogram_quantile(0.99, sum(rate(SeaweedFS_worker_detection_seconds_bucket{cluster=~\"$cluster\"}[$__rate_interval])) by (le, job_type))",+ "range": true,+ "refId": "A",+ "legendFormat": "{{job_type}}"+ }+ ],+ "pluginVersion": "10.3.1"}]},