Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Usage of iFrame from Grafana doesn't show up in Confluence page

Pramod Chevva January 21, 2021

When I try to use to embed Grafana Dashboard into Confluence I get a blank screen. The iFrame doesn't seem to show up to public view, though the Dashboard is public. 

1 answer

0 votes
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 21, 2021

Hi @Pramod Chevva 

In order to add an iFrame in a Confluence page you will need to check if the source application (which is providing the Grafana dashboard in your case) has a configuration to prevent Clickjacking attacks.

This is explained in this Confluence KB:

Please note that some sites do not work in an iframe. These have cross scripting protection in their headers. For example, Google has

x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block

If these (or similar) are present in the response from the website, then you will not be able to display them in an iframe. Both Google and Facebook are two examples of this.

 

Some applications allow this configuration to be modified or completely disabled.
Talk to the administrator of the source application.

 

Kind regards
Thiago Masutti

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events