Project

General

Profile

Feature #38662

mgr/dashboard: Display helpful message if Grafana dashboards are embedded via plain HTTP and may be blocked by the browser

Added by Lenz Grimmer 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
dashboard/monitoring
Target version:
Start date:
03/11/2019
Due date:
% Done:

0%

Source:
Tags:
grafana, usability
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

From the dashboard documentation:

Ceph Dashboard embeds the Grafana dashboards via iframe HTML elements. If Grafana is configured without SSL/TLS support, most browsers will block the embedding of insecure content into a secured web page, if the SSL support in the dashboard has been enabled (which is the default configuration). If you can’t see the embedded Grafana dashboards after enabling them as outlined above, check your browser’s documentation on how to unblock mixed content. Alternatively, consider enabling SSL/TLS support in Grafana.

It would probably make sense for the dashboard to display a similar message, if the setting grafana-api-url begins with http:// and SSL is enabled on the dashboard.
It should be possible to disable/hide this message, if the user can or does not want to change the Grafana SSL configuration (and disables the security precaution in the browser instead).

Also available in: Atom PDF