Project

General

Profile

Actions

Bug #47634

open

mgr/dashboard: Don't show RBD graphs when no data available

Added by Patrick Seidensal over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Monitoring
Target version:
-
% Done:

0%

Source:
Tags:
user-experience
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 1 (1 open0 closed)

Related to Dashboard - Bug #47635: mgr/dashboard: enable RBD monitoring through the dashboardNew

Actions
Actions #1

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
Actions #2

Updated by Patrick Seidensal over 3 years ago

  • Related to Bug #47635: mgr/dashboard: enable RBD monitoring through the dashboard added
Actions #3

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 148 to Monitoring
Actions

Also available in: Atom PDF