






















The Ceph Dashboard provides several performance metric views across different sections. This guide covers where to find key performance indicators and how to correlate dashboard metrics with CLI commands for deeper investigation.
The main Dashboard page shows:
kubectl -n rook-ceph port-forward svc/rook-ceph-mgr-dashboard 8443:8443
# Navigate to: https://localhost:8443/#/dashboardCLI equivalents for real-time stats:
# Real-time I/O stats
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph iostat 2
# Detailed cluster performance counters
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph perf dumpNavigate to Cluster > OSDs and click on an individual OSD for:
CLI equivalent:
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph osd perf
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
ceph tell osd.0 perf dump | python3 -m json.toolNavigate to Pools and click a pool name for:
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph osd pool statsThe Clients section (accessible from Dashboard > Clients) shows:
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
ceph tell mds.myfs-a perf dump | grep -i clientThe Ceph MGR Prometheus module exports metrics for long-term storage:
# Verify Prometheus module is enabled
kubectl -n rook-ceph exec deploy/rook-ceph-tools -- \
ceph mgr module ls | grep prometheus
# Access metrics endpoint
kubectl -n rook-ceph port-forward svc/rook-ceph-mgr 9283:9283
curl http://localhost:9283/metrics | grep -E "ceph_pool_(rd|wr)_bytes"Key Prometheus metrics to graph:
# Pool write throughput (bytes/s)
rate(ceph_pool_wr_bytes[5m])
# OSD apply latency p99 (across all OSDs)
quantile(0.99, ceph_osd_apply_latency_ms)
# Client IOPS
rate(ceph_pool_rd[5m]) + rate(ceph_pool_wr[5m])Import the Rook-Ceph Grafana dashboards:
kubectl -n rook-ceph port-forward svc/grafana 3000:3000
# Import dashboard ID 2842 - Ceph - OSD (Single)
# Import dashboard ID 5336 - Ceph - Pools
# Import dashboard ID 7845 - Ceph - ClusterCeph Dashboard performance metrics span the main overview (aggregate throughput/IOPS), per-OSD latency histograms, and per-pool throughput graphs. For historical analysis and custom alerting, pair the Dashboard with Prometheus and Grafana using the MGR Prometheus module endpoint. CLI commands like ceph iostat and ceph osd perf provide real-time equivalents for quick checks.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。