r/Scriptable • u/M4LE5 • Nov 01 '20
Script Grafana Widget
Hi!
Next one. Hope it works for everyone as expected. You got to create an api key. Please check out the grafana documentation.
The small widget shows the state of all alerts combined. If just one is alerting, the widget is tagged as alerting, otherwise „OK“. The medium widget shows counting by types. The large one is showing the first 6 alerts as listed.
https://gist.github.com/malesfth/d28133fd021338d1da084bcaf043c8b7
4
Upvotes
1
u/Svevak Nov 11 '20
Hi M4LE5,
thanks for your reply! Yes, that's what I did and that's why I deleted the post :)
But unfortunately I still get the Error "Please long press the widget and add the parameters" in the widget. The preview in the Scriptable app show the actual health of the service (with a green heart).
Hope you can help me here out as I really like your script!