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

Add possibility to send REST call via Grafana server (like datasources can) #52

Open
1000stSheep opened this issue Apr 15, 2021 · 10 comments

Comments

@1000stSheep
Copy link

Thanks for your work to create that plugin. Really helpful.

As far as i can see, the REST calls are only direct HTTP queries from browser to target server.
But sometimes the target server might not be reachable from browser, but only from Grafana server.

Unfortunately this is the case for my scenario (grafana server is dual homed).
However queries to the datasources can already be "proxied" via Grafana server (at least InfluxDB).

I would find such a option for your plugin very useful and appreciate such a feature.
I think this could be useful for others too.

Using:
cloudspout-button-panel 7.0.23
Grafana v7.3.4

@haldi4803
Copy link

I second this!

My usecase is. I wan't to controle a device in my WiFi, but i don't want to make it accessible from outside. But if the command comes from the Grafana server then you would need to login first, from anywhere outside.

@fire833
Copy link

fire833 commented Oct 29, 2021

I am working on creating an API proxy plugin to allow for API proxying server-side and hopefully do what you are asking. I think I am going to make the backend plugin separate, but then add to my current PR on this repo to allow for it to call those server-side endpoints so Grafana makes the call instead of the browser.

@rodrigovegajaldin
Copy link

@fire833, do you have some news about your plugin??

@fire833
Copy link

fire833 commented Jun 29, 2022

Sorry for delay, it is currently done, life has just been in the way and have been unable to publish it yet.

@hitec-rthill
Copy link

I have similar issue as already described by the original author and would like to use your button plugin to proof of concept a solution. Do you have already code submitted in a branch that I could use to conduct my PoC. I may also help on this topic for testing and feature changes.

@JosiahWhite
Copy link

+1 on this, I am looking to use this button, but I'd like to lock access behind the Grafana instance instead of needing to make it public.

@cdiamantis
Copy link

Hello,
It's been one year since the last comment. It is stated that this is implemented.
Will the build ever land?

@otis95
Copy link

otis95 commented Jun 8, 2023 via email

@hsyhhssyy
Copy link

Any update on this issue?

@otis95
Copy link

otis95 commented Oct 15, 2023 via email

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

No branches or pull requests

9 participants