'Grafana IFRAME panel autorefresh
I'm currently getting into grafana. I've been trying to embed a panel using an iframe in html. Supposedly by adding ?refresh=5s to the link of a panel should make it refresh/update every five seconds. In practice however it seems that within an iframe this doesn't update.
<iframe id="test" src="http://localhost:3000/d-solo/uniqueID/alarms?panelId=2&from=now-3h&refresh=5s" width="900" height="400"/>
The panel/iframe above doesn't auto update. However if I were to click the link it, it then refers me to a page with only that given panel and it does auto refresh/update. Is there anyone who has faced this issue before?
Any help would be greatly appreciated. Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
