cube-js/cube

Ability to monitor the websocket status & last message

Open

#4,015 建立於 2022年2月1日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Rust (1,965 fork)batch import
help wanted

倉庫指標

Star
 (19,563 star)
PR 合併指標
 (平均合併 5天 16小時) (30 天內合併 138 個 PR)

描述

Context: https://cube-js.slack.com/archives/CC0403RRR/p1642620249094800

When using the real-time websocket, there is no error handling available when the socket disconnects after the visual has been rendered. While the socket is disconnected, no new messages are published so rendered views will become stale without any error or update. Would like the ability to access the socket state (connected/connecting/error) as well as the last message to either handle errors in each visual, or render a general status component to show the health of the data on the screen.

貢獻者指南