Bug #47634
openmgr/dashboard: Don't show RBD graphs when no data available
0%
Description
Currently, when Grafana has not been configured for the dashboard, information panels will be shown on various page in "Performance" tabs. Those contain a message saying that monitoring has not been enabled and provide a link to the documentation which describes how to enable monitoring.
When monitoring is enabled (a Grafana API URL has been set), though, the panels on the RBD page in the "Overall Performance" tab and on the per-RBD "Performance" tabs will be shown, although there's no data. This is because monitoring of RBD images needs to be enabled (on a per pool basis) first. Instead of showing these empty graphs, the backend should be consulted if monitoring for said RBD (better: the pool of the selected RBD) is enabled and show an information panel if that's not the case. This information panel should then contain instructions on how to enable monitoring for RBDs. That would currently be a CLI command
ceph config set mgr mgr/prometheus/rbd_stats_pools "pool1,pool2,poolN"
See the RBD IO statistics documentation chapter for more details.
Updated by Patrick Seidensal over 3 years ago
- Subject changed from mgr/dashboard: Improve RBD image monitoring user experience to mgr/dashboard: Don't show RBD graphs when no data available
Updated by Patrick Seidensal over 3 years ago
- Related to Bug #47635: mgr/dashboard: enable RBD monitoring through the dashboard added
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 148 to Monitoring