I want to run my own simple webrtc signaling websocket server at one of the resource handlers urls, for example at /api/plugins/my-app/resources/ws .
I do succeed running separate goroutine with http.ListenAndServe at custom port with my websocket handler, but I guess it would better to use api resource handler for my app plugin.
Could someone please point me to a Grafana sourcecode where and why it strips connection headers for resource handlers and advice if it is technically possible to open custom websocket connections (other than grafana live) for my app plugin resource handlers?
What you can do if you don’t want to use Grafana live streaming, is to use the datasource proxy. Then you’ll need to convert proxy url to ws:// scheme, examples
Then you can use that url to connect to websocket over Grafana’s datasource proxy.