Grafana iframe display within KIP - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2) +--- Thread: Grafana iframe display within KIP (/showthread.php?tid=3336) |
Grafana iframe display within KIP - pjsf1000 - 2021-03-15 Hi 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
<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>
Would appreciate any suggestions, Many thanks!! Peter RE: Grafana iframe display within KIP - Boatingbaileys - 2021-03-16 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. RE: Grafana iframe display within KIP - pjsf1000 - 2021-03-16 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!! |