Files
sbbb/base/monitoring/dashboards-storage.yaml
Sienna Meridian Satterwhite 74bb59cfdc feat: split Grafana dashboards into per-folder ConfigMaps
Replace monolithic dashboards-configmap.yaml with 10 dedicated files,
one per Grafana folder: Ingress, Observability, Infrastructure, Storage,
Identity, DevTools, Search, Media, La Suite, Communications.

New dashboards for Longhorn, PostgreSQL/CNPG, Cert-Manager, SeaweedFS,
Hydra, Kratos, Gitea, OpenSearch, LiveKit, La Suite golden signals
(Linkerd metrics), Matrix, and Email Pipeline.
2026-03-24 12:20:42 +00:00

164 lines
4.9 KiB
YAML

# Grafana dashboard ConfigMaps — Storage
---
apiVersion: v1
kind: ConfigMap
metadata:
name: grafana-dashboard-seaweedfs
namespace: monitoring
labels:
grafana_dashboard: "1"
annotations:
grafana_folder: "Storage"
data:
seaweedfs.json: |
{
"annotations": { "list": [] },
"editable": true,
"panels": [
{
"title": "Cluster Overview",
"type": "row",
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
"collapsed": false
},
{
"title": "Data Nodes",
"type": "stat",
"gridPos": { "h": 4, "w": 8, "x": 0, "y": 1 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "seaweedfs_master_data_nodes or count(up{job=~\".*seaweedfs-volume.*\"})",
"legendFormat": "nodes"
}
]
},
{
"title": "Total Volume Count",
"type": "stat",
"gridPos": { "h": 4, "w": 8, "x": 8, "y": 1 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "seaweedfs_master_volumes_count or sum(seaweedfs_volume_count)",
"legendFormat": "volumes"
}
]
},
{
"title": "Total Disk Free",
"type": "stat",
"gridPos": { "h": 4, "w": 8, "x": 16, "y": 1 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "sum(seaweedfs_disk_free_bytes)",
"legendFormat": "free"
}
],
"fieldConfig": { "defaults": { "unit": "bytes" } }
},
{
"title": "Volume Server",
"type": "row",
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 },
"collapsed": false
},
{
"title": "Read Rate",
"type": "timeseries",
"gridPos": { "h": 8, "w": 8, "x": 0, "y": 6 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "sum(rate(seaweedfs_volume_read_total[5m]))",
"legendFormat": "reads"
}
],
"fieldConfig": { "defaults": { "unit": "ops" } }
},
{
"title": "Write Rate",
"type": "timeseries",
"gridPos": { "h": 8, "w": 8, "x": 8, "y": 6 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "sum(rate(seaweedfs_volume_write_total[5m]))",
"legendFormat": "writes"
}
],
"fieldConfig": { "defaults": { "unit": "ops" } }
},
{
"title": "Disk Usage",
"type": "timeseries",
"gridPos": { "h": 8, "w": 8, "x": 16, "y": 6 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "seaweedfs_disk_used_bytes",
"legendFormat": "{{instance}}"
}
],
"fieldConfig": { "defaults": { "unit": "bytes" } }
},
{
"title": "Filer",
"type": "row",
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 },
"collapsed": false
},
{
"title": "Filer Request Rate",
"type": "timeseries",
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "sum(rate(seaweedfs_filer_request_total[5m])) by (type)",
"legendFormat": "{{type}}"
}
],
"fieldConfig": { "defaults": { "unit": "reqps" } }
},
{
"title": "Filer Latency p95",
"type": "timeseries",
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "histogram_quantile(0.95, sum(rate(seaweedfs_filer_request_duration_seconds_bucket[5m])) by (le))",
"legendFormat": "p95"
}
],
"fieldConfig": { "defaults": { "unit": "s" } }
},
{
"title": "S3 API",
"type": "row",
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 },
"collapsed": false
},
{
"title": "S3 Requests",
"type": "timeseries",
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 24 },
"datasource": { "uid": "prometheus" },
"targets": [
{
"expr": "sum(rate(seaweedfs_s3_request_total[5m])) by (bucket, method)",
"legendFormat": "{{bucket}} {{method}}"
}
],
"fieldConfig": { "defaults": { "unit": "reqps" } }
}
],
"schemaVersion": 39,
"tags": ["seaweedfs", "storage", "s3"],
"time": { "from": "now-1h", "to": "now" },
"title": "SeaweedFS",
"uid": "seaweedfs"
}