I’m working on a proposal to introduce telemetry events for liveview clients, I have a prototype made for JS to send error and sourced map stacktrace to the socket, that would be expanded to general telemetry events that we know today, LVN is not ready yet, I wanted to drive the proposal with actual working POC for both.
There has been prior art to expand events:
https://elixirforum.com/t/feature-idea-measure-and-expose-socket-latency/46050 https://elixirforum.com/t/more-telemetry-events-for-liveview/59388/4
And this is my POC: Add ErrorChannel · Schultzer/phoenix_live_view@ddde333 · GitHub




















