I have a grafana instance running in docker. I made my dashboards, with succes. The purpose is to EMBED these dashboards in a website.
Unfortunately, the EMBED function is not available in my grafana instance. After doing some research, it seems that I need to ENABLE the embed function in the grafana.ini file.
I went to my ssh console, connected to my docker, and tried to edit the grafana.ini using vi.
After completing the necessary edits in grafana.ini, I got the message that grafana.ini is in read-only mode. I’vve been trying to change the file permissions like a hundred times, but still no luck.
Can someone help me making grafana.ini not read-only ? This is a basic installation and somehow it should be possible to make changes to the ini file, not ?
I know this is probably rather a ubuntu/linux question, but I still hope to get an answer from my favorite forum
So I seem to recall experiencing a similar issue when modifying the .ini file, and I cannot recall exactly how I got around it. Are you definitely logged in as a root user? (or does that concept not even apply to docker, which I admittedly have no experience with). Maybe try using something other than vi to edit / save the file?
I think you have touched on a “sensitive” issue and I doubt you will get any joy as from what I gathered GRAFANA do not favour embedding dashboards and will simply cold-shoulder you.
There are several posts on the embed a dashboard issues and all come to naught.
I have tried and there are authetication issues when using an iFrame. It wants you to login and when do it just revert to the login page. If you use kiosk mode it works but then one may simply bypass and get back to your root account and see and edit all your dashboards!
I believe the effort to resolve all this had led to it being put on the back burner and now just ignored.
Like you, (I think), I thought oh it would be great to just embed the dashboard and set it to allow just access to that particular dashboard and allow view-only access and maybe allow data download, but found otherwise!
I might be wrong but I do not have time to try more than what is on the help.
One may however happily embed PANELS as shown below