It provides a simple Grafana 7.x panel that shows only one button - to integrate with any kind of HTTP/REST API:
GET
and POST
HTTP verb
POST
requests via syntax-highlighiting editor$variableName
in
⚠️ Please note: ⚠️
Due to the Grafana API & security restrictions in modern browsers the following must be considered before using Basic Auth:
OPTIONS
request performed by the browser before the actual GET
/POST
requiest is issuedAccess-Control-Allow-Credentials: true
header Access-Control-Allow-Origin
header.
No wildcards are allowed if credentials are used!These limitations are inherent and canot be fixed or addressed by the plugin!
Use Basic Auth only if these limitations are acceptable!
Via the Grafana CLI:
$ grafana-cli --pluginUrl https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.23/cloudspout-button-panel.zip \
plugins install cloudspout-button-panel
Use Grafana's environment variable to add this plugin to your installation:
$ docker run -p 3000:3000 -it \
-e "GF_INSTALL_PLUGINS=https://github.com/cloudspout/cloudspout-button-panel/releases/download/7.0.23/cloudspout-button-panel.zip;cloudspout-button-panel" \
grafana/grafana:7.3.1
Thanks goes to these wonderful people (emoji key):
raúl 🤔 💻 |
Jorge Villada 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT
Icons made by Pixel perfect from www.flaticon.com.
ButtonPayloadEditor
highly influenced from gapitio/gapit-htmlgraphics-panel.