How to add grafana proxy to my external URI?

As i’m new to grafana plugin developmenet.
I’m developing datasource plugin, when hit my external URI i’m getting 404 and CROS issues. But when i use DataSourceHttpSettings componenet i can able to access my url.
My question how to add proxy without DataSourceHttpSettings.
Please help to find this issue.

The proxy uses the instanceSettings.url property, so you should be able to set it manually. Haven’t tried this myself though.

(Note that it’s instanceSettings.url, and not instanceSettings.jsonData.url)

1 Like

Thank you Marcusolsson, should i add the instanceSetting.url+myExternalAPI.
it will be good if you proivde an example.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.