ref grafana/grafana-plugin-sdk-go#94 ref grafana/grafana-plugin-sdk-go#70 (cherry picked from commit b0407b35)