This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grafana iframe display within KIP
Like a few folk during lockdown I have been having great fun installing and configuring openplotter/signalk/kip/grafana/InfluxDB etc 

This is my first post to this site and I would be grateful for your help.

My setup.  OpenPlotter on RaspPi4.  Added InfluxDB/Grafana and successfully displaying graphs in Grafana and custom information in KIP. 
I would like to be able to display a grafana panel in KIP.   I believe I have configured grafana to permit embedding  
I have changed the grafana ini to 

allow_embedding = true
cookie_samesite = none

  • From Grafana panel I obtained the below URL

<iframe src="http://openplotter.local:3001/d-solo/RVSdfcggk/engine-and-weather-graphs?orgId=1&refresh=30s&from=1615817861678&to=1615818761678&panelId=12" width="450" height="200" frameborder="0"></iframe>
  • When I copy this URL into the KIP 'embed web component' and lock display I get the following displayed:
    Cannot GET /@mxtommy/kip/%3Ciframe%20src=%22http://openplotter.local:3001/d-solo/RVSdfcggk/engine-and-weather-graphs
  • If I copy the URL portion I obtained from Grafana into a browser window i see the correct grafana panel I want. 
http://openplotter.local:3001/d-solo/RVS...panelId=12" width="450" height="200" frameborder="0"

Would appreciate any suggestions, 

Many thanks!!
Hi, I had similar issues with this and I'll have to take a look as to how I resolved it but I think I did the same with the Grafana file and then I think I removed the iframe part and just used the URL.
Hi BoatingBaileys

I actually used your youtube channel to get as far as I did so huge thanks for those videos.
I've just tried the URL on its own without the iframe part and you are right it works.
I did however need to return cookie_samesite back to the default. When I had this set to 'None' I was unable to login to grafana on the local machine.

But great news.. I now have grafana graphs within KIP.

BTW: Looking forward to more inspiring youtube video's. Could I request a short video on the best Compass rose?

Many thanks!!

Forum Jump:

Users browsing this thread: 1 Guest(s)