Closed mountainash closed 1 year ago
In the future the ConfigEditor.tsx
<FormField
should be replaced by something like
<DataSourceHttpSettings
defaultUrl='wss://api.domain.io/v1/ws/'
dataSourceConfig={options}
onChange={onOptionsChange}
showForwardOAuthIdentityOption={false}
sigV4AuthToggleEnabled={false}
/>
But to do this it needs to handle a lot more connection options.
The plugin's backend code (go), looks fine. I cannot test it right now, but @chireia is taking care of the details with this PR.
Just make sure to build all the plugin, including the backend part, when testing it.
After a bit of digging I finally figured out how to properly use Grafana's provisioning (which was new to me). Your PR looks good to me. I'll be merging and deploying a new version to Grafana Cloud ASAP.
Thanks for your collaboration, Mr. @mountainash, you were the first 🥇🎉
Closes #22
Allows the "top-level" use of the standard configuration key
url: