Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Secure Socks Proxy: Add UI toggle to plugin-ui #76

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

stephaniehingtgen
Copy link
Contributor

@stephaniehingtgen stephaniehingtgen commented Jun 30, 2023

Background:
This PR add a UI toggle that will be used across all plugins as we go through enabling the use of the secure socks proxy to proxy datasource connections. Today, this toggle exists in all core and enterprise datasources, but we want to standardize the UI across all datasources.

The toggle should only appear when the Grafana instance is able to run the proxy and has it set up, i.e:

  • The Grafana instance is on at least Grafana 10.0.0
  • The instance has the feature enabled through the config.ini (via secure_socks_datasource_proxy.enabled). This value is passed to the runtime config here.

Demos:
Screenshot 2023-06-30 at 2 52 28 PM
Video
The corresponding wavefront code can be viewed here. Note: here the proxy is not set up locally to demonstrate how the backend changes when the proxy is toggled on vs off.

Other info:
Slack thread

Copy link
Contributor

@scottlepp scottlepp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Please change the version in package.json.

@stephaniehingtgen
Copy link
Contributor Author

Please change the version in package.json

Done!

@yesoreyeram yesoreyeram merged commit 64dfc6b into main Jul 7, 2023
1 check passed
@yesoreyeram yesoreyeram deleted the secure-socks-proxy-toggle branch July 7, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants