I have a Problem in creating post action in panel plugin

Hi all i am new to grafana So needed community help and guidance.
Actually my requirement is as in the screenshot attached above you can see a button in panel display. when i click on it i need to invoke a bat file which performs installation of necessary prerequisites in the local or remote system .

So can you people suggest how can i achieve this and in which way i should carry forward?

Thanks
Akash L

Hi,

The best approach is to have the installer service as an API, for example :

  • Create an app that perform installation of whatever you want and expose rest api service.
  • Make your button call this API.

Hope it helps.