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

Open ssh tunnel with a free port on local pc to grafana #263

Closed
Tracked by #231
stefa2k opened this issue May 11, 2022 · 0 comments · Fixed by #308
Closed
Tracked by #231

Open ssh tunnel with a free port on local pc to grafana #263

stefa2k opened this issue May 11, 2022 · 0 comments · Fixed by #308
Assignees
Milestone

Comments

@stefa2k
Copy link
Member

stefa2k commented May 11, 2022

Open a ssh tunnel when the user wants to access a service (plugin) with a UI. Doing this with Grafana first to.

  1. Look for a free port on the local machine within a port range (e. g. 9000 to 9999) and pick one
  2. Look for the Grafana port in the configuration
  3. Then open the ssh tunnel (free local port -> grafana remote port).
  4. A local browser then needs to be able to connect to Grafana

For a JS integration test it's enough to test if Grafana is responding on the port (http status code 200).

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 a pull request may close this issue.

2 participants