my constellation is the following:
I’m running grafana + influx on a RPi3 together with a smarthome solution (openhab2).
What my system does:
- openhab stores data in the influxdb (=works)
- grafana can access and display these data and draws wonderful panels on a dashboard I defined (=works)
- when I “share” the panel (which means for me: embedding in some html pages which are being displayed in openhab, there are two ways to do so: Including the a) interactive chart or b) a rendered graphics on a html page on the same Raspberry, behind the same nginx reverse proxy.
And here start my troubles:
When I use the url which holds the interactive chart (eg in an iframe html tag on my openhab installation), everything is fine - in can see it in on my browser which displays a html page from the server (in an iframe).
But when I use to the url which should contain the generated image containing the chart in an image html tag, I only get a broken image. But when I use the url to a generated image locally on my browswer on my pc, then the image of the chart is being shown.
I neither found a error message in the nginx log, nor in the grafana log - and I still don’t know why it doesn’t work…