Grafana Live Websocket

What happened :
I’m trying to listen on the websocket for updates from grafana live to have a trigger when anything changes at any dashboard in the grafana. Cause of that I wanted to connect myself to the new Grafana Live Socket from a bash. I imported the websocket library and connected to “/api/live/ws”. Now if I try to “.send()” something then there is just a random int as a return value. And if I try to “.recv()” something the connection is lost after the second time.

Isn’t that the correct path to the websocket or is there another way to get these events easier?

Environment :

  • Grafana version: Grafana v.8.3.3
  • Data source type & version: JSON API
  • User OS: Ubuntu (installed as a docker container)
1 Like