cloudspout-button-panel icon indicating copy to clipboard operation
cloudspout-button-panel copied to clipboard

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

Open 1000stSheep opened this issue 4 years ago • 10 comments

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

1000stSheep avatar Apr 15 '21 19:04 1000stSheep

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.

haldi4803 avatar Oct 25 '21 20:10 haldi4803

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.

fire833 avatar Oct 29 '21 01:10 fire833

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

rodrigovegajaldin avatar Jun 08 '22 20:06 rodrigovegajaldin

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

fire833 avatar Jun 29 '22 00:06 fire833

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.

hitec-rthill avatar Jul 12 '22 06:07 hitec-rthill

+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.

JosiahWhite avatar Jul 14 '22 18:07 JosiahWhite

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

cdiamantis avatar Jun 08 '23 18:06 cdiamantis

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

otis95 avatar Jun 08 '23 18:06 otis95

Any update on this issue?

hsyhhssyy avatar Oct 15 '23 11:10 hsyhhssyy

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

otis95 avatar Oct 15 '23 11:10 otis95