/grafana-remotepage-panel

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Grafana-remotepage-panel

Build

This template is a starting point for building Grafana Panel Plugins in Grafana 7.0+, this panel aimd at load remote page as a panel use iframe.

Features

  • variable expose - this will expose variables to affect the dashboard variable
     window.parent.postMessage({"key1":"v1","key2":"v2"},"*")
  • redirectUrl - you can trigger rediect from remote page use postMessage in remote page with 'forwardParam' key
    window.parent.postMessage({"forwardParam":"region=1"},"*")